officefileapi-devexpress-dot-pdf-dot-pdfimagecompressionoptions.md
Gets or sets the interpolation mode associated with the DXGraphics object.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public DXInterpolationMode InterpolationMode { get; set; }
Public Property InterpolationMode As DXInterpolationMode
| Type | Description |
|---|---|
| DXInterpolationMode |
Indicates how to calculate intermediate values between two endpoints.
|
Available values:
| Name | Description |
|---|---|
| Default |
Default mode.
| | Low |
Low quality interpolation.
| | High |
High quality interpolation.
| | Bilinear |
Bilinear interpolation. No pre-filter. This mode is not suitable for shrinking an image below 50 percent of its original size.
| | Bicubic |
Bicubic interpolation. No pre-filter. This mode is not suitable for shrinking an image below 25 percent of its original size.
| | NearestNeighbor |
Nearest-neighbor interpolation.
| | HighQualityBilinear |
High-quality, bilinear interpolation. Pre-filter is applied to ensure high-quality shrinking.
| | HighQualityBicubic |
High-quality bicubic interpolation. Pre-filter is applied to ensure high-quality shrinking. This mode produces the highest quality transformed images.
| | Invalid |
Invalid mode.
|
You can access this nested property as listed below:
| Object Type | Path to InterpolationMode |
|---|---|
| PdfOptimizationOptions |
.ImageCompressionOptions .InterpolationMode
|
See Also
PdfImageCompressionOptions Class