API Documentation > Drawings and detail > Object ProDrawing > Function ProDrawingSheetDelete
Function ProDrawingSheetDelete
Description
Deletes the specified sheet from a drawing-type model. The valid drawing-type models are as follows: Notebook, Format, Drawing, Diagram, Report.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawing.h>
ProDrawingSheetDelete
(
ProDrawing drawing
/* (In)
The drawing-type model
*/
int sheet
/* (In)
The number of the sheet to delete
*/
)
Returns
The function successfully deleted the drawing sheet.
Model is in read-only state.
The function failed because of an internal error.
PRO_TK_BAD_INPUT
The function failed because one or more of the input arguments are invalid.
The function failed because you do not have the required modules.
The function did nothing because the specified sheet is not in the specified drawing.
The Creo Parametric user interface is not prepared to handle this request (because it is blocked by another process such as an OLE container activation).
Sample Code References
User Guide References
Was this helpful?