CPDFDocumentInsertPage Method (Int32, Single, Single, String) |
Inserts a blank page with image at the specified index point.
Indexes are zero based. The index must lie within bounds, or be equal to the length of bounds.
Namespace:
ComPDFKit.PDFDocument
Assembly:
ComPDFKit.NET (in ComPDFKit.NET.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax public bool InsertPage(
int pageIndex,
float width,
float height,
string imagePath
)
Parameters
- pageIndex
- Type: SystemInt32
The specified index point. - width
- Type: SystemSingle
The page width. - height
- Type: SystemSingle
The page height. - imagePath
- Type: SystemString
Image path, if empty create a blank page.
Return Value
Type:
BooleanReturns true on success, false on failure.
See Also