AGI STK Graphics 11Send 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
);
[Java]
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 ** ReturnValue
);

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

© 2018 Analytical Graphics, Inc. All Rights Reserved.