Metafileとは? わかりやすく解説

Weblio 辞書 > 辞書・百科事典 > デジタル大辞泉 > Metafileの意味・解説 

メタファイル【metafile】

読み方:めたふぁいる

コンピューターで、複数異な形式データひとまとめにするためのファイル形式ドローソフトで、文字データおよびベクトルグラフィックス・ビットマップグラフィックスの画像データ合わせて保存する場合や、ストリーミング配信などで音声動画ファイルをまとめる場合などに用いられる


Metafile クラス

グラフィック メタファイル定義しますメタファイルには、記録 (構築) して再生 (表示) できる一連のグラフィックス操作記述するレコード格納されています。このクラス継承できません。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

<SerializableAttribute> _
Public NotInheritable Class
 Metafile
    Inherits Image
[SerializableAttribute] 
public sealed class Metafile : Image
[SerializableAttribute] 
public ref class Metafile sealed : public
 Image
/** @attribute SerializableAttribute() */ 
public final class Metafile extends Image
SerializableAttribute 
public final class Metafile extends
 Image
解説解説
使用例使用例

Metafile作成して、PlayRecord メソッド使用する方法次のコード例示します

Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Windows.Forms
' for Marshal.Copy
Imports System.Runtime.InteropServices


Public Class Form1
    Inherits Form
    Private metafile1 As Metafile
    Private metafileDelegate As Graphics.EnumerateMetafileProc
    Private destPoint As Point
    
    Public Sub New() 
        metafile1 = New Metafile("C:\test.wmf")
        metafileDelegate = New Graphics.EnumerateMetafileProc(AddressOf
 MetafileCallback)
        destPoint = New Point(20, 10)
    
    End Sub
    
    Protected Overrides Sub
 OnPaint(ByVal e As PaintEventArgs) 
        e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate)
    
    End Sub
    
    Private Function MetafileCallback(ByVal
 recordType As _
        EmfPlusRecordType, ByVal flags As Integer,
 ByVal dataSize As Integer,
 _
        ByVal data As IntPtr, ByVal
 callbackData As PlayRecordCallback) As Boolean

        Dim dataArray As Byte()
 = Nothing
        If data <> IntPtr.Zero Then

            ' Copy the unmanaged record to a managed byte buffer 
            ' that can be used by PlayRecord.
            dataArray = New Byte(dataSize)
 {}
            Marshal.Copy(data, dataArray, 0, dataSize)
        End If

        metafile1.PlayRecord(recordType, flags, dataSize, dataArray)
        Return True

    End Function
    
    Shared Sub Main() 
        Application.Run(New Form1())
    End Sub

End Class
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;

// for Marshal.Copy
using System.Runtime.InteropServices; 

public class Form1 : Form
{
    private Metafile metafile1;
    private Graphics.EnumerateMetafileProc metafileDelegate;
    private Point destPoint;
    public Form1()
    {
        metafile1 = new Metafile(@"C:\Test.wmf");
        metafileDelegate = new Graphics.EnumerateMetafileProc(MetafileCallback);
        destPoint = new Point(20, 10);
    }
    protected override void OnPaint(PaintEventArgs
 e)
    {
        e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate);
    }
    private bool MetafileCallback(
       EmfPlusRecordType recordType,
       int flags,
       int dataSize,
       IntPtr data,
       PlayRecordCallback callbackData)
    {
        byte[] dataArray = null;
        if (data != IntPtr.Zero)
        {
            // Copy the unmanaged record to a managed byte buffer 
            // that can be used by PlayRecord.
            dataArray = new byte[dataSize];
            Marshal.Copy(data, dataArray, 0, dataSize);
        }

        metafile1.PlayRecord(recordType, flags, dataSize, dataArray);

        return true;
    }

    static void Main()
    {
        Application.Run(new Form1());
    }
}
継承階層継承階層
System.Object
   System.MarshalByRefObject
     System.Drawing.Image
      System.Drawing.Imaging.Metafile
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr)

指定したファイル名使用してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr _
)
Dim fileName As String
Dim referenceHdc As IntPtr

Dim instance As New Metafile(fileName,
 referenceHdc)
public Metafile (
    string fileName,
    IntPtr referenceHdc
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, EmfType)

デバイス コンテキスト識別するハンドルおよび Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    emfType As EmfType _
)
Dim referenceHdc As IntPtr
Dim emfType As EmfType

Dim instance As New Metafile(referenceHdc,
 emfType)
public Metafile (
    IntPtr referenceHdc,
    EmfType emfType
)
public:
Metafile (
    IntPtr referenceHdc, 
    EmfType emfType
)
public Metafile (
    IntPtr referenceHdc, 
    EmfType emfType
)
public function Metafile (
    referenceHdc : IntPtr, 
    emfType : EmfType
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

emfType

Metafile の形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String)

指定したファイル名から、Metafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

使用例使用例

Metafile作成して使用する方法次のコード例示します

Imports System
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.Windows.Forms
' for Marshal.Copy
Imports System.Runtime.InteropServices


Public Class Form1
    Inherits Form
    Private metafile1 As Metafile
    Private metafileDelegate As Graphics.EnumerateMetafileProc
    Private destPoint As Point
    
    Public Sub New() 
        metafile1 = New Metafile("C:\test.wmf")
        metafileDelegate = New Graphics.EnumerateMetafileProc(AddressOf
 MetafileCallback)
        destPoint = New Point(20, 10)
    
    End Sub
    
    Protected Overrides Sub
 OnPaint(ByVal e As PaintEventArgs) 
        e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate)
    
    End Sub
    
    Private Function MetafileCallback(ByVal
 recordType As _
        EmfPlusRecordType, ByVal flags As Integer,
 ByVal dataSize As Integer,
 _
        ByVal data As IntPtr, ByVal
 callbackData As PlayRecordCallback) As Boolean

        Dim dataArray As Byte()
 = Nothing
        If data <> IntPtr.Zero Then

            ' Copy the unmanaged record to a managed byte buffer 
            ' that can be used by PlayRecord.
            dataArray = New Byte(dataSize)
 {}
            Marshal.Copy(data, dataArray, 0, dataSize)
        End If

        metafile1.PlayRecord(recordType, flags, dataSize, dataArray)
        Return True

    End Function
    
    Shared Sub Main() 
        Application.Run(New Form1())
    End Sub

End Class
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Windows.Forms;

// for Marshal.Copy
using System.Runtime.InteropServices; 

public class Form1 : Form
{
    private Metafile metafile1;
    private Graphics.EnumerateMetafileProc metafileDelegate;
    private Point destPoint;
    public Form1()
    {
        metafile1 = new Metafile(@"C:\Test.wmf");
        metafileDelegate = new Graphics.EnumerateMetafileProc(MetafileCallback);
        destPoint = new Point(20, 10);
    }
    protected override void OnPaint(PaintEventArgs
 e)
    {
        e.Graphics.EnumerateMetafile(metafile1, destPoint, metafileDelegate);
    }
    private bool MetafileCallback(
       EmfPlusRecordType recordType,
       int flags,
       int dataSize,
       IntPtr data,
       PlayRecordCallback callbackData)
    {
        byte[] dataArray = null;
        if (data != IntPtr.Zero)
        {
            // Copy the unmanaged record to a managed byte buffer 
            // that can be used by PlayRecord.
            dataArray = new byte[dataSize];
            Marshal.Copy(data, dataArray, 0, dataSize);
        }

        metafile1.PlayRecord(recordType, flags, dataSize, dataArray);

        return true;
    }

    static void Main()
    {
        Application.Run(new Form1());
    }
}
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, Boolean)

ハンドル指定して Metafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    henhmetafile As IntPtr, _
    deleteEmf As Boolean _
)
Dim henhmetafile As IntPtr
Dim deleteEmf As Boolean

Dim instance As New Metafile(henhmetafile,
 deleteEmf)
public Metafile (
    IntPtr henhmetafile,
    bool deleteEmf
)
public:
Metafile (
    IntPtr henhmetafile, 
    bool deleteEmf
)
public Metafile (
    IntPtr henhmetafile, 
    boolean deleteEmf
)
public function Metafile (
    henhmetafile : IntPtr, 
    deleteEmf : boolean
)

パラメータ

henhmetafile

拡張メタファイル識別するハンドル

deleteEmf

Metafile を削除するときに拡張メタファイル識別するハンドル削除する場合trueそれ以外場合false

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, RectangleF)

デバイス コンテキスト、およびそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As RectangleF _
)
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF

Dim instance As New Metafile(referenceHdc,
 frameRect)
public Metafile (
    IntPtr referenceHdc,
    RectangleF frameRect
)
public:
Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : RectangleF
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す RectangleF。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    description As String _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, type, description)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string description
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ description
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String description
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    description : String
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, Rectangle, MetafileFrameUnit)

デバイス コンテキスト、および指定した単位使用してそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit _
)
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit)
public Metafile (
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, EmfType)

データ ストリームデバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    type As EmfType _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim type As EmfType

Dim instance As New Metafile(stream,
 referenceHdc, type)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    EmfType type
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    EmfType type
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    EmfType type
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    type : EmfType
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

type

Metafile形式指定する EmfType。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, Rectangle)

データ ストリームデバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す Rectangle 構造体指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle

Dim instance As New Metafile(stream,
 referenceHdc, frameRect)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    Rectangle frameRect
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, RectangleF)

データ ストリームデバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す RectangleF 構造体指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF

Dim instance As New Metafile(stream,
 referenceHdc, frameRect)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    RectangleF frameRect
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, Rectangle, MetafileFrameUnit, EmfType)

デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit, type)
public Metafile (
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream)


Metafile コンストラクタ (Stream, IntPtr, EmfType, String)

データ ストリームデバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。また、新しMetafile説明する名前が含まれ文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    type As EmfType, _
    description As String _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(stream,
 referenceHdc, type, description)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    EmfType type,
    string description
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    EmfType type, 
    String^ description
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    EmfType type, 
    String description
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    type : EmfType, 
    description : String
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, Rectangle, MetafileFrameUnit)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, RectangleF, MetafileFrameUnit)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, Rectangle, MetafileFrameUnit)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle 構造体

frameUnit

frameRect単位指定する MetafileFrameUnit。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。ファイルの名前を文字列指定できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    desc As String _
)
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim desc As String

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit, type, desc)
public Metafile (
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string desc
)
public:
Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ desc
)
public Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String desc
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    desc : String
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

desc

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit, type)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit, type)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, Rectangle, MetafileFrameUnit, EmfType)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, type)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, Rectangle, MetafileFrameUnit, String)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    description As String _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim description As String

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, description)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    string description
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    String^ description
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    String description
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    description : String
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

description

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。新しMetafile説明する名前が含まれ文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    description As String _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit, type, description)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string description
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ description
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String description
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    description : String
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, Rectangle)

ファイル名デバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す Rectangle 構造体指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    Rectangle frameRect
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。新しMetafile説明する名前が含まれ文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    stream As Stream, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    description As String _
)
Dim stream As Stream
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(stream,
 referenceHdc, frameRect, frameUnit, type, description)
public Metafile (
    Stream stream,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string description
)
public:
Metafile (
    Stream^ stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ description
)
public Metafile (
    Stream stream, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String description
)
public function Metafile (
    stream : Stream, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    description : String
)

パラメータ

stream

この Metafile のデータ格納している Stream

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As Rectangle, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    description As String _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, type, description)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    Rectangle frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string description
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ description
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    Rectangle frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String description
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : Rectangle, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    description : String
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す Rectangle

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, RectangleF, MetafileFrameUnit, String)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    desc As String _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim desc As String

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, desc)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    string desc
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    String^ desc
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    String desc
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    desc : String
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

desc

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ

Metafile クラス新しインスタンス初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
Metafile (Stream) 指定したデータ ストリームMetafile クラス新しインスタンス初期化します。
Metafile (String) 指定したファイル名から、Metafile クラス新しインスタンス初期化します。
Metafile (IntPtr, Boolean) ハンドル指定して Metafile クラス新しインスタンス初期化します。
Metafile (IntPtr, EmfType) デバイス コンテキスト識別するハンドルおよび Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, Rectangle) デバイス コンテキスト、およびそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, RectangleF) デバイス コンテキスト、およびそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, WmfPlaceableFileHeader) ハンドルと WmfPlaceableFileHeader を指定して Metafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr) 指定したデータ ストリームMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr) 指定したファイル名使用してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, EmfType, String) デバイス コンテキスト識別するハンドルおよび Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。ファイルの名前を文字列指定できます
Metafile (IntPtr, Rectangle, MetafileFrameUnit) デバイス コンテキスト、および指定した単位使用してそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, RectangleF, MetafileFrameUnit) デバイス コンテキスト、および指定した単位使用してそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, WmfPlaceableFileHeader, Boolean) ハンドルWmfPlaceableFileHeader指定して Metafile クラス新しインスタンス初期化します。また、メタファイル削除するときに、deleteWmf パラメータ使用してハンドル削除できます
Metafile (Stream, IntPtr, EmfType) データ ストリームデバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr, Rectangle) データ ストリームデバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す Rectangle 構造体指定してMetafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr, RectangleF) データ ストリームデバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す RectangleF 構造体指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, EmfType) ファイル名デバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, Rectangle) ファイル名デバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す Rectangle 構造体指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, RectangleF) ファイル名デバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す RectangleF 構造体指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, Rectangle, MetafileFrameUnit, EmfType) デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, RectangleF, MetafileFrameUnit, EmfType) デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr, EmfType, String) データ ストリームデバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。また、新しMetafile説明する名前が含まれ文字列追加できます
Metafile (Stream, IntPtr, Rectangle, MetafileFrameUnit) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr, RectangleF, MetafileFrameUnit) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, EmfType, String) ファイル名デバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます
Metafile (String, IntPtr, Rectangle, MetafileFrameUnit) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, RectangleF, MetafileFrameUnit) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。
Metafile (IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。ファイルの名前を文字列指定できます
Metafile (IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。ファイルの名前を文字列指定できます
Metafile (Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, Rectangle, MetafileFrameUnit, EmfType) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, Rectangle, MetafileFrameUnit, String) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます
Metafile (String, IntPtr, RectangleF, MetafileFrameUnit, EmfType) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。
Metafile (String, IntPtr, RectangleF, MetafileFrameUnit, String) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます
Metafile (Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。新しMetafile説明する名前が含まれ文字列追加できます
Metafile (Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) データ ストリームデバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。新しMetafile説明する名前が含まれ文字列追加できます
Metafile (String, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す Rectangle 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます
Metafile (String, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String) ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます
参照参照

関連項目

Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, EmfType, String)

ファイル名デバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。説明する文字列追加できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    type As EmfType, _
    description As String _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(fileName,
 referenceHdc, type, description)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    EmfType type,
    string description
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    EmfType type, 
    String^ description
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    EmfType type, 
    String description
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    type : EmfType, 
    description : String
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, EmfType)

ファイル名デバイス コンテキスト識別する Windows ハンドル、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    type As EmfType _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim type As EmfType

Dim instance As New Metafile(fileName,
 referenceHdc, type)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    EmfType type
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    EmfType type
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    EmfType type
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    type : EmfType
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

type

Metafile形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, RectangleF, MetafileFrameUnit)

デバイス コンテキスト、および指定した単位使用してそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit _
)
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit)
public Metafile (
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。ファイルの名前を文字列指定できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType, _
    description As String _
)
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType
Dim description As String

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit, type, description)
public Metafile (
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type,
    string description
)
public:
Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String^ description
)
public Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type, 
    String description
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType, 
    description : String
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

description

新しMetafile説明する名前を格納している String

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, RectangleF)

ファイル名デバイス コンテキスト識別する Windows ハンドル、および新しMetafile範囲を示す四角形を表す RectangleF 構造体指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    RectangleF frameRect
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体単位、および Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit, type)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, WmfPlaceableFileHeader, Boolean)

ハンドルWmfPlaceableFileHeader指定して Metafile クラス新しインスタンス初期化します。また、メタファイル削除するときに、deleteWmf パラメータ使用してハンドル削除できます

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    hmetafile As IntPtr, _
    wmfHeader As WmfPlaceableFileHeader, _
    deleteWmf As Boolean _
)
Dim hmetafile As IntPtr
Dim wmfHeader As WmfPlaceableFileHeader
Dim deleteWmf As Boolean

Dim instance As New Metafile(hmetafile,
 wmfHeader, deleteWmf)
public Metafile (
    IntPtr hmetafile,
    WmfPlaceableFileHeader wmfHeader,
    bool deleteWmf
)
public:
Metafile (
    IntPtr hmetafile, 
    WmfPlaceableFileHeader^ wmfHeader, 
    bool deleteWmf
)
public Metafile (
    IntPtr hmetafile, 
    WmfPlaceableFileHeader wmfHeader, 
    boolean deleteWmf
)
public function Metafile (
    hmetafile : IntPtr, 
    wmfHeader : WmfPlaceableFileHeader, 
    deleteWmf : boolean
)

パラメータ

hmetafile

Metafile を識別する Windows ハンドル

wmfHeader

WmfPlaceableFileHeader。

deleteWmf

Metafile削除するときに新しMetafile識別するハンドル削除する場合trueそれ以外場合false

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, Rectangle)

デバイス コンテキスト、およびそのデバイス コンテキスト範囲を示す四角形指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As Rectangle _
)
Dim referenceHdc As IntPtr
Dim frameRect As Rectangle

Dim instance As New Metafile(referenceHdc,
 frameRect)
public Metafile (
    IntPtr referenceHdc,
    Rectangle frameRect
)
public:
Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public Metafile (
    IntPtr referenceHdc, 
    Rectangle frameRect
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : Rectangle
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す Rectangle

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, RectangleF, MetafileFrameUnit, EmfType)

デバイス コンテキスト指定した単位使用してそのデバイス コンテキスト範囲を示す四角形Metafile形式指定する EmfType 列挙体を指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit, _
    type As EmfType _
)
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit
Dim type As EmfType

Dim instance As New Metafile(referenceHdc,
 frameRect, frameUnit, type)
public Metafile (
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit,
    EmfType type
)
public:
Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public Metafile (
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit, 
    EmfType type
)
public function Metafile (
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit, 
    type : EmfType
)

パラメータ

referenceHdc

デバイス コンテキスト識別するハンドル

frameRect

新しい Metafile の範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

type

Metafile形式指定する EmfType。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (String, IntPtr, RectangleF, MetafileFrameUnit)

ファイル名デバイス コンテキスト識別する Windows ハンドル新しMetafile範囲を示す四角形を表す RectangleF 構造体、および単位指定してMetafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    fileName As String, _
    referenceHdc As IntPtr, _
    frameRect As RectangleF, _
    frameUnit As MetafileFrameUnit _
)
Dim fileName As String
Dim referenceHdc As IntPtr
Dim frameRect As RectangleF
Dim frameUnit As MetafileFrameUnit

Dim instance As New Metafile(fileName,
 referenceHdc, frameRect, frameUnit)
public Metafile (
    string fileName,
    IntPtr referenceHdc,
    RectangleF frameRect,
    MetafileFrameUnit frameUnit
)
public:
Metafile (
    String^ fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public Metafile (
    String fileName, 
    IntPtr referenceHdc, 
    RectangleF frameRect, 
    MetafileFrameUnit frameUnit
)
public function Metafile (
    fileName : String, 
    referenceHdc : IntPtr, 
    frameRect : RectangleF, 
    frameUnit : MetafileFrameUnit
)

パラメータ

fileName

新しい Metafile のファイル名を表す String

referenceHdc

デバイス コンテキスト識別する Windows ハンドル

frameRect

新しMetafile範囲を示す四角形を表す RectangleF。

frameUnit

frameRect単位指定する MetafileFrameUnit。

.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (Stream, IntPtr)


Metafile コンストラクタ (IntPtr, WmfPlaceableFileHeader)

ハンドルWmfPlaceableFileHeader指定して Metafile クラス新しインスタンス初期化します。

名前空間: System.Drawing.Imaging
アセンブリ: System.Drawing (system.drawing.dll 内)
構文構文

Public Sub New ( _
    hmetafile As IntPtr, _
    wmfHeader As WmfPlaceableFileHeader _
)
Dim hmetafile As IntPtr
Dim wmfHeader As WmfPlaceableFileHeader

Dim instance As New Metafile(hmetafile,
 wmfHeader)
public Metafile (
    IntPtr hmetafile,
    WmfPlaceableFileHeader wmfHeader
)
public:
Metafile (
    IntPtr hmetafile, 
    WmfPlaceableFileHeader^ wmfHeader
)
public Metafile (
    IntPtr hmetafile, 
    WmfPlaceableFileHeader wmfHeader
)
public function Metafile (
    hmetafile : IntPtr, 
    wmfHeader : WmfPlaceableFileHeader
)

パラメータ

hmetafile

Metafile を識別する Windows ハンドル

wmfHeader

WmfPlaceableFileHeader。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile コンストラクタ (IntPtr, EmfType, String)

デバイス コンテキスト識別するハンドルおよび 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

デバイス コンテキスト識別するハンドル

emfType

Metafile の形式指定する EmfType。

description

新しMetafile説明する名前。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
Metafile クラス
Metafile メンバ
System.Drawing.Imaging 名前空間

Metafile プロパティ


パブリック プロパティパブリック プロパティ

  名前 説明
パブリック プロパティ Flags  この Imageピクセル データ対す属性フラグ取得します。 ( Image から継承されます。)
パブリック プロパティ FrameDimensionsList  この Image 内のフレーム大きさを表す GUID配列取得します。 ( Image から継承されます。)
パブリック プロパティ Height  この Image の高さ (ピクセル単位) を取得します。 ( Image から継承されます。)
パブリック プロパティ HorizontalResolution  この Image平方向の解像度 (1 インチあたりのピクセル数) を取得します。 ( Image から継承されます。)
パブリック プロパティ Palette  この Image使用するカラー パレット取得または設定します。 ( Image から継承されます。)
パブリック プロパティ PhysicalDimension  このイメージの幅と高さを取得します。 ( Image から継承されます。)
パブリック プロパティ PixelFormat  この Imageピクセル形式取得します。 ( Image から継承されます。)
パブリック プロパティ PropertyIdList  この Image格納されプロパティ項目の ID取得します。 ( Image から継承されます。)
パブリック プロパティ PropertyItems  この Image格納されすべてのプロパティ項目 (メタデータ一部) を取得します。 ( Image から継承されます。)
パブリック プロパティ RawFormat  この Image形式取得します。 ( Image から継承されます。)
パブリック プロパティ Size  このイメージの幅と高さ (ピクセル単位) を取得します。 ( Image から継承されます。)
パブリック プロパティ Tag  イメージに関する追加データ提供するオブジェクト取得または設定します。 ( Image から継承されます。)
パブリック プロパティ VerticalResolution  この Image の垂直方向の解像度 (1 インチあたりのピクセル数) を取得します。 ( Image から継承されます。)
パブリック プロパティ Width  この Image の幅 (ピクセル単位) を取得します。 ( Image から継承されます。)
参照参照

関連項目

Metafile クラス
System.Drawing.Imaging 名前空間

Metafile メソッド


パブリック メソッドパブリック メソッド

( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Clone  対象Image同一コピー作成します。 ( Image から継承されます。)
パブリック メソッド CreateObjRef  リモート オブジェクトとの通信使用するプロキシ生成必要な情報をすべて格納しているオブジェクト作成します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド Dispose  この Image によって使用されているすべてのリソース解放します。 ( Image から継承されます。)
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 ( Object から継承されます。)
パブリック メソッド FromFile  オーバーロードされます指定したファイルかImage作成します。 ( Image から継承されます。)
パブリック メソッド FromHbitmap  オーバーロードされますWindows ハンドルから Bitmap作成します。 ( Image から継承されます。)
パブリック メソッド FromStream  オーバーロードされます指定したデータ ストリームから Image作成します。 ( Image から継承されます。)
パブリック メソッド GetBounds  指定した単位イメージ範囲取得します。 ( Image から継承されます。)
パブリック メソッド GetEncoderParameterList  指定したイメージ エンコーダサポートされパラメータについての情報返します。 ( Image から継承されます。)
パブリック メソッド GetFrameCount  指定したディメンションフレームの数を返します。 ( Image から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 ( Object から継承されます。)
パブリック メソッド GetHenhmetafile 拡張 Metafile を識別する Windows ハンドル返します
パブリック メソッド GetLifetimeService  対象インスタンス有効期間ポリシー制御する現在の有効期間サービス オブジェクト取得します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド GetMetafileHeader オーバーロードされます。 この Metafile関連付けられている MetafileHeader を返します
パブリック メソッド GetPixelFormatSize  指定したピクセル形式色深度 (1 ピクセルあたりのビットの数) を返します。 ( Image から継承されます。)
パブリック メソッド GetPropertyItem  この Image指定したプロパティ項目を取得します。 ( Image から継承されます。)
パブリック メソッド GetThumbnailImage  この Imageサムネイル返します。 ( Image から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 ( Object から継承されます。)
パブリック メソッド InitializeLifetimeService  対象インスタンス有効期間ポリシー制御する有効期間サービス オブジェクト取得します。 ( MarshalByRefObject から継承されます。)
パブリック メソッド IsAlphaPixelFormat  この Imageピクセル形式に、アルファ情報含まれているかどうかを示す値を返します。 ( Image から継承されます。)
パブリック メソッド IsCanonicalPixelFormat  1 ピクセルあたり 32 ビットピクセル形式であるかどうかを示す値を返します。 ( Image から継承されます。)
パブリック メソッド IsExtendedPixelFormat  1 ピクセルあたり 64 ビットピクセル形式であるかどうかを示す値を返します。 ( Image から継承されます。)
パブリック メソッド PlayRecord 個別メタファイル レコード再生します。
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 ( Object から継承されます。)
パブリック メソッド RemovePropertyItem  指定したプロパティ項目をこの Image から削除します。 ( Image から継承されます。)
パブリック メソッド RotateFlip  このメソッドは、Image に対して回転反転、または回転反転両方行います。 ( Image から継承されます。)
パブリック メソッド Save  オーバーロードされます。 このイメージを、指定した形式指定したストリーム保存します。 ( Image から継承されます。)
パブリック メソッド SaveAdd  オーバーロードされます指定した Image 内の情報をこの Image追加します指定した EncoderParameters によって、新し情報既存イメージ取り込まれるかどうか決定されます。 ( Image から継承されます。)
パブリック メソッド SelectActiveFrame  ディメンションおよびインデックス指定されフレーム選択します。 ( Image から継承されます。)
パブリック メソッド SetPropertyItem  この Image に、プロパティ項目 (メタデータ一部) を格納します。 ( Image から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 ( Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Metafile クラス
System.Drawing.Imaging 名前空間

Metafile メンバ

グラフィック メタファイル定義しますメタファイルには、記録 (構築) して再生 (表示) できる一連のグラフィックス操作記述するレコード格納されています。このクラス継承できません。

Metafile データ型公開されるメンバを以下の表に示します


パブリック コンストラクタパブリック コンストラクタ
パブリック プロパティパブリック プロパティ
  名前 説明
パブリック プロパティ Flags  この Imageピクセル データ対す属性フラグ取得します。(Image から継承されます。)
パブリック プロパティ FrameDimensionsList  この Image 内のフレーム大きさを表す GUID配列取得します。(Image から継承されます。)
パブリック プロパティ Height  この Image の高さ (ピクセル単位) を取得します。(Image から継承されます。)
パブリック プロパティ HorizontalResolution  この Image平方向の解像度 (1 インチあたりのピクセル数) を取得します。(Image から継承されます。)
パブリック プロパティ Palette  この Image使用するカラー パレット取得または設定します。(Image から継承されます。)
パブリック プロパティ PhysicalDimension  このイメージの幅と高さを取得します。(Image から継承されます。)
パブリック プロパティ PixelFormat  この Imageピクセル形式取得します。(Image から継承されます。)
パブリック プロパティ PropertyIdList  この Image格納されプロパティ項目の ID取得します。(Image から継承されます。)
パブリック プロパティ PropertyItems  この Image格納されすべてのプロパティ項目 (メタデータ一部) を取得します。(Image から継承されます。)
パブリック プロパティ RawFormat  この Image形式取得します。(Image から継承されます。)
パブリック プロパティ Size  このイメージの幅と高さ (ピクセル単位) を取得します。(Image から継承されます。)
パブリック プロパティ Tag  イメージに関する追加データ提供するオブジェクト取得または設定します。(Image から継承されます。)
パブリック プロパティ VerticalResolution  この Image の垂直方向の解像度 (1 インチあたりのピクセル数) を取得します。(Image から継承されます。)
パブリック プロパティ Width  この Image の幅 (ピクセル単位) を取得します。(Image から継承されます。)
パブリック メソッドパブリック メソッド
( プロテクト メソッド参照)
  名前 説明
パブリック メソッド Clone  対象Image同一コピー作成します。 (Image から継承されます。)
パブリック メソッド CreateObjRef  リモート オブジェクトとの通信使用するプロキシ生成必要な情報をすべて格納しているオブジェクト作成します。 (MarshalByRefObject から継承されます。)
パブリック メソッド Dispose  この Image によって使用されているすべてのリソース解放します。 (Image から継承されます。)
パブリック メソッド Equals  オーバーロードされます2 つObject インスタンス等しかどうか判断します。 (Object から継承されます。)
パブリック メソッド FromFile  オーバーロードされます指定したファイルかImage作成します。 (Image から継承されます。)
パブリック メソッド FromHbitmap  オーバーロードされますWindows ハンドルから Bitmap作成します。 (Image から継承されます。)
パブリック メソッド FromStream  オーバーロードされます指定したデータ ストリームから Image作成します。 (Image から継承されます。)
パブリック メソッド GetBounds  指定した単位イメージ範囲取得します。 (Image から継承されます。)
パブリック メソッド GetEncoderParameterList  指定したイメージ エンコーダサポートされパラメータについての情報返します。 (Image から継承されます。)
パブリック メソッド GetFrameCount  指定したディメンションフレームの数を返します。 (Image から継承されます。)
パブリック メソッド GetHashCode  特定の型のハッシュ関数として機能します。GetHashCode は、ハッシュ アルゴリズムや、ハッシュ テーブルのようなデータ構造での使用適してます。 (Object から継承されます。)
パブリック メソッド GetHenhmetafile 拡張 Metafile識別する Windows ハンドル返します
パブリック メソッド GetLifetimeService  対象インスタンス有効期間ポリシー制御する現在の有効期間サービス オブジェクト取得します。 (MarshalByRefObject から継承されます。)
パブリック メソッド GetMetafileHeader オーバーロードされます。 この Metafile関連付けられている MetafileHeader を返します
パブリック メソッド GetPixelFormatSize  指定したピクセル形式色深度 (1 ピクセルあたりのビットの数) を返します。 (Image から継承されます。)
パブリック メソッド GetPropertyItem  この Image指定したプロパティ項目を取得します。 (Image から継承されます。)
パブリック メソッド GetThumbnailImage  この Imageサムネイル返します。 (Image から継承されます。)
パブリック メソッド GetType  現在のインスタンスType取得します。 (Object から継承されます。)
パブリック メソッド InitializeLifetimeService  対象インスタンス有効期間ポリシー制御する有効期間サービス オブジェクト取得します。 (MarshalByRefObject から継承されます。)
パブリック メソッド IsAlphaPixelFormat  この Imageピクセル形式に、アルファ情報含まれているかどうかを示す値を返します。 (Image から継承されます。)
パブリック メソッド IsCanonicalPixelFormat  1 ピクセルあたり 32 ビットピクセル形式であるかどうかを示す値を返します。 (Image から継承されます。)
パブリック メソッド IsExtendedPixelFormat  1 ピクセルあたり 64 ビットピクセル形式であるかどうかを示す値を返します。 (Image から継承されます。)
パブリック メソッド PlayRecord 個別メタファイル レコード再生します。
パブリック メソッド ReferenceEquals  指定した複数Object インスタンス同一かどうか判断します。 (Object から継承されます。)
パブリック メソッド RemovePropertyItem  指定したプロパティ項目をこの Image から削除します。 (Image から継承されます。)
パブリック メソッド RotateFlip  このメソッドは、Image に対して回転反転、または回転反転両方行います。 (Image から継承されます。)
パブリック メソッド Save  オーバーロードされます。 このイメージを、指定した形式指定したストリーム保存します。 (Image から継承されます。)
パブリック メソッド SaveAdd  オーバーロードされます指定した Image 内の情報をこの Image追加します指定した EncoderParameters によって、新し情報既存イメージ取り込まれるかどうか決定されます。 (Image から継承されます。)
パブリック メソッド SelectActiveFrame  ディメンションおよびインデックス指定されフレーム選択します。 (Image から継承されます。)
パブリック メソッド SetPropertyItem  この Image に、プロパティ項目 (メタデータ一部) を格納します。 (Image から継承されます。)
パブリック メソッド ToString  現在の Object を表す String返します。 (Object から継承されます。)
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

Metafile クラス
System.Drawing.Imaging 名前空間

メタファイル

(Metafile から転送)

出典: フリー百科事典『ウィキペディア(Wikipedia)』 (2018/10/20 09:18 UTC 版)

メタファイル (: metafile) は、中間情報を記録するためのファイルフォーマット。データそのものではなく、データを再現するためのデータ(メタデータ)を含む。




「メタファイル」の続きの解説一覧


英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「Metafile」の関連用語

Metafileのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Metafileのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.
ウィキペディアウィキペディア
All text is available under the terms of the GNU Free Documentation License.
この記事は、ウィキペディアのメタファイル (改訂履歴)の記事を複製、再配布したものにあたり、GNU Free Documentation Licenseというライセンスの下で提供されています。 Weblio辞書に掲載されているウィキペディアの記事も、全てGNU Free Documentation Licenseの元に提供されております。

©2024 GRAS Group, Inc.RSS