AddType3FontResource

フォント、PDF リソース

説明

Type 3 フォントのすべてのグリフプログラムが共有するリソース辞書に、名前付き間接オブジェクトを追加または置換します

構文

Delphi

Function TPDFlib.AddType3FontResource(FontID: Integer; Const ResourceType, ResourceName: WideString; ObjectNumber, GenerationNumber: Integer): Integer;

ActiveX

Function PDFlib::AddType3FontResource(FontID As Long, ResourceType As String, ResourceName As String, ObjectNumber As Long, GenerationNumber As Long) As Long

DLL

int DLAddType3FontResource(int InstanceID, int FontID, const wchar_t *ResourceType, const wchar_t *ResourceName, int ObjectNumber, int GenerationNumber);

パラメータ

ResourceType は Font、XObject、ColorSpace、Pattern、Shading、ExtGState、または Properties です。オブジェクト番号と世代番号は、選択した文書内の既存の間接オブジェクトを識別する必要があります

戻り値

1リソースエントリが追加または置換されました
0フォント、カテゴリ、名前、またはオブジェクト参照が無効である

備考

グリフコンテンツは指定したリソースを /ResourceName として使用します。フォントオブジェクト番号は GetFontObjectNumber から取得でき、画像列挙および低レベルオブジェクト API は他のリソースオブジェクト番号を公開します