com.esri.arcgis.geometry
Interface ISRPersistStream

All Superinterfaces:
IPersist, IPersistStream, Serializable
All Known Implementing Classes:
GeographicCoordinateSystem, ProjectedCoordinateSystem

public interface ISRPersistStream
extends IPersistStream, Serializable

Provides access to methods for persisting precision information. Extends IPersistStream.

Product Availability

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


Method Summary
 void getPrecisionSizeMax(int[] byteCount)
          Returns the number of bytes needed to store the false x, false y and xy units of this spatial reference.
 void loadPrecision(IStream pStream)
          Initializes this spatial reference's false x, false y and xy units from information in the specified stream.
 void savePrecision(IStream pStream, int fClearDirty)
          Saves this spatial reference's false x, false y and xy units to the specified stream.
 
Methods inherited from interface com.esri.arcgis.system.IPersistStream
getSizeMax, isDirty, load, save
 
Methods inherited from interface com.esri.arcgis.system.IPersist
getClassID
 

Method Detail

getPrecisionSizeMax

void getPrecisionSizeMax(int[] byteCount)
                         throws IOException,
                                AutomationException
Returns the number of bytes needed to store the false x, false y and xy units of this spatial reference.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
byteCount - The byteCount (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadPrecision

void loadPrecision(IStream pStream)
                   throws IOException,
                          AutomationException
Initializes this spatial reference's false x, false y and xy units from information in the specified stream.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

savePrecision

void savePrecision(IStream pStream,
                   int fClearDirty)
                   throws IOException,
                          AutomationException
Saves this spatial reference's false x, false y and xy units to the specified stream.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
pStream - A reference to a com.esri.arcgis.system.IStream (in)
fClearDirty - The fClearDirty (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.