Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

Windows Metafile Formats (WMF and EMF)

Show in webframe

The Windows Metafile (WMF and EMF) formats are vector formats that may or may not also contain a raster image.

EMF/WMF Vector files can be read and written as raster images in the non-vector toolkits.

Vector read/write support for these formats is provided in the LEADTOOLS Vector Imaging Pro toolkit and is unlocked when the Vector features are unlocked.

 

File constants associated with this file format are:

Constant

Read Support

Write Support

Description

FILE_WMF

Yes

Yes

[15] Windows Metafile.

FILE_EMF

Yes

Yes

[116] Windows Enhanced Metafile.

When WMF and EMF files are rasterized, they are either 8 or 24 BPP.

 

The following table indicates which objects LEADTOOLS can load and which objects it can save:

Object:

Load:

Save:

Arc

Supported

Supported

Background color and mode

Supported

Supported

Chord

Supported

Supported

Circle

Supported

Supported

Color

Supported

Supported

Ellipse

Supported

Supported

HPolyBezier

Supported

Supported

Lines

Supported

Supported

Pie

Supported

Supported

PolyBezier

Supported

Supported

PolyDraw

Supported

Supported

Polygons

Supported

Supported

Polyline

Supported

Supported

Raster

Supported

Supported

Rectangle

Supported

Supported

Round Rectangle

Restricted Support

Restricted Support

Spline

Supported

Supported

Text

Supported

Supported

Text(Color and Font Type)

Supported

Supported

Vertex

Supported

Supported

 

Required DLL: LFWMF. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

 

Note:

When working with LEADTOOLS annotations (rather than image files), you can save the annotations as WMF or EMF files containing vector graphics that can be used in other applications.

Related Formats: CGM - Computer Graphics Metafile, CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, DWF - DWF Format, DWG - DWG Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, PS - PostScript Document Format, RTF - Rich Text Format, SHP - ESRI Shape Format, SVG - Scalable Vector Graphics Format, VEC - LEADTOOLS Vector Dump Format, VPG - WordPerfect Vector Format, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.

Platforms

Win32, x64.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.