VintaSoft Imaging .NET SDK 15.1: 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

<DescriptionAttribute("The pixel type, which command should use for selecting of image-resources, which should be compressed.")>
<DefaultValueAttribute("Color, Grayscale, Bitonal")>
Public Property ImageResourceType As Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType

[Description("The pixel type, which command should use for selecting of image-resources, which should be compressed.")]
[DefaultValue("Color, Grayscale, Bitonal")]
public Vintasoft.Imaging.Pdf.Processing.PdfImageResourcePixelType ImageResourceType { get; set; }

Property Value

Default value is PdfImageResourcePixelType.ColorImage | PdfImageResourcePixelType.GrayImage | PdfImageResourcePixelType.BitonalImage .
Exceptions
ExceptionDescription
Thrown if value containt PdfImageResourcePixelType.IndexedImage.
Requirements

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

See Also