GetFontParameters Method (ITextStyle) Send Feedback
See Also 
Typeface[out]
File name of the Windows font
Bold[out]
True if the Windows font is bold, false if not
Italic[out]
True if the Windows font is italic, false if not
Charset[out]
Windows character set identifier
PitchAndFamily[out]
Windows pitch and character family identifier
Gets the parameters of a Windows font for the TextStyle.

Syntax

Visual Basic 
Sub GetFontParameters( _
   ByRef Typeface As System.String, _
   ByRef Bold As System.Boolean, _
   ByRef Italic As System.Boolean, _
   ByRef Charset As System.Integer, _
   ByRef PitchAndFamily As System.Integer _
) 
C# 
void GetFontParameters( 
   out System.string Typeface,
   out System.bool Bold,
   out System.bool Italic,
   out System.int Charset,
   out System.int PitchAndFamily
)
JavaScript 
GetFontParameters(
) : {
   Typeface : String,
   Bold : Boolean,
   Italic : Boolean,
   Charset : Number,
   PitchAndFamily : Number
}
COM native C++ 
HRESULT GetFontParameters( 
   BSTR* Typeface,
   VARIANT_BOOL* Bold,
   VARIANT_BOOL* Italic,
   LONG* Charset,
   LONG* PitchAndFamily
) 
C++ 
DSRESULT GetFontParameters( 
   dsString* Typeface,
   bool* Bold,
   bool* Italic,
   long* Charset,
   long* PitchAndFamily
) 

Parameters

Typeface[out]
File name of the Windows font
Bold[out]
True if the Windows font is bold, false if not
Italic[out]
True if the Windows font is italic, false if not
Charset[out]
Windows character set identifier
PitchAndFamily[out] or Return Value
Windows pitch and character family identifier
 

See Also

Availability

DraftSight V1R1.1