Прочитај на енглеском Уреди

Делите путем


Metafile.GetMetafileHeader Method

Definition

Returns the MetafileHeader associated with this Metafile.

Overloads

GetMetafileHeader(IntPtr, WmfPlaceableFileHeader)

Returns the MetafileHeader associated with the specified Metafile.

GetMetafileHeader()

Returns the MetafileHeader associated with this Metafile.

GetMetafileHeader(IntPtr)

Returns the MetafileHeader associated with the specified Metafile.

GetMetafileHeader(Stream)

Returns the MetafileHeader associated with the specified Metafile.

GetMetafileHeader(String)

Returns the MetafileHeader associated with the specified Metafile.

GetMetafileHeader(IntPtr, WmfPlaceableFileHeader)

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

Returns the MetafileHeader associated with the specified Metafile.

C#
public static System.Drawing.Imaging.MetafileHeader GetMetafileHeader(IntPtr hmetafile, System.Drawing.Imaging.WmfPlaceableFileHeader wmfHeader);

Parameters

hmetafile
IntPtr

The handle to the Metafile for which to return a header.

Returns

The MetafileHeader associated with the specified Metafile.

Applies to

.NET 10 (package-provided) и друге верзије
Производ Верзије
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetMetafileHeader()

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

Returns the MetafileHeader associated with this Metafile.

C#
public System.Drawing.Imaging.MetafileHeader GetMetafileHeader();

Returns

The MetafileHeader associated with this Metafile.

Applies to

.NET 10 (package-provided) и друге верзије
Производ Верзије
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetMetafileHeader(IntPtr)

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

Returns the MetafileHeader associated with the specified Metafile.

C#
public static System.Drawing.Imaging.MetafileHeader GetMetafileHeader(IntPtr henhmetafile);

Parameters

henhmetafile
IntPtr

The handle to the enhanced Metafile for which a header is returned.

Returns

The MetafileHeader associated with the specified Metafile.

Applies to

.NET 10 (package-provided) и друге верзије
Производ Верзије
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetMetafileHeader(Stream)

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

Returns the MetafileHeader associated with the specified Metafile.

C#
public static System.Drawing.Imaging.MetafileHeader GetMetafileHeader(System.IO.Stream stream);

Parameters

stream
Stream

A Stream containing the Metafile for which a header is retrieved.

Returns

The MetafileHeader associated with the specified Metafile.

Applies to

.NET 10 (package-provided) и друге верзије
Производ Верзије
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

GetMetafileHeader(String)

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

Returns the MetafileHeader associated with the specified Metafile.

C#
public static System.Drawing.Imaging.MetafileHeader GetMetafileHeader(string fileName);

Parameters

fileName
String

A String containing the name of the Metafile for which a header is retrieved.

Returns

The MetafileHeader associated with the specified Metafile.

Applies to

.NET 10 (package-provided) и друге верзије
Производ Верзије
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10