Class GdiMetafile1
[Guid("2e69f9e8-dd3f-4bf9-95ba-c04f49d788df")]
public class GdiMetafile1 : GdiMetafile
- Inheritance
-
GdiMetafile1
- Inherited Members
Constructors
GdiMetafile1(nint)
public GdiMetafile1(nint nativePtr)
Parameters
nativePtr
nint
Properties
SourceBounds
Gets the bounds of the metafile in source space in DIPs. This corresponds to the frame rect in an EMF/EMF+.
public RawRectangleF SourceBounds { get; }
Property Value
- RawRectangleF
Methods
GetDpi(out float, out float)
Gets the DPI reported by the metafile.
public void GetDpi(out float dpiX, out float dpiY)
Parameters
dpiX
floatReceives the horizontal DPI reported by the metafile.
dpiY
floatReceives the vertical DPI reported by the metafile.
Operators
explicit operator GdiMetafile1(nint)
public static explicit operator GdiMetafile1(nint nativePtr)
Parameters
nativePtr
nint