Export (0) Print
Expand All

ImageFormat Constructor

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


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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft