This document is archived and information here might be outdated. Recommended version. |
The Map rotation angle in degrees.
[Visual Basic .NET]
Public Property MapRotation As Double
[C#]
public double MapRotation {get; set;}
[C++]
HRESULT get_MapRotation(
double mapRotAngle
);
[C++]
HRESULT put_MapRotation(
System.Double* mapRotAngle
);
[C++] Parameters mapRotAngle [in]
mapRotAngle is a parameter of type double mapRotAngle [out, retval]
mapRotAngle is a parameter of type double*
When the map is part of a rotated dataframe, assign the dataframe rotation angle (in degrees) to this property. This will ensure that the world file or GeoTIFF header appropriately accounts for rotation of the image. The rotation angle of a map can be read from IDisplayTransformation::Rotation. The display transformation of the active view can be accessed via IActiveView::ScreenDisplay.