MKI_DrawingSetInfo (Drawing) Changed in Version 2019.0

www.CAD6.com

C++ Syntax

bool

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.

 

Parameters

f_pszFileName

[const LPCWSTR] Address of the new file name of the drawing. If nullptr, the drawing's file name will not be altered.

f_pFileHeader

[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 nullptr, the drawing's header will not be altered.

 

Return Value

Returns true if successful. In this case, the drawing will be marked as "modified" (even if both f_pszFileName and f_pFileHeader were nullptr). If false is returned, parameters were invalid.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH