Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

OfficeRasterResamplingMode

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

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.

Accepted by parameters

Values

public const OfficeRasterResamplingMode NearestNeighbor #

Chooses the closest source pixel and preserves hard pixel edges.

Value: 0
public const OfficeRasterResamplingMode Bilinear #

Interpolates four source pixels in premultiplied-alpha space.

Value: 1
public const OfficeRasterResamplingMode Area #

Area-averages downsampled axes and linearly interpolates enlarged axes in premultiplied-alpha space.

Value: 2
public const OfficeRasterResamplingMode Lanczos3 #

Uses a radius-three Lanczos filter with antialiasing and premultiplied-alpha sampling.

Value: 3