procedure RenderPage(DeviceContext: HDC; Left, Top, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []);
| DeviceContext | HDC. 렌더링할 대상 디바이스 컨텍스트입니다(화면 DC, 프린터 DC, 메모리 DC 등) |
| Rotation | TRotation. 렌더링 때 적용할 시계 방향 회전입니다. ro0, ro90, ro180, ro270 |
| Options | TRenderOptions. 주석 표시, LCD 텍스트, 그레이스케일 등을 제어하는 렌더링 플래그 집합입니다 |
function RenderPage(Left, Top, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []): TBitmap;
| Rotation | TRotation. 렌더링 때 적용할 시계 방향 회전입니다 |
| Options | TRenderOptions. 렌더링 플래그 집합입니다 |
procedure RenderPage(Bitmap: TBitmap; Left, Top, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []);
| Bitmap | TBitmap. 페이지를 렌더링할 기존 비트맵입니다 |
| Rotation | TRotation. 렌더링 때 적용할 시계 방향 회전입니다 |
| Options | TRenderOptions. 렌더링 플래그 집합입니다 |
현재 페이지를 지정한 위치와 크기로 지정한 대상에 렌더링합니다. 오버로드는 세 가지입니다
TBitmap을 할당해 그 안에 렌더링합니다. 반환된 비트맵은 호출자가 해제해야 합니다TBitmap에 렌더링합니다(할당 없음)배경 채우기 색은 PageColor에서 가져옵니다. 타일 방식의 고해상도 렌더링은 RenderTile을 사용하세요
// Render current page to a 600x800 bitmap
var Bmp: TBitmap;
begin
Bmp := PdfView.RenderPage(0, 0, 600, 800);
try
Bmp.SaveToFile('page.bmp');
finally
Bmp.Free;
end;
end;