|
MKI_DrawingArchiveFile (Drawing) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_DrawingArchiveFile( const LPCWSTR f_pszFileName, bool f_fPrompt, bool f_fCompressed );
Archives the current drawing to disk, resolving all external references.
Not supported in CAD6starter!
Parametersf_pszFileName [const LPCWSTR] File name of the drawing file to be created. If nullptr, the current drawing's file name is used. This will fail if the drawing is still untitled. f_fPrompt [bool] If this value is true, the function checks whether the drawing file passed in f_pszFileName already exists. If so, a dialog appears allowing the user to cancel. f_fCompressed [bool] If this value is true, the drawing file will be compressed.
Return ValueReturns true if successful. If false is returned, the file has not been saved successfully, either because the disk was full, or the file name was invalid, or the user did not allow to overwrite an already existing file.
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH