Initializes the overlay with the specified position and size.
[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 |
[C#] |
---|
public IAgStkGraphicsTextOverlay InitializeWithWidthHeightUnits( |
[Managed C++] |
---|
public: IAgStkGraphicsTextOverlay^ InitializeWithWidthHeightUnits( |
[Java] |
---|
public IAgStkGraphicsTextOverlay initializeWithWidthHeightUnits( |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithWidthHeightUnits( |
- 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.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 and 1.0 is 100. - Height
- The initial width of the overlay.
- HeightUnit
The Screen Overlay Unit defining the interpretation of the _Height.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 and 1.0 is 100.