Click or drag to resize
Ab2d.Controls Namespace
Ab2d.Controls namespace contains controls that can be used in xaml and can show metafiles. To show metafile as shapes use Ab2d.Controls.WmfViewbox or Ab2d.Controls.WmfDrawing to add metafiles as geometry.
Classes
  ClassDescription
Public classCode exampleWmfDrawing
WmfDrawing is an Image control that enables showing Windows Metafile (wmf) and Enhanced Metafiles (emf) images as drawing objects in WPF and can be used in Extensible Application Markup Language (XAML). Set its Source propety to source of wmf or wmf file - use pack Uri specifications. Set OptimizationPercent to optimize the read drawing objects (0 - no optimization, 100 - full optimization).
Public classWmfDrawingAutomationPeer
WmfDrawingAutomationPeer class used for UI Automation
Public classCode exampleWmfViewbox
WmfViewbox is a Viewbox control that enables showing Windows Metafile (wmf) and Enhanced Metafiles (emf) images in WPF and can be used in Extensible Application Markup Language (XAML). Set its Source propety to source of wmf or wmf file - use pack Uri specifications.
Public classWmfViewboxAutomationPeer
WmfViewboxAutomationPeer class used for UI Automation