ExportToDXF

  Functions >

ExportToDXF

Previous pageReturn to chapter overviewNext page

The ExportToDXF function exports data from the specified metafile to DXF file.

 

Syntax:

 

BOOL ExporttoDXF(

  HANDLE hMetafile

  LPCSTR lpFileName

  DWORD dwFlags

);

 

Parameters:

 

hMetafile

Specifies the handle of the source Windows metafile to export data.

IpFileName

Points to a null-terminated string that specifies the target DXF file name.

dwFlags

Specifies the export mode. This parameter can combine the following values:

Value

Meaning

XP_USE01MM

 

XP_ALTERNATIVEBLACK

All coordinates are divided by 100 (as metafile 0.01 mm units)

 

Changes RGB black color to index color 7

 

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

 

 

See Also

ExportToCADFile


© 2003-2024 CADSoftTools

Go to CAD DLL