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 System.Array
|
[C#] |
---|
public System.Array Size {get; set;}
|
[Managed C++] |
---|
public: __property System::Array get_Size(); public: __property void set_Size(
System::Array
);
|
[Unmanaged C++] |
---|
public: HRESULT get_Size(
SAFEARRAY * * ppRetVal
);
public: HRESULT put_Size(
SAFEARRAY * Size
);
|
[Java] |
---|
public AgSafeArray getSize();
public void setSize(
AgSafeArray
);
|
[Python - STK API] |
---|
@property
def Size(self) -> list:
@Size.setter
def Size(self, Size:list) -> None:
|
See Also
Example
Shows the format of the overlay's Size property.
[C#] |
---|
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] |
---|
Dim size As Array = New Object() {300, 300, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
overlay.Size = size
|
|