VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Processing Namespace / PdfDocumentCompressorCommand Class / DetectGrayscaleImageResources Property
Syntax Requirements SeeAlso
In This Topic
    DetectGrayscaleImageResources Property (PdfDocumentCompressorCommand)
    In This Topic
    Gets or sets a value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.
    Syntax
    'Declaration
    
    <DescriptionAttribute("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")>
    <CategoryAttribute("Image color depth optimization")>
    <DefaultValueAttribute(False)>
    Public Property DetectGrayscaleImageResources As Boolean
    
    
    [Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
    [Category("Image color depth optimization")]
    [DefaultValue(False)]
    public bool DetectGrayscaleImageResources { get; set; }
    
    
    [Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
    [Category("Image color depth optimization")]
    [DefaultValue(False)]
    public: __property bool get_DetectGrayscaleImageResources();
    public: __property void set_DetectGrayscaleImageResources(
    bool value
    );
    [Description("A value indicating whether the command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format.")]
    [Category("Image color depth optimization")]
    [DefaultValue(False)]
    public:
    property bool DetectGrayscaleImageResources { bool get(); void set(bool value); }

    Property Value

    True - command must analyze image resources, detect grayscale images and convert them to the grayscale pixel format; false - command must NOT detect grayscale image resources. Default value false.
    Requirements

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

    See Also