Description
Gets or sets the pinning position of the overlay, relative to the overlay, which determines the point on the overlay that corresponds to the
Position property. The array represents the pinning 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 PinningPosition() As System.Array
|
[C#] |
---|
public System.Array PinningPosition {get; set;}
|
[Managed C++] |
---|
public: __property System::Array get_PinningPosition(); public: __property void set_PinningPosition(
System::Array
);
|
[Unmanaged C++] |
---|
public: HRESULT get_PinningPosition(
SAFEARRAY * * ppRetVal
);
public: HRESULT put_PinningPosition(
SAFEARRAY * PinningPosition
);
|
[Java] |
---|
public AgSafeArray getPinningPosition();
public void setPinningPosition(
AgSafeArray
);
|
[Python - STK API ] |
---|
@property
def PinningPosition(self) -> list:
@PinningPosition.setter
def PinningPosition(self, PinningPosition:list) -> None:
|
See Also
Example
Shows the format of the overlay's PinningPosition property.
[C#] |
---|
Array pinningPosition = new object[]
{
5,
5,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels
};
overlay.PinningPosition = pinningPosition;
|
|
Shows the format of the overlay's PinningPosition property.
[Visual Basic .NET] |
---|
Dim pinningPosition As Array = New Object() {5, 5, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels, AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
overlay.PinningPosition = pinningPosition
|
|