DADrawCapturedPage
Direct Access 기능, 페이지 레이아웃
설명
원래 DrawCapturedPage 함수로 캡처한 페이지를 지정한 페이지에 그립니다. 원본 페이지는 같은 문서(동일한 FileHandle)에서 캡처한 것이어야 함
구문
Delphi
Function TPDFlib.DADrawCapturedPage(FileHandle, DACaptureID, DestPageRef: Integer; PntLeft, PntBottom, PntWidth, PntHeight: Double): Integer;
ActiveX
Function PDFlib::DADrawCapturedPage(FileHandle As Long, DACaptureID As Long, DestPageRef As Long, PntLeft As Double, PntBottom As Double, PntWidth As Double, PntHeight As Double) As Long
DLL
int DLDADrawCapturedPage(int InstanceID, int FileHandle, int DACaptureID, int DestPageRef, double PntLeft, double PntBottom, double PntWidth, double PntHeight);
매개변수
| FileHandle | DAOpenFile, DAOpenFileReadOnly 또는 DAOpenFromStream 함수가 반환한 핸들 |
|---|---|
| DACaptureID | DACapturePage 함수가 반환한 캡처 ID |
| DestPageRef | DAFindPage 또는 DANewPage 함수가 반환한 페이지 참조 |
| PntLeft | 페이지 왼쪽 가장자리에서 포인트 단위로 측정한 대상 사각형 왼쪽 가장자리의 가로 좌표 |
| PntBottom | 페이지 아래쪽 가장자리에서 포인트 단위로 측정한 대상 사각형 아래쪽 가장자리의 세로 좌표 |
| PntWidth | 포인트 단위로 측정한 대상 사각형의 너비 |
| PntHeight | 포인트 단위로 측정한 대상 사각형의 높이 |
반환 값
| 0 | 지정된 FileHandle, PageRef 또는 DACaptureID가 유효하지 않습니다 |
|---|---|
| 1 | 캡처한 페이지가 성공적으로 그려졌습니다 double PntWidth, double PntHeight) |