IPI_ImageToPageSegment()
This subprocedure is used to convert an image which was previously loaded by IPI_LoadImage() into a page segment (*PAGSEG) which can be used with AFPDS printing on the IBM i.
The dimensions of the page segment being created can be specified in inches using the Width and Height subfields of the IPI_PageSegmentDS_t to resize the output.
Subprocedure Prototype
Copyrpgle |
Returns *OFF if an error occurs during processing, *ON otherwise. |
Copyrpgle |
Contains image data previously loaded by IPI_LoadImage() |
Copyrpgle |
Contains configuration information about the page segment to create. |
Copyrpgle |
Optional parameter that, if passed, will contain error data returned from the subprocedure. If it is not passed, exceptions will instead be "thrown" and must be caught by a MONITOR block. |
Data Structures
Copyrpgle |
|
Copyrpgle |
Specify the object name used to create the page segment |
Copyrpgle |
Specify the library where the page segment will be created |
Copyrpgle |
Specify the desired output width in inches |
Copyrpgle |
Specify the desired output height in inches |
Copyrpgle |
|
Copyrpgle |
Internal use only |
Copyrpgle |
Internal use only |
Copyrpgle |
Internal use only |
Copyrpgle |
Internal use only |
Copyrpgle |
Internal use only |
Copyrpgle |
Internal use only |