ImageCompressionOptions.CreateGrayscaleJpeg Method

Note: This API is now obsolete.

Creates options for grayscale JPEG images.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
[ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Use chained CreateJpeg().SetGrayscale() calls instead.")]
public static JpegImageCompressionOptions CreateGrayscaleJpeg()
VB
<ObsoleteAttribute("This method is obsolete and will be removed in the next version of the library. Use chained CreateJpeg().SetGrayscale() calls instead.")>
Public Shared Function CreateGrayscaleJpeg As JpegImageCompressionOptions

Return Value

Type: JpegImageCompressionOptions
The newly created options for grayscale JPEG images.

See Also