VintaSoft Imaging .NET SDK v8.7
Vintasoft.Imaging.Codecs.Encoders Namespace / PdfEncoderSettings Class / JpegSaveAsGrayscale Property



In This Topic
    JpegSaveAsGrayscale Property (PdfEncoderSettings)
    In This Topic
    Gets or sets a value indicating whether grayscale JPEG file must be created.
    Syntax
    'Declaration
     
    <DefaultValueAttribute()>
    <DescriptionAttribute("Option to save JPEG file as grayscale.")>
    Public Property JpegSaveAsGrayscale As Boolean
    [DefaultValue()]
    [Description("Option to save JPEG file as grayscale.")]
    public bool JpegSaveAsGrayscale {get; set;}
    [DefaultValue()]
    [Description("Option to save JPEG file as grayscale.")]
    public: __property bool get_JpegSaveAsGrayscale();
    public: __property void set_JpegSaveAsGrayscale( 
       bool value
    );
    [DefaultValue()]
    [Description("Option to save JPEG file as grayscale.")]
    public:
    property bool JpegSaveAsGrayscale {
       bool get();
       void set (    bool value);
    }

    Property Value

    Default value is false.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also