ElementWriterBegin Method (Page, ElementWriterWriteMode, Boolean) |
By default, new content will be appended to the page, as foreground graphics.
It is possible to add new page content as background graphics by setting the
second parameter in begin method to 'true' (e.g. writer.Begin(page, true)).
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void Begin(
Page page,
ElementWriterWriteMode placement,
bool page_coord_sys
)
Public Sub Begin (
page As Page,
placement As ElementWriterWriteMode,
page_coord_sys As Boolean
)
public:
virtual void Begin(
[InAttribute] Page^ page,
[InAttribute] ElementWriterWriteMode placement,
[InAttribute] bool page_coord_sys
) sealed
function Begin(page, placement, page_coord_sys);
Parameters
- page
- Type: pdftron.PDFPage
The page to write content.
- placement
- Type: pdftron.PDFElementWriterWriteMode
An optional flag indicating whether the new content should
be added as a foreground or background layer to the existing page. By default, the new
content will appear on top of the existing graphics.
- page_coord_sys
- Type: SystemBoolean
An optional flag used to select the target coordinate system.
If true (default), the coordinates are relative to the lower-left corner of the page,
otherwise the coordinates are defined in PDF user coordinate system (which may,
or may not coincide with the page coordinates).
Exceptions Exception | Condition |
---|
[!:PDFNetException] | PDFNetException the PDFNet exception |
See Also