STK Graphics PrimitivesSend 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.
Windows





Windows & Linux

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
);
[Unmanaged C++]
public: HRESULT InitializeWithNameSizeFontStyleOutline(
    BSTR Name,
    int Size,
    AgEStkGraphicsFontStyle FontStyle,
    VARIANT_BOOL Outline,
    IAgStkGraphicsGraphicsFont ** ppRetVal
);
[Java]
public IAgStkGraphicsGraphicsFont initializeWithNameSizeFontStyleOutline(
    String Name,
    Integer Size,
    AgEStkGraphicsFontStyle FontStyle,
    bool Outline
);
[Python - STK API ]
def InitializeWithNameSizeFontStyleOutline(self, Name:str, Size:int, FontStyle:"AgEStkGraphicsFontStyle", Outline:bool) -> "IAgStkGraphicsGraphicsFont":

Parameters

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.

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.