Metafile 생성자

정의

Metafile 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
Metafile(Stream)

지정된 데이터 스트림에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들, 새 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)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

Metafile(Stream, IntPtr, EmfType, String)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 EmfType 형식을 지정하는 Metafile 열거형을 초기화합니다. 또한 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, String)

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 Rectangle 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 설명 문자열도 추가할 수 있습니다.

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, String)

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 RectangleF 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 설명 문자열도 추가할 수 있습니다.

Metafile(Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 설명 문자열도 추가할 수 있습니다.

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 설명 문자열도 추가할 수 있습니다.

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType)

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

Metafile(IntPtr, RectangleF, MetafileFrameUnit, EmfType)

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다.

Metafile(Stream, IntPtr, Rectangle, MetafileFrameUnit)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 나타내는 사각형을 나타내는 Metafile 구조체 및 제공된 측정 단위를 초기화합니다.

Metafile(String, IntPtr, RectangleF)

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Metafile 경계를 나타내는 사각형을 나타내는 RectangleF 구조체를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

Metafile(String)

지정된 파일 이름에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, Boolean)

지정된 핸들에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, EmfType)

지정된 핸들에서 디바이스 컨텍스트로 클래스의 Metafile 새 인스턴스를 초기화하고 EmfType 형식을 지정하는 열거형을 초기화합니다 Metafile.

Metafile(IntPtr, WmfPlaceableFileHeader)

지정된 핸들 및 .에서 클래스의 Metafile 새 인스턴스를 WmfPlaceableFileHeader초기화합니다.

Metafile(IntPtr, Rectangle)

지정된 사각형으로 제한된 지정된 디바이스 컨텍스트에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, RectangleF)

지정된 사각형으로 제한된 지정된 디바이스 컨텍스트에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, Rectangle, MetafileFrameUnit, EmfType)

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다.

Metafile(String, IntPtr)

지정된 파일 이름을 사용하여 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, EmfType, String)

지정된 핸들에서 디바이스 컨텍스트로 클래스의 Metafile 새 인스턴스를 초기화하고 EmfType 형식을 지정하는 열거형을 초기화합니다 Metafile. 파일 이름을 지정하기 위해 문자열을 제공할 수 있습니다.

Metafile(Stream, IntPtr)

지정된 데이터 스트림에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

Metafile(IntPtr, Rectangle, MetafileFrameUnit)

지정된 디바이스 컨텍스트에서 제공된 측정 단위를 사용하는 지정된 사각형으로 바인딩된 클래스의 새 인스턴스 Metafile 를 초기화합니다.

Metafile(IntPtr, RectangleF, MetafileFrameUnit)

지정된 디바이스 컨텍스트에서 제공된 측정 단위를 사용하는 지정된 사각형으로 바인딩된 클래스의 새 인스턴스 Metafile 를 초기화합니다.

Metafile(Stream, IntPtr, EmfType)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 EmfType 형식을 지정하는 Metafile 열거형을 초기화합니다.

Metafile(Stream, IntPtr, Rectangle)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Rectangle 경계를 나타내는 사각형을 나타내는 Metafile 구조체를 초기화합니다.

Metafile(Stream, IntPtr, RectangleF)

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 RectangleF 경계를 나타내는 사각형을 나타내는 Metafile 구조체를 초기화합니다.

Metafile(String, IntPtr, EmfType)

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 Metafile 형식을 지정하는 EmfType 열거형을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

Metafile(String, IntPtr, Rectangle)

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Metafile 경계를 나타내는 사각형을 나타내는 Rectangle 구조체를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

Metafile(IntPtr, WmfPlaceableFileHeader, Boolean)

지정된 핸들 및 .에서 클래스의 Metafile 새 인스턴스를 WmfPlaceableFileHeader초기화합니다. 또한 메타파일을 deleteWmf 삭제할 때 매개 변수를 사용하여 핸들을 삭제할 수 있습니다.

Metafile(Stream)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream);
public Metafile(System.IO.Stream stream);
new System.Drawing.Imaging.Metafile : System.IO.Stream -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream)

매개 변수

stream
Stream

StreamMetafile를 만들 원본입니다.

예외

streamnull입니다.

적용 대상

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 나타내는 사각형을 나타내는 Metafile 구조체 및 제공된 측정 단위를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(String, IntPtr, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 Metafile 형식을 지정하는 EmfType 열거형을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 설명 문자열도 추가할 수 있습니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, type As EmfType, description As String)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 Rectangle 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

RectangleMetafile사각형을 경계로 하는 구조체입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 RectangleF 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다. 파일 이름을 지정하기 위해 문자열을 제공할 수 있습니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ desc);
public Metafile(IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? desc);
public Metafile(IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string desc);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType, desc As String)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

desc
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다. 파일 이름을 지정하기 위해 문자열을 제공할 수 있습니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType, description As String)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(Stream, IntPtr, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 EmfType 형식을 지정하는 Metafile 열거형을 초기화합니다. 또한 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, type As EmfType, description As String)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 Rectangle 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 설명 문자열도 추가할 수 있습니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::String ^ description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, string? description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, string description);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * string -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, description As String)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Metafile 경계를 지정하는 사각형을 나타내는 RectangleF 구조체 및 제공된 측정 단위를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 설명 문자열도 추가할 수 있습니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::String ^ desc);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, string? desc);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, string desc);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * string -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, desc As String)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

desc
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(Stream, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType, description As String)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(Stream, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 새 Metafile 항목에 대한 설명이 포함된 문자열을 추가할 수 있습니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType, description As String)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 설명 문자열도 추가할 수 있습니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType, description As String)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, RectangleF, MetafileFrameUnit, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 RectangleF 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다. 설명 문자열도 추가할 수 있습니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type, System::String ^ description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string? description);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type, string description);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType, description As String)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

String이름에 대한 설명이 포함된 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, Rectangle, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다. 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 지정하는 사각형을 나타내는 Metafile 구조체, 제공된 측정 단위 및 EmfType 형식을 지정하는 Metafile 열거형입니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(IntPtr, RectangleF, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(Stream, IntPtr, Rectangle, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들, 새 Rectangle 경계를 나타내는 사각형을 나타내는 Metafile 구조체 및 제공된 측정 단위를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(String, IntPtr, RectangleF)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Metafile 경계를 나타내는 사각형을 나타내는 RectangleF 구조체를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::RectangleF frameRect);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.RectangleF frameRect);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.RectangleF -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As RectangleF)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ filename);
public Metafile(string filename);
new System.Drawing.Imaging.Metafile : string -> System.Drawing.Imaging.Metafile
Public Sub New (filename As String)

매개 변수

filename
String

String파일을 만들 파일 이름을 나타내는 A Metafile 입니다.

예제

다음 코드 예제에서는 만들고 사용 하는 방법을 보여 줍니다 Metafile.


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());
    }
}
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

적용 대상

Metafile(IntPtr, Boolean)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 핸들에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(IntPtr henhmetafile, bool deleteEmf);
public Metafile(IntPtr henhmetafile, bool deleteEmf);
new System.Drawing.Imaging.Metafile : nativeint * bool -> System.Drawing.Imaging.Metafile
Public Sub New (henhmetafile As IntPtr, deleteEmf As Boolean)

매개 변수

henhmetafile
IntPtr

nativeint

향상된 메타파일의 핸들입니다.

deleteEmf
Boolean

true 삭제될 때 향상된 메타파일 핸들을 Metafile 삭제하려면 .이고, false그렇지 않으면 .

적용 대상

Metafile(IntPtr, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 핸들에서 디바이스 컨텍스트로 클래스의 Metafile 새 인스턴스를 초기화하고 EmfType 형식을 지정하는 열거형을 초기화합니다 Metafile.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Imaging::EmfType emfType);
public Metafile(IntPtr referenceHdc, System.Drawing.Imaging.EmfType emfType);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, emfType As EmfType)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

emfType
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(IntPtr, WmfPlaceableFileHeader)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 핸들 및 .에서 클래스의 Metafile 새 인스턴스를 WmfPlaceableFileHeader초기화합니다.

public:
 Metafile(IntPtr hmetafile, System::Drawing::Imaging::WmfPlaceableFileHeader ^ wmfHeader);
public Metafile(IntPtr hmetafile, System.Drawing.Imaging.WmfPlaceableFileHeader wmfHeader);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Imaging.WmfPlaceableFileHeader -> System.Drawing.Imaging.Metafile
Public Sub New (hmetafile As IntPtr, wmfHeader As WmfPlaceableFileHeader)

매개 변수

hmetafile
IntPtr

nativeint

에 대한 창 핸들입니다 Metafile.

적용 대상

Metafile(IntPtr, Rectangle)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 사각형으로 제한된 지정된 디바이스 컨텍스트에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Rectangle frameRect);
public Metafile(IntPtr referenceHdc, System.Drawing.Rectangle frameRect);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Rectangle -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As Rectangle)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(IntPtr, RectangleF)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 사각형으로 제한된 지정된 디바이스 컨텍스트에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::RectangleF frameRect);
public Metafile(IntPtr referenceHdc, System.Drawing.RectangleF frameRect);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.RectangleF -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As RectangleF)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(IntPtr, Rectangle, MetafileFrameUnit, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

제공된 측정 단위를 사용하는 지정된 사각형과 Metafile 형식을 지정하는 열거형으로 바인딩된 지정된 디바이스 컨텍스트에서 클래스의 EmfType새 인스턴스 Metafile 를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit, System::Drawing::Imaging::EmfType type);
public Metafile(IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit, type As EmfType)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(String, IntPtr)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름을 사용하여 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc);
public Metafile(string fileName, IntPtr referenceHdc);
new System.Drawing.Imaging.Metafile : string * nativeint -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

적용 대상

Metafile(IntPtr, EmfType, String)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 핸들에서 디바이스 컨텍스트로 클래스의 Metafile 새 인스턴스를 초기화하고 EmfType 형식을 지정하는 열거형을 초기화합니다 Metafile. 파일 이름을 지정하기 위해 문자열을 제공할 수 있습니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Imaging::EmfType emfType, System::String ^ description);
public Metafile(IntPtr referenceHdc, System.Drawing.Imaging.EmfType emfType, string? description);
public Metafile(IntPtr referenceHdc, System.Drawing.Imaging.EmfType emfType, string description);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Imaging.EmfType * string -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, emfType As EmfType, description As String)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

emfType
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

description
String

Metafile에 대한 설명이 포함된 이름입니다.

적용 대상

Metafile(Stream, IntPtr)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 클래스의 Metafile 새 인스턴스를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

적용 대상

Metafile(IntPtr, Rectangle, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 디바이스 컨텍스트에서 제공된 측정 단위를 사용하는 지정된 사각형으로 바인딩된 클래스의 새 인스턴스 Metafile 를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::Rectangle frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(IntPtr referenceHdc, System.Drawing.Rectangle frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Rectangle * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As Rectangle, frameUnit As MetafileFrameUnit)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(IntPtr, RectangleF, MetafileFrameUnit)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 디바이스 컨텍스트에서 제공된 측정 단위를 사용하는 지정된 사각형으로 바인딩된 클래스의 새 인스턴스 Metafile 를 초기화합니다.

public:
 Metafile(IntPtr referenceHdc, System::Drawing::RectangleF frameRect, System::Drawing::Imaging::MetafileFrameUnit frameUnit);
public Metafile(IntPtr referenceHdc, System.Drawing.RectangleF frameRect, System.Drawing.Imaging.MetafileFrameUnit frameUnit);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.RectangleF * System.Drawing.Imaging.MetafileFrameUnit -> System.Drawing.Imaging.Metafile
Public Sub New (referenceHdc As IntPtr, frameRect As RectangleF, frameUnit As MetafileFrameUnit)

매개 변수

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

frameUnit
MetafileFrameUnit

에 대한 MetafileFrameUnit측정 단위를 지정하는 A frameRect 입니다.

적용 대상

Metafile(Stream, IntPtr, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 EmfType 형식을 지정하는 Metafile 열거형을 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Imaging::EmfType type);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, type As EmfType)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(Stream, IntPtr, Rectangle)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Rectangle 경계를 나타내는 사각형을 나타내는 Metafile 구조체를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::Rectangle frameRect);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.Rectangle frameRect);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.Rectangle -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As Rectangle)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(Stream, IntPtr, RectangleF)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 데이터 스트림에서 Metafile 클래스의 새 인스턴스, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 RectangleF 경계를 나타내는 사각형을 나타내는 Metafile 구조체를 초기화합니다.

public:
 Metafile(System::IO::Stream ^ stream, IntPtr referenceHdc, System::Drawing::RectangleF frameRect);
public Metafile(System.IO.Stream stream, IntPtr referenceHdc, System.Drawing.RectangleF frameRect);
new System.Drawing.Imaging.Metafile : System.IO.Stream * nativeint * System.Drawing.RectangleF -> System.Drawing.Imaging.Metafile
Public Sub New (stream As Stream, referenceHdc As IntPtr, frameRect As RectangleF)

매개 변수

stream
Stream

이에 Stream대한 데이터가 들어 있는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
RectangleF

RectangleF사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(String, IntPtr, EmfType)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 Metafile 형식을 지정하는 EmfType 열거형을 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Imaging::EmfType type);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Imaging.EmfType type);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Imaging.EmfType -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, type As EmfType)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

type
EmfType

EmfType 의 형식을 지정하는 형식입니다Metafile.

적용 대상

Metafile(String, IntPtr, Rectangle)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 파일 이름, 디바이스 컨텍스트에 대한 Windows 핸들 및 새 Metafile 경계를 나타내는 사각형을 나타내는 Rectangle 구조체를 사용하여 Metafile 클래스의 새 인스턴스를 초기화합니다.

public:
 Metafile(System::String ^ fileName, IntPtr referenceHdc, System::Drawing::Rectangle frameRect);
public Metafile(string fileName, IntPtr referenceHdc, System.Drawing.Rectangle frameRect);
new System.Drawing.Imaging.Metafile : string * nativeint * System.Drawing.Rectangle -> System.Drawing.Imaging.Metafile
Public Sub New (fileName As String, referenceHdc As IntPtr, frameRect As Rectangle)

매개 변수

fileName
String

String파일 이름을 나타내는 A Metafile 입니다.

referenceHdc
IntPtr

nativeint

디바이스 컨텍스트에 대한 Windows 핸들입니다.

frameRect
Rectangle

Rectangle사각형을 경계로 하는 사각형을 나타내는 A Metafile 입니다.

적용 대상

Metafile(IntPtr, WmfPlaceableFileHeader, Boolean)

Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs
Source:
Metafile.cs

지정된 핸들 및 .에서 클래스의 Metafile 새 인스턴스를 WmfPlaceableFileHeader초기화합니다. 또한 메타파일을 deleteWmf 삭제할 때 매개 변수를 사용하여 핸들을 삭제할 수 있습니다.

public:
 Metafile(IntPtr hmetafile, System::Drawing::Imaging::WmfPlaceableFileHeader ^ wmfHeader, bool deleteWmf);
public Metafile(IntPtr hmetafile, System.Drawing.Imaging.WmfPlaceableFileHeader wmfHeader, bool deleteWmf);
new System.Drawing.Imaging.Metafile : nativeint * System.Drawing.Imaging.WmfPlaceableFileHeader * bool -> System.Drawing.Imaging.Metafile
Public Sub New (hmetafile As IntPtr, wmfHeader As WmfPlaceableFileHeader, deleteWmf As Boolean)

매개 변수

hmetafile
IntPtr

nativeint

에 대한 창 핸들입니다 Metafile.

deleteWmf
Boolean

삭제될 때 새 핸들에 대한 핸들을 삭제하려면 />이고, 그렇지 않으면 .입니다.

적용 대상