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는 다른 리소스 개체 번호를 노출합니다