DrawPostScriptXObject
Annotations and hotspot links, Page layout
Description
Adds a reference to a PostScript XObject at the current position in the page contents. This function is for specific advanced use and will not be useful to the majority of users.
For historical reasons, the PDF specification allows raw PostScript language commands to be embedded inside a document.
When the document is printed (using certain PDF software tools) on a PostScript printer, these raw PostScript commands will be sent directly to the printer.
Most PDF viewers are not able to display this embedded PostScript because this would require a full PostScript language interpreter.
Syntax
Delphi
function TPDFlib.DrawPostScriptXObject(PSRef: Integer): Integer;ActiveX
Function PDFlib::DrawPostScriptXObject(PSRef As Long) As LongDLL
int DLDrawPostScriptXObject(int InstanceID, int PSRef);Parameters
| PSRef | A value that was returned by the NewPostScriptXObject function |
|---|
Return values
| 0 | The PostScript XObject could not be drawn The PostScript XObject was drawn successfully |
|---|---|
| 1 |