Editare

Partajați prin


ImageFormat(Guid) Constructor

Definition

Initializes a new instance of the ImageFormat class by using the specified Guid structure.

public:
 ImageFormat(Guid guid);
public ImageFormat (Guid guid);
new System.Drawing.Imaging.ImageFormat : Guid -> System.Drawing.Imaging.ImageFormat
Public Sub New (guid As Guid)

Parameters

guid
Guid

The Guid structure that specifies a particular image format.

Remarks

Typically you use the static properties of the ImageFormat class to specify a particular format such as Png or Jpeg, rather than constructing a new ImageFormat.

Applies to