AGI STK Graphics 11 Send comments on this topic.
InitializeWithNameSizeFontStyleOutline Method (IAgStkGraphicsGraphicsFontFactory)
See Also 
Name
The typeface name of the font.
Size
The size of the font.
FontStyle
The style of the font. Font Style enumeration values can be logically ored together to apply more than one style.
Outline
true if the font should be created with an outline around its characters; otherwise, false.





Description

Initializes a graphics font with the given arguments.

Syntax

[Visual Basic .NET]
Public Function InitializeWithNameSizeFontStyleOutline( _
   ByVal Name As String, _
   ByVal Size As Integer, _
   ByVal FontStyle As AgEStkGraphicsFontStyle, _
   ByVal Outline As Boolean _
) As IAgStkGraphicsGraphicsFont

[C#]
public IAgStkGraphicsGraphicsFont InitializeWithNameSizeFontStyleOutline(
string Name,
int Size,
AgEStkGraphicsFontStyle FontStyle,
bool Outline
);

[Managed C++]
public: IAgStkGraphicsGraphicsFont^ InitializeWithNameSizeFontStyleOutline(
String __gc ^ Name,
int Size,
AgEStkGraphicsFontStyle FontStyle,
bool Outline
);

[Java]
public IAgStkGraphicsGraphicsFont initializeWithNameSizeFontStyleOutline(
String Name,
ppInteger Size,
AgEStkGraphicsFontStyle FontStyle,
bool Outline
);

[Unmanaged C++]
public: HRESULT InitializeWithNameSizeFontStyleOutline(
BSTR Name,
int Size,
AgEStkGraphicsFontStyle FontStyle,
VARIANT_BOOL Outline,
IAgStkGraphicsGraphicsFont ** ReturnValue
);

Parameters

Name
The typeface name of the font.
Size
The size of the font.
FontStyle
Member Value Description
eStkGraphicsFontStyleRegular 0 Regular font.
eStkGraphicsFontStyleBold 1 Bold font.
eStkGraphicsFontStyleItalic 2 Italic font.
eStkGraphicsFontStyleUnderline 4 Underlined font.
eStkGraphicsFontStyleStrikeout 8 Strike-out style.
The style of the font. Font Style enumeration values can be logically ored together to apply more than one style.
Outline
true if the font should be created with an outline around its characters; otherwise, false.

See Also

© 2016 All Rights Reserved.

STK Programming Interface 11.0.1