Category Drawings and detail, Object ProDrawing

Function ProDrawingFormatSizeSet


Description
Adds or replaces a standard or custom size format in a drawing.
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingFormatSizeSet(
ProDrawing drawing
/* (In)
The drawing.
*/
int drawing_sheet
/* (In)
The sheet number of the drawing. Set this to a value less than 1 for the current sheet.
*/
ProPlotPaperSize size
/* (In)
drawing size i.e. F_SIZE_PLOT, A4_SIZE_PLOT etc.
*/
double width
/* (In)
drawing width in inch if size is VARIABLE_SIZE_PLOT, in mm if size is VARIABLE_SIZE_IN_MM_PLOT, ignored otherwise
*/
double height
/* (In)
drawing height in inch if size is VARIABLE_SIZE_PLOT, in mm if size is VARIABLE_SIZE_IN_MM_PLOT, ignored otherwise
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Drawings: Drawing Format Files
  2. Drawings: Drawing Format Files