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

Description

Gets or sets the maximum size of the overlay. The overlay will never be larger than this size, even if the overlay's Size is specified as a percentage of its parent and its parent is very large. It will also not become larger than this size as a result of a Scale transformation. 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 MaximumSize() As Variant()

Example

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

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

overlay.MaximumSize = maximumSize

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface