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 版)

Jump to navigation Jump to search

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

メタデータを記録して、必要に応じて再生する方式を採用することにより、情報量を削減できるなどのメリットがある。

以下に代表例を示す。

コンピュータグラフィックス・メタファイル

コンピュータグラフィックス (CG) の画像データ(ベクター画像)を保存する形式の一つである。画像そのものではなく、直線や矩形といった図形の描画命令を記録するのが特徴。ラスター画像データ (ビットマップ) を内部に含むことができるものも存在する。

通例、メタファイルは、オペレーティングシステム (OS) の描画APIを経由したグラフィックス描画命令(コマンド)を、モニターやプリンターといったハードウェアデバイス(に関連付けられているメモリ内のデバイスコンテキスト)ではなく、ファイルに出力して記録する。画像を再現するにはそのファイルに記録された描画命令を実行すれば同じ画像が得られる。ただし、グラフィックス描画命令やグラフィックス描画エンジンにOS間の互換性がなく、結果としてメタファイルにも互換性がないことがある。例えば、MacintoshのメタファイルであるPICT(の一部)とOS/2のメタファイルには互換性がないし、WindowsやX Window Systemにも互換性がない。

プリンターレベルで描画を制御する言語をプリンター制御言語ないし ページ記述言語 (PDL) と呼ぶが、PDLの一種であるPostScriptは特に広く用いられたためあたかもメタファイルのような扱いを受け、文書をコンピュータ上でやりとりするためのデータ形式としても用いられた。3DMFはMacintoshのQuickDraw 3Dにおけるメタファイルであるが、3Dモデルのデータ形式としても広く用いられた。

Windowsでのグラフィックスメタファイルの代表的なものとしては、Graphics Device Interface (GDI) APIに対応するWindows Metafileが挙げられる。

プラットフォーム非依存の2次元コンピュータグラフィックスのメタファイル標準規格としては、Computer Graphics Metafile (CGM) やScalable Vector Graphics (SVG) が挙げられる。

3次元コンピュータグラフィックスやCADで使われるファイル形式は多数存在するが、いずれも3次元空間における頂点あるいは面の位置情報や法線情報などを記録するメタファイルである。代表例としてWavefront OBJやDXFが挙げられる。

そのほか、Microsoft Wordのドキュメントファイル (.doc/.docx) やアドビシステムズのPortable Document Format (PDF) などもメタファイルの一種である。

ストリーミングメディア・メタファイル

ストリーミングで使う、メディアファイル(音声ファイルや動画ファイル)のURLを記述したファイル。URLは複数記述することができ、順に再生されたり、条件選択されたりする。

ストリーミングの配信者は、メディアファイルの代わりにメタファイルを公開し、メディアファイルへの直接アクセスはプロトコルなどで制限する。

関連項目



英和和英テキスト翻訳

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

辞書ショートカット

すべての辞書の索引

「Metafile」の関連用語

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

   

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



Metafileのページの著作権

   
デジタル大辞泉デジタル大辞泉
(C)Shogakukan Inc.
株式会社 小学館
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 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の元に提供されております。

©2026 GRAS Group, Inc.RSS