This document is archived and information here might be outdated.  Recommended version.


IESRISpatialReference.ESRISpatialReferenceSize Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IESRISpatialReference.ESRISpatialReferenceSize Property

The number of bytes required to hold the persistant representation of this spatial reference component.

[Visual Basic .NET]
Public ReadOnly Property ESRISpatialReferenceSize As Integer
[C#]
public int ESRISpatialReferenceSize {get;}
[C++]
HRESULT get_ESRISpatialReferenceSize(
  long* cBytes
);
[C++]

Parameters cBytes [out, retval] cBytes is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Returns the size in bytes required to hold the persistent representation of a coordinate system. A sample string representation is below (reformatted for display).

PROJCS["Porto_Santo_1936_UTM_Zone_28N",
  GEOGCS["GCS_Porto_Santo_1936",
    DATUM["D_Porto_Santo_1936",
    SPHEROID["International_1924",6378388,297]],
    PRIMEM["Greenwich",0],
    UNIT["Degree",0.0174532925199432955]],
  PROJECTION["Transverse_Mercator"],
  PARAMETER["False_Easting",500000],
  PARAMETER["False_Northing",0],
  PARAMETER["Central_Meridian",-15],
  PARAMETER["Scale_Factor",0.9996],
  PARAMETER["Latitude_Of_Origin",0],
  UNIT["Meter",1]]

See Also

IESRISpatialReference Interface