Table of Contents

Class GdiMetafile

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll
[Guid("2f543dc3-cfc1-4211-864f-cfd91c6f3395")]
public class GdiMetafile : Resource
Inheritance
GdiMetafile
Derived
Inherited Members

Constructors

GdiMetafile(nint)

public GdiMetafile(nint nativePtr)

Parameters

nativePtr nint

Properties

Bounds

Gets the bounds of the metafile, in device-independent pixels (DIPs), as reported in the metafile?s header.

public RawRectangleF Bounds { get; }

Property Value

RawRectangleF

Methods

Stream(GdiMetafileSink)

This method streams the contents of the command to the given metafile sink.

public void Stream(GdiMetafileSink sink)

Parameters

sink GdiMetafileSink

The sink into which Direct2D will call back.

Operators

explicit operator GdiMetafile(nint)

public static explicit operator GdiMetafile(nint nativePtr)

Parameters

nativePtr nint

Returns

GdiMetafile