Category Drawings and detail, Object ProDrawing

Function ProDrawingSheetOrientationGet


Description
Returns the orientation for the specified sheet.
Replacement in Object TOOLKIT: pfcSheetOwner::GetSheetInfo
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingSheetOrientationGet(
ProDrawing drawing
/* (In)
The drawing
*/
int sheet
/* (In)
The sheet number
*/
ProSheetOrientation* orientation
/* (Out)
The sheet orientation (portrait or landscape).
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_BAD_INPUTSFailure (the drawing handle or sheet number is invalid)

Manual References:

  1. Drawings: Drawing Sheets
  2. Drawings: Drawing Sheets

Sample Code References:

  1. pt_examples ( TestDrwInfo.c )