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





Description

Gets or sets the minimum size of the overlay. The overlay will never be smaller than this size, even if the overlay's Size is specified as a percentage of its parent and its parent is very small. It will also not become smaller 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 MinimumSize() As System.Array

[C#]
public System.Array MinimumSize {get; set;}

[Managed C++]
public: __property System::Array^ get_MinimumSize();
public: __property void set_MinimumSize(
System::Array ^
);

[Unmanaged C++]
public: HRESULT get_MinimumSize(
SAFEARRAY ** ppRetVal
);
public: HRESULT put_MinimumSize(
SAFEARRAY * pNewMinimumSize
);

[Java]
public Object[] getMinimumSize();public void setMinimumSize(
Object[]
);

Example

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

    5
    5
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, 
    AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels 
}; 
 
overlay.MinimumSize = minimumSize; 
 

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

overlay.MinimumSize = minimumSize

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1