Documents for PDF, .NET Edition Documentation
Load(String,Boolean) Method

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.
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

Reference

CMap Class
CMap Members
Overload List