function RenderTile(Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []): TBitmap;
| Rotation | TRotation. 타일을 렌더링할 때 적용할 시계 방향 회전입니다. ro0, ro90, ro180, ro270 |
| Options | TRenderOptions. 주석 가시성, LCD 텍스트 등을 제어하는 렌더링 플래그 집합입니다 |
procedure RenderTile(Bitmap: TBitmap; Left, Top, Width, Height, PageWidth, PageHeight: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []);
| Bitmap | TBitmap. 타일을 렌더링할 기존 비트맵입니다 |
| Rotation | TRotation. 렌더링 때 적용할 시계 방향 회전입니다 |
| Options | TRenderOptions. 렌더링 플래그 집합입니다 |
현재 페이지의 사각형 타일을 비트맵으로 렌더링합니다. Left, Top, Width, Height는 PageWidth × PageHeight 픽셀의 가상 전체 페이지 렌더 안에서 타일 영역을 정의합니다. 덕분에 큰 페이지를 메모리 효율이 좋은 작은 타일로 고해상도 렌더링할 수 있습니다
함수 오버로드는 새 TBitmap을 할당하며 이는 호출자가 해제해야 합니다. 프로시저 오버로드는 기존 비트맵에 렌더링합니다. 이 메서드는 고 DPI 인쇄나 화면보다 높은 해상도의 이미지 내보내기에 유용합니다
// Render the top-left 512x512 tile of a 2048x2048 full-page render
var Bmp: TBitmap;
begin
Bmp := PdfView.RenderTile(0, 0, 512, 512, 2048, 2048);
try
Image1.Picture.Assign(Bmp);
finally
Bmp.Free;
end;
end;