PrinterSettings.IsDirectPrintingSupported 方法
定义
返回一个值,该值指示打印机是否支持打印图像文件。Returns a value indicating whether the printer supports printing an image file.
重载
| IsDirectPrintingSupported(ImageFormat) |
返回一个值,该值指示打印机是否支持打印指定的图像格式。Returns a value indicating whether the printer supports printing the specified image format. |
| IsDirectPrintingSupported(Image) |
获取一个值,该值指示打印机是否支持打印指定的图像文件。Gets a value indicating whether the printer supports printing the specified image file. |
IsDirectPrintingSupported(ImageFormat)
返回一个值,该值指示打印机是否支持打印指定的图像格式。Returns a value indicating whether the printer supports printing the specified image format.
public:
bool IsDirectPrintingSupported(System::Drawing::Imaging::ImageFormat ^ imageFormat);
public bool IsDirectPrintingSupported (System.Drawing.Imaging.ImageFormat imageFormat);
member this.IsDirectPrintingSupported : System.Drawing.Imaging.ImageFormat -> bool
Public Function IsDirectPrintingSupported (imageFormat As ImageFormat) As Boolean
参数
- imageFormat
- ImageFormat
要打印的 ImageFormat。An ImageFormat to print.
返回
若打印机支持打印指定的图像格式,则为 true;否则为 false。true if the printer supports printing the specified image format; otherwise, false.
适用于
IsDirectPrintingSupported(Image)
获取一个值,该值指示打印机是否支持打印指定的图像文件。Gets a value indicating whether the printer supports printing the specified image file.
public:
bool IsDirectPrintingSupported(System::Drawing::Image ^ image);
public bool IsDirectPrintingSupported (System.Drawing.Image image);
member this.IsDirectPrintingSupported : System.Drawing.Image -> bool
Public Function IsDirectPrintingSupported (image As Image) As Boolean
参数
- image
- Image
要打印的图像。The image to print.
返回
若打印机支持打印指定的图像,则为 true;否则为 false。true if the printer supports printing the specified image; otherwise, false.