STK Graphics PrimitivesSend comments on this topic.
InitializeWithGraphicsFontAndSetHint2d Method (IAgStkGraphicsTextBatchPrimitiveFactory)
See Also
Font
The font used to render text in the text batch.
SetHint
RenderInScreenSpace
Windows





Windows & Linux

Description

Initializes a text batch primitive with the specified font and setHint, optimized for 2d screen space rendering.

Syntax

[Visual Basic .NET]
Public Function InitializeWithGraphicsFontAndSetHint2d( _
    ByVal Font As IAgStkGraphicsGraphicsFont, _
    ByVal SetHint As AgEStkGraphicsSetHint, _
    ByVal RenderInScreenSpace As Boolean _
) As IAgStkGraphicsTextBatchPrimitive
[Managed C++]
public: IAgStkGraphicsTextBatchPrimitive^ InitializeWithGraphicsFontAndSetHint2d(
    IAgStkGraphicsGraphicsFont ^ Font,
    AgEStkGraphicsSetHint SetHint,
    bool RenderInScreenSpace
);
[Unmanaged C++]
public: HRESULT InitializeWithGraphicsFontAndSetHint2d(
    IAgStkGraphicsGraphicsFont * Font,
    AgEStkGraphicsSetHint SetHint,
    VARIANT_BOOL RenderInScreenSpace,
    IAgStkGraphicsTextBatchPrimitive ** ppRetVal
);
[Python - STK API ]
def InitializeWithGraphicsFontAndSetHint2d(self, Font:"IAgStkGraphicsGraphicsFont", SetHint:"AgEStkGraphicsSetHint", RenderInScreenSpace:bool) -> "IAgStkGraphicsTextBatchPrimitive":

Parameters

Font
The font used to render text in the text batch.
SetHint
RenderInScreenSpace

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.