ReaderWmf Methods |
The ReaderWmf type exposes the following members.
Name | Description | |
---|---|---|
Dispose |
Dispose
| |
GetFromClipboard |
Creates metafile from clipboard (if available) and converts it into Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.).
| |
GetFromHemf |
Creates metafile from hemf (handle to metafile) and converts it into Viewbox.
| |
GetGeometryFromClipboard |
Creates metafile from clipboard (if available) and converts it into Viewbox with elements as Shapes (Path, Ellipse, Polyline, etc.) and TextBlocks (for texts).
| |
GetGeometryFromClipboard(GeometrySettings) |
Creates metafile from clipboard (if available) and converts it into Viewbox with elements as Shapes (Path, Ellipse, Polyline, etc.) and TextBlocks (for texts).
| |
GetGeometryFromHemf |
Creates metafile from hemf (handle to metafile) and converts it into Drawing.
| |
GetSize |
Returns the size of the read metafile in the currently used metafile units.
| |
GetSize(MetafileUnits) |
Returns the size of the read metafile in the units specified as the method parameter.
| |
GetXaml |
Gets xaml of the last read metafile with the default setting for WPF.
| |
GetXaml(BaseXamlWriterSettings) |
Gets xaml of the last read metafile.
| |
IsClipboardMetafileAvailable |
Checks if there is a metafile data available on the clipboard and returns true in this case. Otherwise returns false.
| |
Read(Stream) |
Reads metafile (emf or wmf) from stream and returns System.Windows.Controls.Viewbox with elements as Shapes (Path, Ellipse, Polyline, etc.) and TextBlocks (for texts).
| |
Read(String) |
Reads metafile (emf or wmf) and returns System.Windows.Controls.Viewbox with elements as Shapes (Path, Ellipse, Polyline, etc.) and TextBlocks (for texts).
| |
ReadGeometry(Stream) |
Reads metafile (emf or wmf) from fileName and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.) with no geometry optimization.
| |
ReadGeometry(String) |
Reads metafile (emf or wmf) from fileName and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.) with no geometry optimization.
| |
ReadGeometry(Stream, GeometrySettings) |
Reads metafile (emf or wmf) from fileName and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.).
| |
ReadGeometry(String, GeometrySettings) |
Reads metafile (emf or wmf) from fileName and returns System.Windows.Controls.Image with elements as Drawings (DrawingGeometry, EllipseGeometry, GlyphRunDrawing etc.).
| |
Transform |
Transform method transforms all the coordinates, sizes and other values in the last read Viewbox with using transformation.
|