Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text.CMap Namespace / CMapTable Class / Load Method / Load(String,Boolean) Method
The file containing the CMap definition.
Indicates whether the stream content is compressed and System.IO.Compression.DeflateStream should be used to decompress.

In This Topic
    Load(String,Boolean) Method
    In This Topic
    Loads a CMapTable from a specified file.

    See the PDF spec for the description of the CMap format.

    If compressed is true then the content of the file will be decompressed using System.IO.Compression.DeflateStream.

    This method will throw an exception if the file content has unknown or unsupported format.

    Syntax
    'Declaration
     
    Public Overloads Shared Function Load( _
       ByVal fileName As System.String, _
       Optional ByVal compressed As System.Boolean _
    ) As CMapTable
    public static CMapTable Load( 
       System.string fileName,
       System.bool compressed
    )

    Parameters

    fileName
    The file containing the CMap definition.
    compressed
    Indicates whether the stream content is compressed and System.IO.Compression.DeflateStream should be used to decompress.

    Return Value

    The created CMapTable object.
    See Also