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 TDebenuPDFLibrary1811.DrawPostScriptXObject(PSRef: Integer): Integer;
ActiveX
Function DebenuPDFLibrary1811.PDFLibrary::DrawPostScriptXObject(
PSRef As Long) As Long
DLL
int DPLDrawPostScriptXObject(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 |
1 | The PostScript XObject was drawn successfully |