Export (0) Print
Expand All

PrinterSettings.IsDirectPrintingSupported Method (ImageFormat)

Returns a value indicating whether the printer supports printing the specified image format.

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

public bool IsDirectPrintingSupported(
	ImageFormat imageFormat
)

Parameters

imageFormat
Type: System.Drawing.Imaging.ImageFormat

An ImageFormat to print.

Return Value

Type: System.Boolean
true if the printer supports printing the specified image format; otherwise, false.

.NET Framework

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

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft