OfficeRasterResamplingMode
OfficeIMO.Drawing
Sampling algorithm used when resizing dependency-free raster images.
Inheritance
- Enum
- OfficeRasterResamplingMode
Usage
Explore 22 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 20
- Property OfficeImageOptimizationRequest.ResamplingMode
- Field OfficeRasterResamplingMode.Area
- Field OfficeRasterResamplingMode.Bicubic
- Field OfficeRasterResamplingMode.Bilinear
- Field OfficeRasterResamplingMode.Box
- Field OfficeRasterResamplingMode.CatmullRom
- Field OfficeRasterResamplingMode.Hermite
- Field OfficeRasterResamplingMode.Lanczos2
- Field OfficeRasterResamplingMode.Lanczos3
- Field OfficeRasterResamplingMode.Lanczos5
- Field OfficeRasterResamplingMode.Lanczos8
- Field OfficeRasterResamplingMode.MitchellNetravali
- Field OfficeRasterResamplingMode.NearestNeighbor
- Field OfficeRasterResamplingMode.Robidoux
- Field OfficeRasterResamplingMode.RobidouxSharp
- Field OfficeRasterResamplingMode.Spline
- Field OfficeRasterResamplingMode.Triangle
- Field OfficeRasterResamplingMode.Welch
- Property OfficeRasterResizeOptions.ResamplingMode
- Property OfficeRasterResizePlan.ResamplingMode
Accepted by parameters 2
Inherited Methods
public string ToString(IFormatProvider? provider) #Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const OfficeRasterResamplingMode NearestNeighbor #Chooses the closest source pixel and preserves hard pixel edges.
0public const OfficeRasterResamplingMode Bilinear #Interpolates four source pixels in premultiplied-alpha space.
1public const OfficeRasterResamplingMode Area #Area-averages downsampled axes and linearly interpolates enlarged axes in premultiplied-alpha space.
2public const OfficeRasterResamplingMode Lanczos3 #Uses a radius-three Lanczos filter with antialiasing and premultiplied-alpha sampling.
3public const OfficeRasterResamplingMode Bicubic #Antialiased cubic interpolation with B=0 and C=0.5.
4public const OfficeRasterResamplingMode Box #A constant half-pixel-support reconstruction kernel.
5public const OfficeRasterResamplingMode Triangle #A one-pixel triangular reconstruction kernel with antialiasing.
6public const OfficeRasterResamplingMode Hermite #A smooth one-pixel Hermite reconstruction kernel.
7public const OfficeRasterResamplingMode Lanczos2 #A radius-two windowed sinc reconstruction kernel.
8public const OfficeRasterResamplingMode Lanczos5 #A radius-five windowed sinc reconstruction kernel.
9public const OfficeRasterResamplingMode Lanczos8 #A radius-eight windowed sinc reconstruction kernel.
10public const OfficeRasterResamplingMode MitchellNetravali #A balanced cubic kernel with B=C=1/3.
11public const OfficeRasterResamplingMode CatmullRom #The Catmull-Rom cubic kernel, mathematically equal to Bicubic (B=0, C=0.5).
12public const OfficeRasterResamplingMode Robidoux #The Robidoux cubic kernel with B=0.3782157551 and C=0.3108921225.
13public const OfficeRasterResamplingMode RobidouxSharp #The sharper Robidoux cubic kernel with B=0.2620145124 and C=0.3689927438.
14public const OfficeRasterResamplingMode Spline #A cubic B-spline reconstruction kernel with B=1 and C=0.
15public const OfficeRasterResamplingMode Welch #A radius-three sinc kernel with a parabolic Welch window.
16