FillTextBlock
블록, 상호 작용
설명
현재 폰트 선택으로 주어진 텍스트를 블록 사각형에 맞춰 텍스트 블록을 개인화합니다
구문
Delphi
Function FillTextBlock(Page, BlockIndex: Integer; Const Text: WideString;
Options: Integer): Integer;ActiveX
Function PDFlib::FillTextBlock(Page As Long, BlockIndex As Long, Text As String, Options As Long) As LongDLL
int DLFillTextBlock(int InstanceID, int Page, int BlockIndex, const wchar_t* Text, int Options);
int DLFillTextBlockA(int InstanceID, int Page, int BlockIndex, const char* Text, int Options);매개변수
| Page, BlockIndex | 블록 선택자 |
|---|---|
| Text | 비어 있지 않은 교체 텍스트 |
| Options | 비트 1은 성공적인 채우기 뒤 블록 주석을 삭제합니다 |
반환 값
| 텍스트가 놓이면 1. 블록이 없거나 텍스트 블록이 아니거나 맞추기에 실패하면 0 |
비고
블록 속성 fontname(또는 font), fontsize(또는 size), fillcolor(또는 textcolor/color), alignment(또는 align/position), fitmethod는 있으면 자동으로 적용되고, 반환 전에 호출자의 폰트·텍스트 크기·색·정렬·선택 페이지가 복원됩니다