[]
Represents a CMap table.
A CMap specifies the mapping from character codes to character selectors, it is used to extract Unicode text from PDF documents. In most cases CMaps are fully embedded into the PDF document. But in rare cases a CMap in a PDF is specified by a PDF name object, where this name identifies a predefined CMap that should be known to the PDF processor.
public abstract class CMapTable
Public MustInherit Class CMapTable
Name | Description |
---|---|
IsPredefined | Gets a value indicating whether the CMap is predefined and is specified by name in a PDF file. |
Name | Gets or sets the CMap name. |
Vertical | Gets a value indicating whether the CMapTable defines the vertical font. |
Name | Description |
---|---|
Load(Stream) | 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. |
Load(string, bool) | 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. |
LoadCompressed(Stream) | Loads a CMapTable from a specified stream, the content of the stream will be decompressed using DeflateStream. 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. |
Save(Stream) | Saves the CMapTable to the stream. |