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 |
[C#] |
---|
public IAgStkGraphicsTextOverlay InitializeWithWidthHeightUnits( IAgStkGraphicsGraphicsFont Font, double Width, AgEStkGraphicsScreenOverlayUnit WidthUnit, double Height, AgEStkGraphicsScreenOverlayUnit HeightUnit ); |
[Managed C++] |
---|
public: IAgStkGraphicsTextOverlay^ InitializeWithWidthHeightUnits( IAgStkGraphicsGraphicsFont ^ Font, double Width, AgEStkGraphicsScreenOverlayUnit WidthUnit, double Height, AgEStkGraphicsScreenOverlayUnit HeightUnit ); |
[Java] |
---|
public IAgStkGraphicsTextOverlay initializeWithWidthHeightUnits( IAgStkGraphicsGraphicsFont Font, double Width, AgEStkGraphicsScreenOverlayUnit WidthUnit, double Height, AgEStkGraphicsScreenOverlayUnit HeightUnit ); |
[Unmanaged C++] |
---|
public: HRESULT InitializeWithWidthHeightUnits( IAgStkGraphicsGraphicsFont * Font, double Width, AgEStkGraphicsScreenOverlayUnit WidthUnit, double Height, AgEStkGraphicsScreenOverlayUnit HeightUnit, IAgStkGraphicsTextOverlay ** ppRetVal ); |
- 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.