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


ISpatialReferenceResolution.SetDefaultXYResolution Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

ISpatialReferenceResolution.SetDefaultXYResolution Method

defaults: PCS(hi): 1/10 mm; PCS(lo): 1 mm; GCS(hi): 1/10,000 arc-second; GCS(lo): 1/500 arc-second; UCS(hi): 1/10 mm (assumed); UCS(lo): 1 mm (assumed).

[Visual Basic .NET]
Public Sub SetDefaultXYResolution ( _
)
[C#]
public void SetDefaultXYResolution (
);
[C++]
HRESULT SetDefaultXYResolution(
void
);

Product Availability

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

Remarks

SetDefaultXYResolution recalculates the maximum x and y coordinates for the domain of the spatial reference in order to achieve a target resolution of 1 millimeter for low precision ProjectedCoordinateSystems or 1/10 millimeter for high precision. For high precision GeographicCoordinateSystems, the target resolution is 1/10,000 of an arc-second and the low precision target resolution is 1/500 of an arc-second. For UnknownCoordinateSystems, the high precision target resolution is 1/10 millimeter and the low precision target resolution is 1 millimeter.  Resolutions are listed here in metric units but are converted to the units of the spatial reference by these methods.

Use the ISpatialReferenceResolution::XYResolution(False) property to specify the target resolution in units defined by the spatial reference.

 

See Also

ISpatialReferenceResolution Interface

.NET Snippets

Create High Precision Spatial Reference | Create Low Precision Spatial Reference

.NET Samples

Create a custom raster type from the ground up for DMCII data (Code Files: DMCIIRasterType) | Creating a toolbar of globe tools (Code Files: SpatialReference)

.NET Related Topics

Constructing a high- or low-precision spatial reference | Creating feature classes