API Documentation > Miscellaneous > Object ProRaster > Function ProRasterFileWrite
Function ProRasterFileWrite
Description
Outputs a standard Creo Parametric raster output file. Note:Use this function to export a solid model only. To convert drawings to the specified formats, use the function ProPrintExecute().
Replacement in Object TOOLKIT:
Synopsis
#include <ProUtil.h>
ProRasterFileWrite
(
int window_id
/* (In)
the handle of the window that will be exported
*/
/* (In)
the depth of the output image
*/
double width
/* (In)
the width of the output image in inches
*/
double height
/* (In)
the height of the output image in inches
*/
ProDotsPerInch dots_per_inch
/* (In)
the dots per inch of the output image
*/
/* (In)
the output image type
*/
ProPath output_file
/* (In)
An output filename, including the extension
*/
)
Returns
The function successfully created the raster file.
A general error occurred and the function failed.
The function does not have permission to operate on this model.
The function is not available in Design Test Mode.
Sample Code References
User Guide References
Was this helpful?