Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text Namespace / Font Class / GetFontAttributes Method

In This Topic
    GetFontAttributes Method
    In This Topic
    Extracts the attributes of the current font. If a specific attribute cannot be determined, the corresponding output value is set to null.
    Syntax
    'Declaration
     
    Public Sub GetFontAttributes( _
       ByRef fontFamily As System.String, _
       ByRef fontWeight As System.Nullable(Of FontWeight), _
       ByRef fontStretch As System.Nullable(Of FontStretch), _
       ByRef fontItalic As System.Nullable(Of Boolean) _
    ) 
    public void GetFontAttributes( 
       out System.string fontFamily,
       out System.Nullable<FontWeight> fontWeight,
       out System.Nullable<FontStretch> fontStretch,
       out System.Nullable<bool> fontItalic
    )

    Parameters

    fontFamily
    fontWeight
    fontStretch
    fontItalic
    See Also