ImageGear v26.3 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDEFont Class / FindUnrepresentableCharacters Method
String with Unicode characters.




In This Topic
    FindUnrepresentableCharacters Method
    In This Topic
    Gets a collection of characters in the Unicode string that could not be represented in the font.
    Syntax
    'Declaration
     
    Public Function FindUnrepresentableCharacters( _
       ByVal text As String _
    ) As ReadOnlyCollection(Of Char)
    'Usage
     
    Dim instance As ImGearPDEFont
    Dim text As String
    Dim value As ReadOnlyCollection(Of Char)
     
    value = instance.FindUnrepresentableCharacters(text)
    public ReadOnlyCollection<char> FindUnrepresentableCharacters( 
       string text
    )
    public: ReadOnlyCollection<char>* FindUnrepresentableCharacters( 
       string* text
    ) 
    public:
    ReadOnlyCollection<char>^ FindUnrepresentableCharacters( 
       String^ text
    ) 

    Parameters

    text
    String with Unicode characters.

    Return Value

    Collection of characters not representable in the font.
    Remarks

    The Unicode API methods require a TrueType or Type 0 font that can be embedded. This font must be created from a font file on the local machine, because the lookup tables used by these API only exist in the font files. This is required even if you only check for representable text. This method will raise an exception, if used with other fonts, like Type 1 or font retrieved from an existing PDF document.

    Example
    See Also