SetFormFieldFont

양식 필드

설명

지정한 양식 필드에서 반드시 사용할 글꼴을 설정합니다

구문

Delphi

Function TPDFlib.SetFormFieldFont(Index, FontIndex: Integer): Integer;

ActiveX

Function PDFlib::SetFormFieldFont(Index As Long, FontIndex As Long) As Long

DLL

int DLSetFormFieldFont(int InstanceID, int Index, int FontIndex);

매개변수

Index작업할 양식 필드의 인덱스. 첫 번째 양식 필드의 인덱스는 1입니다
FontIndex사용할 글꼴의 인덱스입니다. 양식의 첫 번째 글꼴 인덱스는 1입니다. 양식에서 사용할 수 있는 글꼴 수를 확인하려면 GetFormFontCount를 사용합니다

반환 값

0잘못된 글꼴 인덱스이거나 양식 필드를 찾을 수 없음
1글꼴을 성공적으로 설정했습니다