Initializes the overlay with the specified position and size.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
public IAgStkGraphicsTextOverlay InitializeWithPositionSize( IAgStkGraphicsGraphicsFont Font, System.Array Position, System.Array Size ); |
| [Managed C++] |
|---|
public: IAgStkGraphicsTextOverlay^ InitializeWithPositionSize( IAgStkGraphicsGraphicsFont ^ Font, System::Array ^ Position, System::Array ^ Size ); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public IAgStkGraphicsTextOverlay initializeWithPositionSize( IAgStkGraphicsGraphicsFont Font, AgSafeArray Position, AgSafeArray Size ); |
[Python - STK API ] |
|---|
def InitializeWithPositionSize(self, Font:"IAgStkGraphicsGraphicsFont", Position:list, Size:list) -> "IAgStkGraphicsTextOverlay": |
- Font
- The Graphics Font that defines how text is drawn.
- Position
- An array with a size of 4 that represents the position of the overlay. The elements are in the order x position, y position, x Screen Overlay Unit, y Screen Overlay Unit.
- Size
- An array with a size of 4 that represents the size of the overlay. The elements are in the order width, height, width Screen Overlay Unit, height Screen Overlay Unit.






