Skip to content

IJSONConverterGeometry2 Interface

Provides direct access to the Units serialization.

Members

Name Description
Method QueryJSONEnvelope Queries envelope and populates existing IJSONObject
Method QueryJSONGeometry Queries geometry and populates existing IJSONObject
Method QueryJSONGeoTransformation Queries a geographic (datum) transformation object and populates existing IJSONObject
Method QueryJSONSpatialReference Queries spatial reference and populates existing IJSONObject
Method QueryJSONUnit Query a Unit Object and populates existing IJSONObject.
Method ReadEnvelope Reads envelope object.
Method ReadGeometry Reads geometry object. If provided geometry type is esriUnknown, tries to deduce geometry type from the JSON structure.
Method ReadGeoTransformation Reads a geographic (datum) transformation object.
Method ReadMultipoint Reads multipoint object.
Method ReadPoint Reads point object.
Method ReadPolygon Reads polygon object.
Method ReadPolyline Reads polyline object.
Method ReadSpatialReference Reads spatial reference object.
Method ReadUnit Read a unit object.
Method ToEnvelope Reads envelope from a JSON object.
Method ToGeometry Reads geometry object from JSON object.
Method ToGeoTransformation Reads a geographic (datum) transformation object from a JSON object.
Method ToMultipoint Reads multipoint from a JSON object.
Method ToPoint Reads point from a JSON object.
Method ToPolygon Reads polygon from a JSON object.
Method ToPolyline Reads polyline from a JSON object.
Method ToSpatialReference Reads spatial reference from a JSON object.
Method ToUnit Read a Unit object from a JSON object.
Method WriteGeometry Writes geometry object.
Method WriteGeoTransformation Writes a geographic (datum) transformation object. Pass NULL as propname to write a standalone JSON object.
Method WriteSpatialReference Writes spatial reference object. Pass NULL as propname to write a standalone JSON object.
Method WriteUnit Writes a Units object. Pass NULL as propname to write a standalone JSON object.

IJSONConverterGeometry2.QueryJSONUnit Method

Query a Unit Object and populates existing IJSONObject.

Public Sub QueryJSONUnit ( _
    ByVal pUnit As IUnit, _
    ByVal pJSON As IJSONObject _
)
public void QueryJSONUnit (
    IUnit pUnit,
    IJSONObject pJSON
);

IJSONConverterGeometry2.ReadUnit Method

Read a unit object.

Public Function ReadUnit ( _
    ByVal pReader As IJSONReader _
) As IUnit
public IUnit ReadUnit (
    IJSONReader pReader
);

IJSONConverterGeometry2.ToUnit Method

Read a Unit object from a JSON object.

Public Function ToUnit ( _
    ByVal pJSONObject As IJSONObject _
) As IUnit
public IUnit ToUnit (
    IJSONObject pJSONObject
);

IJSONConverterGeometry2.WriteUnit Method

Writes a Units object. Pass NULL as propname to write a standalone JSON object.

Public Sub WriteUnit ( _
    ByVal pWriter As IJSONWriter, _
    ByVal propname As String, _
    ByVal pUnit As IUnit _
)
public void WriteUnit (
    IJSONWriter pWriter,
    string propname,
    IUnit pUnit
);

Inherited Interfaces

Interfaces Description
IJSONConverterGeometry Provides direct access to the geometry serialization for AMF and JSON formats.

Classes that implement IJSONConverterGeometry2

Classes Description
JSONConverterGeometry

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.