![]() |
MKI_DrawingSetInfo (Drawing) Changed in Version 2019.0 |
www.CAD6.com |
C++ Syntaxbool MKI_DrawingSetInfo( const LPCWSTR f_pszFileName, MKI_CONST_FILE_HEADER_PTR f_pFileHeader );
Sets information about a drawing. Especially the drawing's title (located in its header) and its file name.
ParametersFileName [const LPCWSTR] Address of the new file name of the drawing. If FileName is nullptr, the drawing's file name will not be altered. FileHeader [MKI_CONST_FILE_HEADER_PTR] Address of a new drawing header. Only the Title, Theme, Author and Comment entries will be copied to the drawing. If FileHeader is nullptr, the drawing's header will not be altered.
Return ValueReturns true if successful. In this case, the drawing will be marked as "modified" (even if both FileName and FileHeader were nullptr). If false is returned, parameters were invalid.
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH