Class PredefinedCMapsProvider
Provides access to predefined CMap resources for mapping character codes in document text (such as PDF), using Adobe’s public character collections. A list with predefined resources can be found on the following repository - https://github.com/adobe-type-tools/cmap-resources.
Inherited Members
Namespace: Telerik.Windows.Documents.CMapUtils
Assembly: Telerik.Windows.Documents.CMapUtils.dll
Syntax
public class PredefinedCMapsProvider : PredefinedCMapsProviderBase
Constructors
PredefinedCMapsProvider()
Create a provider that supplies embedded Adobe CMap resources for mapping character codes when processing documents.
Declaration
public PredefinedCMapsProvider()
Methods
GetCidCMapData(String)
Retrieves the character code to CID mapping for a predefined CMap resource in document text (such as PDF).
Declaration
public override byte[] GetCidCMapData(string name)
Parameters
|
System.String
name
The name of the predefined CMap. |
Returns
|
System.Byte[]
The CMap resource data. |
Overrides
GetUnicodeCMapData(String)
Retrieves the character code to Unicode mapping for a predefined CMap resource in document text (such as PDF).
Declaration
public override byte[] GetUnicodeCMapData(string name)
Parameters
|
System.String
name
The name of the predefined CMap. |
Returns
|
System.Byte[]
The CMap resource data. |