Category Drawings and detail, Object ProDrawing

Function ProDrawingViewDelete


Description
Deletes the specified view from the drawing.
Replacement in Object TOOLKIT: pfcView2D::Delete
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingViewDelete(
ProDrawing drawing
/* (In)
The drawing.
*/
ProView view
/* (In)
The view.
*/
ProBoolean delete_children
/* (In)
Set this to TRUE if child views are to be deleted; otherwise, set this to FALSE. If delete_children is FALSE and child views exist, the parent view will not be deleted.
*/
)
Returns
PRO_TK_NO_ERRORSuccess
PRO_TK_GENERAL_ERRORFailure

Manual References:

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

Sample Code References:

  1. pt_examples ( TestDrwView.c )