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

Description

Gets or sets the size of the overlay. The array elements represent the size of the overlay in the order width, height, width Screen Overlay Unit, height Screen Overlay Unit.

Property type

Read-write property

Syntax

[Visual Basic .NET]
Public Property Size() As Variant()

Example

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

    300, 
    300, 
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, 
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels 
}; 
 
overlay.Size = size; 
 
Shows the format of the overlay's Size property.
[Visual Basic .NET] Copy Code
Dim size As Array = New Object() {300, 300, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}

overlay.Size = size

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface