STK Graphics PrimitivesSend comments on this topic.
MinimumSize Property (IAgStkGraphicsOverlay)
See Also
Windows





Windows & Linux

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 * MinimumSize
);
[Java]
public AgSafeArray getMinimumSize();
public void setMinimumSize(
    AgSafeArray
);
[Python - STK API ]
@property
def MinimumSize(self) -> list:

@MinimumSize.setter
def MinimumSize(self, MinimumSize:list) -> None:

See Also

Example

Shows the format of the overlay's MinimumSize property.
[C#]
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]
Dim minimumSize As Array = New Object() {5, 5, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}

overlay.MinimumSize = minimumSize
© 2024 Analytical Graphics, Inc. All Rights Reserved.