AGI STK Graphics 11Send comments on this topic.
RotationPoint Property (IAgStkGraphicsOverlay)
See Also  Example
Windows






Windows & Linux

Description

Gets or sets the point that the overlay is rotated around when the Rotation Angle property has a value other than 0.0. The array contains seven elements defining the properties of the rotation point. The elements are ordered as follows: UseOriginAsPoint (Boolean), Screen Overlay Origin, RelativeToParent (Boolean), x position, y position, x Screen Overlay Unit, y Screen Overlay Unit.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property RotationPoint() As System.Array
[C#]
public System.Array RotationPoint {get; set;}
[Managed C++]
public: __property System::Array^ get_RotationPoint();
public: __property void set_RotationPoint(
   System::Array ^
);
[Unmanaged C++]
public: HRESULT get_RotationPoint(
   SAFEARRAY ** ppRetVal
);
public: HRESULT put_RotationPoint(
   SAFEARRAY * pNewRotationPoint
);
[Java]
public Object[] getRotationPoint();public void setRotationPoint(
   Object[]
);

Example

Shows the format of the overlay's RotationPoint property.
[C#]Copy Code
Array rotationPoint = new object[] 

    false
    AgEStkGraphicsScreenOverlayOrigin.eStkGraphicsScreenOverlayOriginCenter, 
    true
    0.0
    0.0
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, 
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels 
}; 
 
overlay.RotationPoint = rotationPoint; 
 

Shows the format of the overlay's RotationPoint property.
[Visual Basic .NET]Copy Code
Dim rotationPoint As Array = New Object() {False, AgEStkGraphicsScreenOverlayOrigin.eStkGraphicsScreenOverlayOriginCenter, True, 0, 0, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, _
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}

overlay.RotationPoint = rotationPoint

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.