Documents for PDF .NET Edition
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.Text.CMap Namespace / CMap Class / Load Method / Load(Stream,Boolean) Method
The stream 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(Stream,Boolean) Method
    In This Topic
    Loads a CMap from a specified stream.

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

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

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

    Syntax
    'Declaration
     
    Public Overloads Shared Function Load( _
       ByVal stream As System.IO.Stream, _
       Optional ByVal compressed As System.Boolean _
    ) As CMap
    public static CMap Load( 
       System.IO.Stream stream,
       System.bool compressed
    )

    Parameters

    stream
    The stream 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