|
MKI_DrawingExportEmf (Import and Export) Changed in Version 2026.0 |
www.CAD6.com |
C++ SyntaxMKI_DrawingExportEmf( const LPCWSTR f_pszFileName, __int32 f_nExportContext, __int32 f_nFilterMode, __int32 f_nFlag, MKI_CONST_EMF_EXPORT_PTR f_pData );
Exports the current drawing to an EMF file.
Parametersf_pszFileName [const LPCWSTR] File name of the EMF file to which the drawing shall be exported. f_nExportContext New in Version 2026.0 [__int32] Export context. Possible values: MKI_EXPORTCONTEXT_SAVE The complete drawing shall be exported (f_nFlag will usually be MKI_FLAG_NULL). MKI_EXPORTCONTEXT_EXPORT Only parts of the drawing shall be exported (f_nFlag will usually be MKI_FLAG_USE). f_nFilterMode [__int32] A bit-wise OR combination of special filter modes. It can be any combination of the following values: MKI_FILTERMODE_NULL No special mode. MKI_FILTERMODE_NO_ERROR The export filter shall not display any (interrupting) messages in case of errors and no interrupting user interaction. MKI_FILTERMODE_NO_FEEDBACK The export filter shall not display any (non-interrupting) progress indication dialogs or other optical feedback. f_nFlag [__int32] Determines which entities shall be exported. Use MKI_FLAG_NULL to export the complete drawing or any combination of MKI_FLAG_* to export a specific subset of entities. f_pData [MKI_CONST_EMF_EXPORT_PTR] Address of a buffer containing the EMF export parameters to be used. If nullptr, the system's current parameters will be used.
Return ValueEnumeration result as a bit-wise OR combination of flags (see MKI_RESULT_*). Some results indicate minor problems and do NOT mean that the export was stopped or unsuccessful!
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH