Class IgbShapeDataSource
Class used to convert Shapefiles into CLR objects.
Inheritance
System.Object
IgbShapeDataSource
Assembly: IgniteUI.Blazor.dll
Syntax
public class IgbShapeDataSource : BaseRendererElement, JsonSerializable
Constructors
IgbShapeDataSource()
Declaration
public IgbShapeDataSource()
Properties
ComputedWorldRect
Gets the world bounding rectangle, based on the filtered shapes
Declaration
public Rect ComputedWorldRect { get; set; }
Property Value
DatabaseSource
The Uri of the .dbf portion of the Shapefile.
Declaration
public string DatabaseSource { get; set; }
Property Value
| Type |
Description |
| System.String |
|
DeferImportCompleted
The Uri of the .shp portion of the Shapefile.
Declaration
public bool DeferImportCompleted { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
Filter
Declaration
public EventCallback<IgbShapeFilterRecordEventArgs> Filter { get; set; }
Property Value
FilterScript
Declaration
public string FilterScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ImportCompleted
Declaration
public EventCallback<IgbAsyncCompletedEventArgs> ImportCompleted { get; set; }
Property Value
ImportCompletedScript
Declaration
public string ImportCompletedScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ImportPending
Declaration
public EventCallback<IgbAsyncCompletedEventArgs> ImportPending { get; set; }
Property Value
ImportPendingScript
Declaration
public string ImportPendingScript { get; set; }
Property Value
| Type |
Description |
| System.String |
|
ShapefileSource
The Uri of the .shp portion of the Shapefile.
Declaration
public string ShapefileSource { get; set; }
Property Value
| Type |
Description |
| System.String |
|
Type
Declaration
public override string Type { get; }
Property Value
| Type |
Description |
| System.String |
|
Overrides
WorldRect
Gets the world bounding rectangle, as read from the header of the Shapefile.
Declaration
public Rect WorldRect { get; set; }
Property Value
Methods
FindByName(String)
Declaration
public override object FindByName(string name)
Parameters
| Type |
Name |
Description |
| System.String |
name |
|
Returns
| Type |
Description |
| System.Object |
|
Overrides
GetLargestShapeBoundsForRecord(Int32)
Declaration
public Rect GetLargestShapeBoundsForRecord(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
GetLargestShapeBoundsForRecordAsync(Int32)
Declaration
public Task<Rect> GetLargestShapeBoundsForRecordAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Rect> |
|
GetMaxLongitude(Int32, Boolean, Double, Double)
Declaration
public double GetMaxLongitude(int recordIndex, bool useLargestShape, double fromLongitude, double toLongitude)
Parameters
| Type |
Name |
Description |
| System.Int32 |
recordIndex |
|
| System.Boolean |
useLargestShape |
|
| System.Double |
fromLongitude |
|
| System.Double |
toLongitude |
|
Returns
| Type |
Description |
| System.Double |
|
GetMaxLongitudeAsync(Int32, Boolean, Double, Double)
Declaration
public Task<double> GetMaxLongitudeAsync(int recordIndex, bool useLargestShape, double fromLongitude, double toLongitude)
Parameters
| Type |
Name |
Description |
| System.Int32 |
recordIndex |
|
| System.Boolean |
useLargestShape |
|
| System.Double |
fromLongitude |
|
| System.Double |
toLongitude |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Double> |
|
GetRecord(Int32)
Declaration
public IgbShapefileRecord GetRecord(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
GetRecordAsync(Int32)
Declaration
public Task<IgbShapefileRecord> GetRecordAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
GetRecordBounds(Int32)
Declaration
public Rect GetRecordBounds(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
GetRecordBoundsAsync(Int32)
Declaration
public Task<Rect> GetRecordBoundsAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Rect> |
|
GetRecordFieldNames(Int32)
Declaration
public string[] GetRecordFieldNames(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.String[] |
|
GetRecordFieldNamesAsync(Int32)
Declaration
public Task<string[]> GetRecordFieldNamesAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.String[]> |
|
GetRecordsCount()
Declaration
public int GetRecordsCount()
Returns
| Type |
Description |
| System.Int32 |
|
GetRecordsCountAsync()
Declaration
public Task<int> GetRecordsCountAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Int32> |
|
GetRecordValue(Int32, String)
Declaration
public object GetRecordValue(int index, string fieldName)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
fieldName |
|
Returns
| Type |
Description |
| System.Object |
|
GetRecordValueAsync(Int32, String)
Declaration
public Task<object> GetRecordValueAsync(int index, string fieldName)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
fieldName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Object> |
|
GetRecordValues(String)
Declaration
public object[] GetRecordValues(string fieldName)
Parameters
| Type |
Name |
Description |
| System.String |
fieldName |
|
Returns
| Type |
Description |
| System.Object[] |
|
GetRecordValuesAsync(String)
Declaration
public Task<object[]> GetRecordValuesAsync(string fieldName)
Parameters
| Type |
Name |
Description |
| System.String |
fieldName |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<System.Object[]> |
|
GetWorldBounds(Boolean)
Declaration
public Rect GetWorldBounds(bool useComputed)
Parameters
| Type |
Name |
Description |
| System.Boolean |
useComputed |
|
Returns
GetWorldBoundsAsync(Boolean)
Declaration
public Task<Rect> GetWorldBoundsAsync(bool useComputed)
Parameters
| Type |
Name |
Description |
| System.Boolean |
useComputed |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Rect> |
|
RemoveRecord(Int32)
Declaration
public void RemoveRecord(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
RemoveRecordAsync(Int32)
Declaration
public Task RemoveRecordAsync(int index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SendImportCompleted()
Declaration
public void SendImportCompleted()
SendImportCompletedAsync()
Declaration
public Task SendImportCompletedAsync()
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SetRecordValue(Int32, String, Object)
Declaration
public void SetRecordValue(int index, string fieldName, object value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
fieldName |
|
| System.Object |
value |
|
SetRecordValueAsync(Int32, String, Object)
Declaration
public Task SetRecordValueAsync(int index, string fieldName, object value)
Parameters
| Type |
Name |
Description |
| System.Int32 |
index |
|
| System.String |
fieldName |
|
| System.Object |
value |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SetRecordValues(String, Object[])
Declaration
public void SetRecordValues(string fieldName, object[] values)
Parameters
| Type |
Name |
Description |
| System.String |
fieldName |
|
| System.Object[] |
values |
|
SetRecordValuesAsync(String, Object[])
Declaration
public Task SetRecordValuesAsync(string fieldName, object[] values)
Parameters
| Type |
Name |
Description |
| System.String |
fieldName |
|
| System.Object[] |
values |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
SetWorldBounds(Boolean, Rect)
Declaration
public void SetWorldBounds(bool setComputed, Rect bounds)
Parameters
| Type |
Name |
Description |
| System.Boolean |
setComputed |
|
| Rect |
bounds |
|
SetWorldBoundsAsync(Boolean, Rect)
Declaration
public Task SetWorldBoundsAsync(bool setComputed, Rect bounds)
Parameters
| Type |
Name |
Description |
| System.Boolean |
setComputed |
|
| Rect |
bounds |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ShiftAllShapes(Double, Double)
Declaration
public void ShiftAllShapes(double offsetX, double offsetY)
Parameters
| Type |
Name |
Description |
| System.Double |
offsetX |
|
| System.Double |
offsetY |
|
ShiftAllShapesAsync(Double, Double)
Declaration
public Task ShiftAllShapesAsync(double offsetX, double offsetY)
Parameters
| Type |
Name |
Description |
| System.Double |
offsetX |
|
| System.Double |
offsetY |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
ShiftShapes(Int32, Double, Double)
Declaration
public void ShiftShapes(int recordIndex, double offsetX, double offsetY)
Parameters
| Type |
Name |
Description |
| System.Int32 |
recordIndex |
|
| System.Double |
offsetX |
|
| System.Double |
offsetY |
|
ShiftShapesAsync(Int32, Double, Double)
Declaration
public Task ShiftShapesAsync(int recordIndex, double offsetX, double offsetY)
Parameters
| Type |
Name |
Description |
| System.Int32 |
recordIndex |
|
| System.Double |
offsetX |
|
| System.Double |
offsetY |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task |
|
Implements