API 설명서 > Drawings and detail > Object ProDrawing > Function ProDrawingSheetCreate
Function ProDrawingSheetCreate
Description
Adds a sheet to 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>
ProDrawingSheetCreate
(
ProDrawing drawing
/* (In)
The drawing-type model.
*/
int* new_sheet
/* (Out)
The number of the sheet, if the function successfully created it. Otherwise, this is -1.
*/
)
Returns
The function successfully added the sheet to the model.
Model is in read-only state.
The function failed because of an internal error.
One of the arguments is bad (NULL or invalid).
The function failed because you do not have the required modules.
The function did nothing because the model already has the maximum number of sheets allowed.
Sample Code References
User Guide References
도움이 되셨나요?