TreeView for WinForms | ComponentOne
C1.Util Namespace / RawFontSubSet Class / GetFontDifference Method

In This Topic
    GetFontDifference Method (RawFontSubSet)
    In This Topic
    Calculates "panse index" (panoseIndex) and count of chars that can be displayed by fss. panoseIndex represents difference between current FontSubSetBase object and fss object. Minimal number defines minimal difference, i.e. 0 means that current FontSubSetBase object and fss very similar. -1 means that fss can not be used as alternative for current object to display s.
    Syntax
    'Declaration
     
    
    Public Sub GetFontDifference( _
       ByVal text As String, _
       ByVal fss As FontSubSet, _
       ByRef panoseIndex As Integer, _
       ByRef supportedGlyphCount As Integer _
    ) 
    public void GetFontDifference( 
       string text,
       FontSubSet fss,
       out int panoseIndex,
       out int supportedGlyphCount
    )

    Parameters

    text
    fss
    panoseIndex
    supportedGlyphCount
    See Also