デバイス コンテキストを識別するハンドルおよび Metafile の形式を指定する EmfType 列挙体を指定して、Metafile クラスの新しいインスタンスを初期化します。ファイルの名前を文字列で指定できます。
名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文
'宣言
Public Sub New ( _
referenceHdc As IntPtr, _
emfType As EmfType, _
description As String _
)
'使用
Dim referenceHdc As IntPtr
Dim emfType As EmfType
Dim description As String
Dim instance As New Metafile(referenceHdc, emfType, description)
public Metafile (
IntPtr referenceHdc,
EmfType emfType,
string description
)
public:
Metafile (
IntPtr referenceHdc,
EmfType emfType,
String^ description
)
public Metafile (
IntPtr referenceHdc,
EmfType emfType,
String description
)
public function Metafile (
referenceHdc : IntPtr,
emfType : EmfType,
description : String
)
パラメータ
- referenceHdc
デバイス コンテキストを識別するハンドル。
- description
新しい Metafile を説明する名前。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0