SaveCADtoEMF

  Functions >

SaveCADtoEMF

Previous pageReturn to chapter overviewNext page

The SaveCADtoEMF function saves currently displayed layout to the EMF file format with sizes predefined in R member of the CADDRAW structure.

 

Syntax:

 

int SaveCADtoEMF(

  HANDLE hObject,

  LPCADDRAW lpcd,

  LPCSTR lpFileName

);

 

 

Parameters:

 

hObject

Identifies the CADImage object handle.

lpcd

Points to the CADDRAW structure containing the device context, logical coordinates, drawing format etc.

lpFileName

Points to a null-terminated string that specifies the name of the output EMF file.

 

 

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