| 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: | pfcSheetOwner::DeleteSheet |
| Synopsis |
| #include <ProDrawing.h> |
| ProError | ProDrawingSheetDelete | ( |
| ProDrawing drawing | |
| /*
(In) |
| The drawing-type model |
| */ |
| int sheet | |
| /*
(In) |
| The number of the sheet to delete |
| */ |
| ) |
| Returns |
|
| PRO_TK_NO_ERROR | | The function successfully deleted the drawing sheet. |
| PRO_TK_GENERAL_ERROR | | 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. |
| PRO_TK_E_NOT_FOUND | | The function failed because you do not have the required modules. |
| PRO_TK_INVALID_ITEM | | The function did nothing because the specified sheet is not in the specified drawing. |
| PRO_TK_E_DEADLOCK | | 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). |
|