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




In This Topic
    IsTextRepresentable Method
    In This Topic
    Checks if the entire contents of a text are representable in the font.
    Syntax
    'Declaration
     
    Public Function IsTextRepresentable( _
       ByVal text As String _
    ) As Boolean
    'Usage
     
    Dim instance As ImGearPDEFont
    Dim text As String
    Dim value As Boolean
     
    value = instance.IsTextRepresentable(text)
    public bool IsTextRepresentable( 
       string text
    )
    public: bool IsTextRepresentable( 
       string* text
    ) 
    public:
    bool IsTextRepresentable( 
       String^ text
    ) 

    Parameters

    text
    String with Unicode characters to check.

    Return Value

    True if the entire text is representable in the font, false otherwise.
    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