Category Drawings and detail, Object ProDrawing

Function ProDrawingViewDisplaySet


Description
Sets the display status of a drawing view. The function does not  repaint the view - use ProWindowRepaint() to do this. If the function returns an error, none of the properties are set. NOTE: Note the following restrictions :
  • Changing the concept_model field requires a Pro/ASSEMBLY license.
Replacement in Object TOOLKIT: pfcView2D::Display
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingViewDisplaySet(
ProDrawing drawing
/* (In)
The drawing
*/
ProView view
/* (In)
The drawing view
*/
ProDrawingViewDisplay* display_status
/* (In)
A structure containing the display status information. Initialize this structure by a call to ProDrawingViewDisplayGet() on the same view.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid, or style was set to PRO_DISPSTYLE_SHADED.
PRO_TK_BAD_CONTEXTThe drawing view is a child of another view and inherits its display from its parent.
PRO_TK_NO_LICENSEThe function attempted to set the concept_model field, but no Pro/ASSEMBLY license is available.

Manual References:

  1. Drawings: Modifying Views
  2. Drawings: Modifying Views

Sample Code References:

  1. pt_examples ( TestDrwView.c )