AGI STK Graphics 11 Send comments on this topic.
InitializeWithWidthHeightUnits Method (IAgStkGraphicsTextOverlayFactory)
See Also 
Font
The Graphics Font that defines how text is drawn.
Width
The initial width of the overlay.
WidthUnit
The Screen Overlay Unit defining the interpretation of the _Width.
Height
The initial width of the overlay.
HeightUnit
The Screen Overlay Unit defining the interpretation of the _Height.

Description

Initializes the overlay with the specified position and size.

Syntax

[Visual Basic .NET]
Public Function InitializeWithWidthHeightUnits( _
   ByVal Font As IAgStkGraphicsGraphicsFont, _
   ByVal Width As Double, _
   ByVal WidthUnit As AgEStkGraphicsScreenOverlayUnit, _
   ByVal Height As Double, _
   ByVal HeightUnit As AgEStkGraphicsScreenOverlayUnit _
) As IAgStkGraphicsTextOverlay

Parameters

Font
The Graphics Font that defines how text is drawn.
Width
The initial width of the overlay.
WidthUnit
Member Value Description
eStkGraphicsScreenOverlayUnitPixels 0 The value is specified in pixels.
eStkGraphicsScreenOverlayUnitFraction 1 The value is specified as a fraction of the overlay's parent, where 0.0 is 0.
The Screen Overlay Unit defining the interpretation of the _Width.
Height
The initial width of the overlay.
HeightUnit
Member Value Description
eStkGraphicsScreenOverlayUnitPixels 0 The value is specified in pixels.
eStkGraphicsScreenOverlayUnitFraction 1 The value is specified as a fraction of the overlay's parent, where 0.0 is 0.
The Screen Overlay Unit defining the interpretation of the _Height.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface