VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Encoders Namespace / JpegEncoderSettings Class / SaveAsGrayscale Property
Syntax Requirements SeeAlso
In This Topic
    SaveAsGrayscale Property (JpegEncoderSettings)
    In This Topic
    Gets or sets a value indicating whether color images will be saved as grayscale JPEG files.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether color images will be saved as grayscale JPEG files.")>
    Public Property SaveAsGrayscale As Boolean
    
    
    [Description("A value indicating whether color images will be saved as grayscale JPEG files.")]
    public bool SaveAsGrayscale { get; set; }
    
    
    [Description("A value indicating whether color images will be saved as grayscale JPEG files.")]
    public: __property bool get_SaveAsGrayscale();
    public: __property void set_SaveAsGrayscale(
    bool value
    );
    [Description("A value indicating whether color images will be saved as grayscale JPEG files.")]
    public:
    property bool SaveAsGrayscale { bool get(); void set(bool value); }

    Property Value

    true color images will be saved as grayscale JPEG files; false color images will be saved as color JPEG files.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also