ImageFormat Constructor (Guid)

 

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

Namespace:   System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)

public ImageFormat(
	Guid guid
)

Parameters

guid
Type: System.Guid

The Guid structure that specifies a particular image format.

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

.NET Framework
Available since 1.1
Return to top
Show: