NewPostScriptXObject
Document properties
Description
Adds a PostScript XObject to the document. If the PostScript XObject is drawn onto the page with the DrawPostScriptXObject function the contents of the PostScript XObject will be placed into the generated PostScript for the page when printed to a PostScript printer.
Syntax
Delphi
function TPDFlib.NewPostScriptXObject(Const PS: WideString): Integer;ActiveX
Function PDFlib::NewPostScriptXObject(PS As String) As LongDLL
int DLNewPostScriptXObject(int InstanceID, wchar_t * PS);Parameters
| PS | The PostScript that will be inserted |
|---|
Return values
| 0 | The PostScript XObject could not be added |
|---|---|
| Non-zero | A reference to the PostScript XObject which can be used with the DrawPostScriptXObject function |