Creates a PDE PostScript object.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_PDE_postscript_create( LPAT_PDE_PSATTRS lpAttrs, HIG_PDF_STREAM hDataStream, LPBYTE lpData, LONG nDataSize LPHIG_PDE_POSTSCRIPT lphPostScript ); |
Arguments:
lpAttrs | Pointer to AT_PDE_PSATTRS attributes data structure. |
hDataStream | Data stream. May be NULL. |
lpData | Data. May be NULL. |
nDataSize | Number of bytes of data. |
lphPostScript | The postscript object. |
Return Value:
Error count.
Supported Raster Image Formats:
This function does not process image pixels.
Remarks:
lpData and hDataStream may be NULL. If so, use IG_PDE_postscript_set_data and IG_PDE_postscript_set_data_stream to attach data to the object. If hDataStream is non-NULL, then data will be ignored.
If data is non-NULL and hDataStream is NULL, the data must contain nDataSize number of bytes as specified in the AT_PDE_PSATTRS.
Call IG_PDE_element_release to dispose of the created object when finished with it.