'Declaration
Public Function DrawPage( _ ByVal SrcPDF As GdPicturePDF, _ ByVal SrcPage As Integer, _ ByVal DstX As Single, _ ByVal DstY As Single, _ ByVal DstWidth As Single, _ ByVal DstHeight As Single _ ) As GdPictureStatus
public GdPictureStatus DrawPage( GdPicturePDF SrcPDF, int SrcPage, float DstX, float DstY, float DstWidth, float DstHeight )
public function DrawPage( SrcPDF: GdPicturePDF; SrcPage: Integer; DstX: Single; DstY: Single; DstWidth: Single; DstHeight: Single ): GdPictureStatus;
public function DrawPage( SrcPDF : GdPicturePDF, SrcPage : int, DstX : float, DstY : float, DstWidth : float, DstHeight : float ) : GdPictureStatus;
public: GdPictureStatus DrawPage( GdPicturePDF* SrcPDF, int SrcPage, float DstX, float DstY, float DstWidth, float DstHeight )
public: GdPictureStatus DrawPage( GdPicturePDF^ SrcPDF, int SrcPage, float DstX, float DstY, float DstWidth, float DstHeight )
Parameters
- SrcPDF
- The source PDF document, which contains the source page to draw.
- SrcPage
- The page number of the page, which content is to be drawn. This parameter is without any restrictions, the source page is selected by use of the SelectPage method, so all there mentioned details remain in effect.
- DstX
- The horizontal (X) coordinate of the bottom left point of the destination area, where the page content is to be drawn, expressed in the current units used in the destination PDF document, related to the currently selected page.
- DstY
- The vertical (Y) coordinate of the bottom left point of the destination area, where the page content is to be drawn, expressed in the current units used in the destination PDF document, related to the currently selected page.
- DstWidth
- The width of the destination area, expressed in the current units used in the destination PDF document.
- DstHeight
- The height of the destination area, expressed in the current units used in the destination PDF document.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.