Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text.CMap Namespace / CMap 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 CMap 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 CMap
    public static CMap 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 CMap object.
    See Also