[]
Creates a new page and inserts it at a specific position in the document.
public Page Insert(int index)
| Type | Name | Description |
|---|---|---|
| int | index | The position where the new page will be inserted. |
| Type | Description |
|---|---|
| Page | The newly created page. |
The size of the new page is determined by the PageSize property of the parent document.
Creates a new page with the specified size and inserts it at a specific position in the document.
public Page Insert(int index, SizeF pageSize)
| Type | Name | Description |
|---|---|---|
| int | index | The position where the new page will be inserted. |
| SizeF | pageSize | The size of the new page, expressed in points. |
| Type | Description |
|---|---|
| Page | The newly created page. |
Creates a new page with the specified size and inserts it at a specific position in the document.
public Page Insert(int index, PaperKind paperKind)
| Type | Name | Description |
|---|---|---|
| int | index | The position where the new page will be inserted. |
| PaperKind | paperKind | The size of the new page, expressed as a PaperKind. |
| Type | Description |
|---|---|
| Page | The newly created page. |