PdfDocumentAddPageAtIndex Method
Adds a new page with the given size, margins, orientation and rotation at the given index. The first page index is 0
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfPage AddPageAtIndex(
int index,
PdfPageSize size,
PdfMargins margins,
PdfPageOrientation orientation,
PdfPageRotation rotation
)
Public Function AddPageAtIndex (
index As Integer,
size As PdfPageSize,
margins As PdfMargins,
orientation As PdfPageOrientation,
rotation As PdfPageRotation
) As PdfPage
public:
PdfPage^ AddPageAtIndex(
int index,
PdfPageSize^ size,
PdfMargins^ margins,
PdfPageOrientation orientation,
PdfPageRotation rotation
)
member AddPageAtIndex :
index : int *
size : PdfPageSize *
margins : PdfMargins *
orientation : PdfPageOrientation *
rotation : PdfPageRotation -> PdfPage
- index Int32
- The index of the new page
- size PdfPageSize
- The page size in points
- margins PdfMargins
- The page margins
- orientation PdfPageOrientation
- The page orientation
- rotation PdfPageRotation
- The page rotation
PdfPageThe newly created PDF page