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

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 Variant()

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

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface