Creates a PDE PostScript object.
|
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
);
|
|
| Name | Type | Description |
|---|---|---|
| lpAttrs | LPAT_PDE_PSATTRS | Pointer to AT_PDE_PSATTRS attributes data structure. |
| hDataStream | HIG_PDF_STREAM | Data stream. May be NULL. |
| lpData | LPBYTE | Data. May be NULL. |
| nDataSize | LONG | Number of bytes of data. |
| lphPostScript | LPHIG_PDE_POSTSCRIPT | The postscript object. |
Error count.
This function does not process image pixels.
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.