Back to Devexpress

PdfImageCompressionOptions.InterpolationMode Property

officefileapi-devexpress-dot-pdf-dot-pdfimagecompressionoptions.md

latest2.4 KB
Original Source

PdfImageCompressionOptions.InterpolationMode Property

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

Declaration

csharp
public DXInterpolationMode InterpolationMode { get; set; }
vb
Public Property InterpolationMode As DXInterpolationMode

Property Value

TypeDescription
DXInterpolationMode

Indicates how to calculate intermediate values between two endpoints.

|

Available values:

NameDescription
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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to InterpolationMode
PdfOptimizationOptions

.ImageCompressionOptions .InterpolationMode

|

See Also

PdfImageCompressionOptions Class

PdfImageCompressionOptions Members

DevExpress.Pdf Namespace