Interface IGdiMetafile
- Namespace
- PaintDotNet.Direct2D1
- Assembly
- PaintDotNet.Windows.dll
A Direct2D resource that wraps a WMF, EMF, or EMF+ metafile.
See ID2D1GdiMetafile
and ID2D1GdiMetafile1
for more information.
public interface IGdiMetafile : IDirect2DResource, IObjectRef, IIsDisposed, IDisposable, IFactoryProperty, IInternalImpl
- Inherited Members
- Extension Methods
Properties
- Bounds
Gets the bounds of the metafile, in device-independent pixels (DIPs), as reported in the metafile’s header.
- Dpi
Gets the DPI reported by the metafile.
- SourceBounds
Gets the bounds of the metafile in source space in DIPs. This corresponds to the frame rect in an EMF/EMF+.
Methods
- Stream(IGdiMetafileSink)
Streams the contents of the command to the given metafile sink.