Download Windows Metafile Library
Description
The library supports reading and writing WMF files. Source code is written in pure .NET from scratch following the Windows Metafile Format Specification.
Source Files
The download file wmf.zip has the following entries.
BuildProcessTemplates/DefaultTemplate.11.1.xaml
BuildProcessTemplates/LabDefaultTemplate.11.xaml
BuildProcessTemplates/UpgradeTemplate.xaml
library/Attributes/WmfObjectAttribute.cs
library/Attributes/WmfRecordAttribute.cs
library/Enums/BinaryRasterOperation.cs//from w ww .j a v a2s. co m
library/Enums/BitCount.cs
library/Enums/BrushStyle.cs
library/Enums/CharacterSet.cs
library/Enums/ClipPrecision.cs
library/Enums/ColorUsage.cs
library/Enums/Compression.cs
library/Enums/ExtTextOutOptions.cs
library/Enums/FamilyFont.cs
library/Enums/FloodFill.cs
library/Enums/FontQuality.cs
library/Enums/GamutMappingIntent.cs
library/Enums/HatchStyle.cs
library/Enums/Layout.cs
library/Enums/LogicalColorSpace.cs
library/Enums/LogicalColorSpaceV5.cs
library/Enums/MapMode.cs
library/Enums/MetafileEscapes.cs
library/Enums/MetafileType.cs
library/Enums/MetafileVersion.cs
library/Enums/MixMode.cs
library/Enums/OutPrecision.cs
library/Enums/PaletteEntryFlag.cs
library/Enums/PenStyle.cs
library/Enums/PitchFont.cs
library/Enums/PolyFillMode.cs
library/Enums/PostScriptCap.cs
library/Enums/PostScriptFeatureSetting.cs
library/Enums/PostScriptJoin.cs
library/Enums/RecordType.cs
library/Enums/StretchMode.cs
library/Enums/TernaryRasterOperation.cs
library/Enums/TextAlignmentMode.cs
library/Extensions/BinaryReaderExtensions.cs
library/Extensions/BinaryWriterExtensions.cs
library/Interfaces/IBinaryObject.cs
library/Interfaces/IBinaryRecord.cs
library/Interfaces/IDIBHeaderInfo.cs
library/Library.csproj
library/Objects/Bitmap16.cs
library/Objects/BitmapCoreHeader.cs
library/Objects/BitmapInfoHeader.cs
library/Objects/BitmapV4Header.cs
library/Objects/BitmapV5Header.cs
library/Objects/CIEXYZ.cs
library/Objects/CIEXYZTriple.cs
library/Objects/ColorRef.cs
library/Objects/DeviceIndependentBitmap.cs
library/Objects/LogBrush.cs
library/Objects/Palette.cs
library/Objects/PaletteEntry.cs
library/Objects/Pen.cs
library/Objects/PointL.cs
library/Objects/PointS.cs
library/Objects/RGBQuad.cs
library/Objects/Rect.cs
library/Objects/RectL.cs
library/Objects/Region.cs
library/Objects/Scan.cs
library/Objects/SizeL.cs
library/Objects/WmfBinaryObject.cs
library/Properties/AssemblyInfo.cs
library/Records/Bitmap/WmfBitBltRecord.cs
library/Records/Bitmap/WmfDIBBitBltRecord.cs
library/Records/Bitmap/WmfDIBStretchBltRecord.cs
library/Records/Bitmap/WmfSetDIBToDevRecord.cs
library/Records/Bitmap/WmfStretchBltRecord.cs
library/Records/Bitmap/WmfStretchDIBRecord.cs
library/Records/Control/WmfEndOfFileRecord.cs
library/Records/Control/WmfHeader.cs
library/Records/Drawing/WmfArcRecord.cs
library/Records/Drawing/WmfChordRecord.cs
library/Records/Drawing/WmfEllipseRecord.cs
library/Records/Drawing/WmfExtFloodFillRecord.cs
library/Records/Drawing/WmfExtTextoutRecord.cs
library/Records/Drawing/WmfFillRegionRecord.cs
library/Records/Drawing/WmfFloodFillRecord.cs
library/Records/Drawing/WmfFrameRegionRecord.cs
library/Records/Drawing/WmfInvertRegionRecord.cs
library/Records/Drawing/WmfLineToRecord.cs
library/Records/Drawing/WmfPaintRegionRecord.cs
library/Records/Drawing/WmfPatBltRecord.cs
library/Records/Drawing/WmfPieRecord.cs
library/Records/Drawing/WmfPolyPolygonRecord.cs
library/Records/Drawing/WmfPolygonRecord.cs
library/Records/Drawing/WmfPolylineRecord.cs
library/Records/Drawing/WmfRectangleRecord.cs
library/Records/Drawing/WmfRoundRectRecord.cs
library/Records/Drawing/WmfSetPixelRecord.cs
library/Records/Drawing/WmfTextoutRecord.cs
library/Records/Object/WmfCreateBrushIndirectRecord.cs
library/Records/Object/WmfCreateFontIndirectRecord.cs
library/Records/Object/WmfCreatePalette.cs
library/Records/Object/WmfCreatePatternBrushRecord.cs
library/Records/Object/WmfCreatePenIndirectRecord.cs
library/Records/Object/WmfCreateRegionRecord.cs
library/Records/Object/WmfDIBCreatePatternBrushRecord.cs
library/Records/Object/WmfDeleteObjectRecord.cs
library/Records/Object/WmfSelectClipRegionRecord.cs
library/Records/Object/WmfSelectObjectRecord.cs
library/Records/Object/WmfSelectPalette.cs
library/Records/State/WmfMoveToRecord.cs
library/Records/State/WmfRealizePalette.cs
library/Records/State/WmfSetBkModeRecord.cs
library/Records/State/WmfSetMapModeRecord.cs
library/Records/State/WmfSetPolyFillModeRecord.cs
library/Records/State/WmfSetTextAlignRecord.cs
library/Records/State/WmfSetTextCharExtraRecord.cs
library/Records/State/WmfSetTextColorRecord.cs
library/Records/State/WmfSetTextJustificationRecord.cs
library/Records/State/WmfSetWindowExtRecord.cs
library/Records/State/WmfSetWindowOrgRecord.cs
library/Records/WmfBinaryRecord.cs
library/Records/WmfFormat.cs
library/Records/WmfUnknownRecord.cs
library/WmfDocument.cs
library/WmfException.cs
library/WmfHelper.cs
library/WmfReader.cs
library/WmfWriter.cs
make.bat
sample/Console.csproj
sample/Program.cs
sample/Properties/AssemblyInfo.cs
wmf.sln
Download
Click the following link to download wmf.zip.
wmf.zipHome »
C# Free Code »
Development »
C# Free Code »
Development »