ExportToCADFile

  Functions >

ExportToCADFile

Previous pageReturn to chapter overviewNext page

The ExportToCADFile function saves to file using metafile. The function saves files to DWG 2000/DXF.

 

Syntax:

 

int ExportToCADFile (

  HANDLE Handle,

    LPCSTR FileName,

    DWORD Flags,

    BYTE AVersion

);

 

 

Parameters:

 

Handle

Metafile handle (HMETAFILE)

FileName

File types are selected according to the FileName file extension

Fllags

Export flags:

Value

Meaning

1

2

Use01MM

AlternativeBlack

AVersion

Defines ACAD drawing file version.

TsgDWGVersion = (acR09, acR10, acR11, acR12, acR13, acR14, acR2000, acR2004, acR2007, acR2010, acR2013).

 

Return Value:

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastErrorCAD.

 

 

See Also

CADCreate  | ExportToDXF  | SaveCADtoFile  | SaveCADtoFileWithXMLParams


© 2003-2024 CADSoftTools

Go to CAD DLL