[]
Loads a CMapTable from a specified stream.
See the PDF spec for the description of the CMap format.
This method will throw an exception if the stream content has unknown or unsupported format.
public static CMapTable Load(Stream stream)
Public Shared Function Load(stream As Stream) As CMapTable
Type | Name | Description |
---|---|---|
Stream | stream | The stream containing the CMap definition. |
Loads a CMapTable from a specified file.
See the PDF spec for the description of the CMap format.
Ifcompressed
is true then the content of the file will be
decompressed using DeflateStream.
This method will throw an exception if the file content has unknown or unsupported format.
public static CMapTable Load(string fileName, bool compressed = false)
Public Shared Function Load(fileName As String, Optional compressed As Boolean = False) As CMapTable
Type | Name | Description |
---|---|---|
string | fileName | The file containing the CMap definition. |
bool | compressed | Indicates whether the stream content is compressed and DeflateStream should be used to decompress. |