Category Drawings and detail, Object ProDrawing

Function ProDrawingFormatSizeGet


Description
Gets the size of the format in a drawing.
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingFormatSizeGet(
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* p_size
/* (Out)
drawing size i.e. F_SIZE_PLOT, A4_SIZE_PLOT etc.
*/
double* p_width
/* (Out)
drawing width in inch
*/
double* p_height
/* (Out)
drawing height in inch
*/
)
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