API Reference
Enum
OfficeRasterResamplingMode
Sampling algorithm used when resizing dependency-free raster images.
Inheritance
- Enum
- OfficeRasterResamplingMode
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method OfficeRasterResampler.Resize
- Method OfficeRasterResampler.Resize
- Method OfficeRasterResampler.Resize
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
ToString 4 overloads
public override sealed String ToString(IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
- provider IFormatProvider
Values
public const OfficeRasterResamplingMode NearestNeighbor #Chooses the closest source pixel and preserves hard pixel edges.
Value:
0public const OfficeRasterResamplingMode Bilinear #Interpolates four source pixels in premultiplied-alpha space.
Value:
1public const OfficeRasterResamplingMode Area #Area-averages downsampled axes and linearly interpolates enlarged axes in premultiplied-alpha space.
Value:
2public const OfficeRasterResamplingMode Lanczos3 #Uses a radius-three Lanczos filter with antialiasing and premultiplied-alpha sampling.
Value:
3