'Declaration
Public Overloads Function InsertPage( _ ByVal PageSize As PdfPageSizes, _ ByVal PageNo As Integer _ ) As GdPictureStatus
public GdPictureStatus InsertPage( PdfPageSizes PageSize, int PageNo )
public function InsertPage( PageSize: PdfPageSizes; PageNo: Integer ): GdPictureStatus;
public function InsertPage( PageSize : PdfPageSizes, PageNo : int ) : GdPictureStatus;
public: GdPictureStatus InsertPage( PdfPageSizes PageSize, int PageNo )
public: GdPictureStatus InsertPage( PdfPageSizes PageSize, int PageNo )
Parameters
- PageSize
- A member of the PdfPageSizes enumeration. The predefined page size.
- PageNo
- The required position of the page to insert, that means the page number for the newly inserted page. It must be a value greater than 0.
If the specified value is greater than the number of all pages in the loaded document, the new page is automatically inserted as the last page.
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.