THPDFPage.AppendRawContent Method
Appends raw PDF graphics operators to the current page content stream
Declaration
procedure AppendRawContent(const Operators: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Operators | Input used by the AppendRawContent workflow |
Usage notes
Use only valid PDF content stream operatorsInvalid operators can make the page fail in PDF viewersUse this API when an application needs this raw page content workflow in a loaded or generated PDF document
Raw path ordering
Complete a raw path with a painting operator or n before calling another drawing API, including DrawRegisteredColorGlyph. Set colours and other graphics-state parameters before starting the path
Graphics-state restoration does not save or restore the current path. Interleaving q/Q or Do inside an unfinished path violates the graphics-object ordering in ISO 32000-1, section 8.2 and Figure 9; different reader recovery does not establish a supported interleaving contract