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_PARSEWHITE

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

 

All white rectangles in the source metafile are treated as “erasing” elements.

 

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

 

 

See Also

ExportToCADFile


© 2003-2021 CADSoftTools

Go to CAD DLL