Class ShapeFileReader
Class implementation of shape file reader
Inheritance
System.Object
ShapeFileReader
Namespace: Com.Syncfusion.Maps
Assembly: Syncfusion.SfMaps.Android.dll
Syntax
public class ShapeFileReader : Object
Constructors
ShapeFileReader()
Initializes a new instance of the ShapeFileReader class.
Declaration
public ShapeFileReader()
ShapeFileReader(String, Context)
Initializes a new instance of the ShapeFileReader class.
Declaration
public ShapeFileReader(string shapefilename, Context context)
Parameters
Type | Name | Description |
---|---|---|
System.String | shapefilename | To set value for shape file name |
Android.Content.Context | context | To set the value for context |
Properties
Header
Header property determines the header value
Declaration
public ShapeFileHeader Header { get; }
Property Value
Type |
---|
ShapeFileHeader |
Records
Records stores the list of shape file values
Declaration
public IList<ShapeFileRecord> Records { get; }
Property Value
Type |
---|
System.Collections.Generic.IList<ShapeFileRecord> |
Methods
ReadFromStream(Stream)
Reads data from stream
Declaration
public void ReadFromStream(Stream fs)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | fs | To set the value for stream |
ReadShapeFile()
Reads the data from ReadShapeFile
Declaration
public void ReadShapeFile()
Events
ShapeFileDownloaded
Progress Changed Event Handler
Declaration
public event ProgressChangedEventHandler ShapeFileDownloaded
Event Type
Type |
---|
System.ComponentModel.ProgressChangedEventHandler |