Description
Gets or sets the position of the overlay relative to its parent. The array represents the position of the overlay and has a size of 4. The elements are in the order x position, y position, x
Screen Overlay Unit, y
Screen Overlay Unit.
Property type
Read-write property
Syntax
[Visual Basic .NET] |
---|
Public Property Position() As System.Array
|
[C#] |
---|
public System.Array Position {get; set;}
|
[Managed C++] |
---|
public: __property System::Array get_Position(); public: __property void set_Position(
System::Array
);
|
[Unmanaged C++] |
---|
public: HRESULT get_Position(
SAFEARRAY * * ppRetVal
);
public: HRESULT put_Position(
SAFEARRAY * Position
);
|
[Java] |
---|
public AgSafeArray getPosition();
public void setPosition(
AgSafeArray
);
|
[Python - STK API ] |
---|
@property
def Position(self) -> list:
@Position.setter
def Position(self, Position:list) -> None:
|
See Also
Example
Shows the format of the overlay's Position property.
[C#] |
---|
Array position = new object[]
{
50,
50,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels
};
overlay.Position = position;
|
|
Shows the format of the overlay's Position property.
[Visual Basic .NET] |
---|
Dim position As Array = New Object() {50, 50, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
overlay.Position = position
|
|