VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Processing.Images Namespace / PdfOptimizeContentImageCommand Class / ImageResourceType Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    ImageResourceType Property (PdfOptimizeContentImageCommand)
    In This Topic
    Gets or sets the pixel type, which command should use for selecting of image-resources, which should be compressed.
    Syntax
    'Declaration
    
    <DefaultValueAttribute("Color, Grayscale, Bitonal")>
    <DescriptionAttribute("The pixel type, which command should use for selecting of image-resources, which should be compressed.")>
    Public Property ImageResourceType As Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType
    
    
    [DefaultValue("Color, Grayscale, Bitonal")]
    [Description("The pixel type, which command should use for selecting of image-resources, which should be compressed.")]
    public Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType ImageResourceType { get; set; }
    
    
    [DefaultValue("Color, Grayscale, Bitonal")]
    [Description("The pixel type, which command should use for selecting of image-resources, which should be compressed.")]
    public: __property Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType get_ImageResourceType();
    public: __property void set_ImageResourceType(
    Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType value
    );
    [DefaultValue("Color, Grayscale, Bitonal")]
    [Description("The pixel type, which command should use for selecting of image-resources, which should be compressed.")]
    public:
    property Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType ImageResourceType { Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType get(); void set(Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType value); }

    Property Value

    Default value is PdfImageResourcePixelType.ColorImage | PdfImageResourcePixelType.GrayImage | PdfImageResourcePixelType.BitonalImage .
    Exceptions
    ExceptionDescription
    Thrown if value containt PdfImageResourcePixelType.IndexedImage.
    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