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 System.Array
|
[C#] |
---|
public System.Array MaximumSize {get; set;}
|
[Managed C++] |
---|
public: __property System::Array get_MaximumSize(); public: __property void set_MaximumSize(
System::Array
);
|
[Unmanaged C++] |
---|
public: HRESULT get_MaximumSize(
SAFEARRAY * * ppRetVal
);
public: HRESULT put_MaximumSize(
SAFEARRAY * MaximumSize
);
|
[Java] |
---|
public AgSafeArray getMaximumSize();
public void setMaximumSize(
AgSafeArray
);
|
[Python - STK API ] |
---|
@property
def MaximumSize(self) -> list:
@MaximumSize.setter
def MaximumSize(self, MaximumSize:list) -> None:
|
See Also
Example
Shows the format of the overlay's MaximumSize property.
[C#] |
---|
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] |
---|
Dim maximumSize As Array = New Object() {500, 500, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
overlay.MaximumSize = maximumSize
|
|