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


IPRJSpatialReference.PRJSpatialReferenceSize Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

IPRJSpatialReference.PRJSpatialReferenceSize Property

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

[Visual Basic .NET]
Public ReadOnly Property PRJSpatialReferenceSize As Integer
[C#]
public int PRJSpatialReferenceSize {get;}
[C++]
HRESULT get_PRJSpatialReferenceSize(
  System.Int32* 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 needed for a string representation of a PRJ file. A sample represetation (reformatted for display) is below.

Projection    UTM   
Zone          10  
Datum         NAD83     
Zunits        NO     
Units         METERS     
Spheroid      GRS1980     
Xshift        0.0000000000     
Yshift        0.0000000000  
Parameters    

See Also

IPRJSpatialReference Interface