AGI STK Graphics 11 Send comments on this topic.
InitializeWithPositionSize Method (IAgStkGraphicsTextOverlayFactory)
See Also 
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.
Windows






Windows & Linux

Description

Initializes the overlay with the specified position and size.

Syntax

[Visual Basic .NET]
Public Function InitializeWithPositionSize( _
   ByVal Font As IAgStkGraphicsGraphicsFont, _
   ByRef Position As System.Array, _
   ByRef Size As System.Array _
) As IAgStkGraphicsTextOverlay

[C#]
public IAgStkGraphicsTextOverlay InitializeWithPositionSize(
IAgStkGraphicsGraphicsFont Font,
ref System.Array Position,
ref System.Array Size
);

[Managed C++]
public: IAgStkGraphicsTextOverlay^ InitializeWithPositionSize(
IAgStkGraphicsGraphicsFont ^ Font,
System::Array ^^ Position,
System::Array ^^ Size
);

[Java]
public IAgStkGraphicsTextOverlay initializeWithPositionSize(
IAgStkGraphicsGraphicsFont Font,
Object[] Position,
Object[] Size
);

[Unmanaged C++]
public: HRESULT InitializeWithPositionSize(
IAgStkGraphicsGraphicsFont * Font,
SAFEARRAY ** Position,
SAFEARRAY ** Size,
IAgStkGraphicsTextOverlay ** ReturnValue
);

Parameters

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.

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

STK 11.2.1 Programming Interface