Label
|
Use
|
Value Type
|
Value
|
---|---|---|---|
Optional
|
—
|
Input arguments to initialize the model handle to be operated. If not provided, model of active window is used.
|
|
output_path |
Required
|
wchar_t*
|
File path including the file name and extension (e.g. “C:\temp\my_created_file.pdf”). |
orientation
|
Optional
|
wchar_t*
|
Sheet orientation within the pdf file. Possible values are “landscape” and “portrait”. Default is “landscape”.
|
paper_size
|
Optional
|
wchar_t*
|
Sheet size for the pdf pages. Possible values are “A0”, “A1”, “A2”, “A3”, “A4”, “A”, “B”, “C”, “D”, “E” and “F”. For drawings,
if not specified, the sheet size will be taken from the drawing sheet as it is. For solid models, the default is “A4”.
|
resolution
|
Optional
|
wchar_t*
|
The DPI resolution used for the rendering of the solid geometry views. Possible values are “100”, “200”, “300”, “400”, “500”
and “600”. The default resolution is “300”.
|
font_stroke
|
Optional
|
wchar_t*
|
Define whether to stroke all fonts (default) or use true type fonts for the PDF output. Possible values are ”stroke_all_fonts”
and ”true_type_fonts”. Default is “stroke_all_fonts”.
|
color_depth
|
Optional
|
wchar_t*
|
Set the color depth either to “color” (default), “grayscale”, or “monochrome”.
|
Label
|
Value Type
|
Value
|
---|---|---|
None |
—
|
—
|
PRO_TK_NO_ERROR
|
The function succeeded.
|
PRO_TK_BAD_INPUTS
|
One or more input argument is invalid.
|
PRO_TK_GENERAL_ERROR
|
Miscellaneous error. Check log file for further information.
|