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 Variant()
|
Example
Shows the format of
the overlay's PinningPosition property.
| [C#] |
Copy Code
|
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] |
Copy Code
|
Dim
pinningPosition As Array = New
Object() {5, 5,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels,
AgEStkGraphicsScreenOverlayUnit.eStkGraphicsScreenOverlayUnitPixels}
overlay.PinningPosition = pinningPosition
|
|
See Also