STK Graphics PrimitivesSend comments on this topic.
InitializeWithXYWidthHeight Method (IAgStkGraphicsTextOverlayFactory)
See Also
Font
The Graphics Font that defines how text is drawn.
XPixels
The X position of the panel in pixels.
YPixels
The Y position of the panel in pixels.
WidthPixels
The width of the panel in pixels.
HeightPixels
The height of the panel in pixels.
Windows





Windows & Linux

Description

Initializes the overlay with the specified x position, y position, width, and height, all specified in pixels.

Syntax

[Visual Basic .NET]
Public Function InitializeWithXYWidthHeight( _
    ByVal Font As IAgStkGraphicsGraphicsFont, _
    ByVal XPixels As Double, _
    ByVal YPixels As Double, _
    ByVal WidthPixels As Double, _
    ByVal HeightPixels As Double _
) As IAgStkGraphicsTextOverlay
[C#]
public IAgStkGraphicsTextOverlay InitializeWithXYWidthHeight(
    IAgStkGraphicsGraphicsFont Font,
    double XPixels,
    double YPixels,
    double WidthPixels,
    double HeightPixels
);
[Managed C++]
public: IAgStkGraphicsTextOverlay^ InitializeWithXYWidthHeight(
    IAgStkGraphicsGraphicsFont ^ Font,
    double XPixels,
    double YPixels,
    double WidthPixels,
    double HeightPixels
);
[Unmanaged C++]
public: HRESULT InitializeWithXYWidthHeight(
    IAgStkGraphicsGraphicsFont * Font,
    double XPixels,
    double YPixels,
    double WidthPixels,
    double HeightPixels,
    IAgStkGraphicsTextOverlay ** ppRetVal
);
[Java]
public IAgStkGraphicsTextOverlay initializeWithXYWidthHeight(
    IAgStkGraphicsGraphicsFont Font,
    double XPixels,
    double YPixels,
    double WidthPixels,
    double HeightPixels
);
[Python - STK API ]
def InitializeWithXYWidthHeight(self, Font:"IAgStkGraphicsGraphicsFont", XPixels:float, YPixels:float, WidthPixels:float, HeightPixels:float) -> "IAgStkGraphicsTextOverlay":

Parameters

Font
The Graphics Font that defines how text is drawn.
XPixels
The X position of the panel in pixels.
YPixels
The Y position of the panel in pixels.
WidthPixels
The width of the panel in pixels.
HeightPixels
The height of the panel in pixels.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.