THotPDF.RegisterFormXObject

Version 2.1102.4는 저장할 때 중간 십진 스케일링 반올림 없이 subnormal 값을 포함해 평범한 소수 Single 경계도 유지합니다. 기존 소스 token과 정수 처리는 이전 동작을 유지합니다

Version 2.1102.3은 bounding box를 저장할 때 십진수 구분자와 무관하게 평범한 십진 PDF 숫자로, 부호 있는 32비트 정수 범위를 넘는 유한 Single 좌표를 유지합니다

이는 임의 정밀도 정수 literal이 아니라 공급된 Single 값을 유지합니다. PDF 소비자는 자기 좌표·렌더링 한도를 그대로 둡니다

THotPDF

 

맨 위

Registers reusable page-content as a PDF Form XObject and returns the resource name used by THPDFPage.DrawFormXObject.

 

Delphi 구문:

function RegisterFormXObject(BBoxLLx, BBoxLLy, BBoxURx, BBoxURy: Single; const Content: AnsiString): AnsiString;

function RegisterFormXObject(Width, Height: Single; const Content: AnsiString): AnsiString;

 

설명

이 method는 /FormType 1, 제공된 /BBox, identity matrix, minimal resource dictionary를 가진 indirect /Type /XObject /Subtype /Form stream을 만듭니다. 반환된 name은 document 안에서 stable하며 first draw 시 각 page의 Resources/XObject dictionary에 추가됩니다

한 번 정의한 뒤 다른 position, scale 또는 rotation으로 여러 번 paint해야 하는 stamp, repeated vector group, logo 및 기타 content에 사용하십시오