Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

OfficeScanProcessingOptions

Namespace OfficeIMO.Drawing
Assembly OfficeIMO.Core
Modifiers sealed

Bounded, opt-in scan cleanup. The supplied source image is never modified.

Inheritance

  • Object
  • OfficeScanProcessingOptions

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

Constructors

Methods

public OfficeScanProcessingOptions Clone() #
Returns: OfficeScanProcessingOptions

Creates an independent snapshot.

public Void Validate() #
Returns: Void

Validates operation settings before allocating buffers or requesting provider work.

Properties

public Int32 ClockwiseQuarterTurns { get; set; } #

Explicit clockwise quarter-turns, applied before deskew. Must be zero through three.

public Double StraightenDegrees { get; set; } #

Additional clockwise rotation, from minus fifteen through fifteen degrees, applied with any detected deskew correction.

public Int32 BlackPoint { get; set; } #

Input sample mapped to black, from zero through 254. Must be less than WhitePoint.

public Int32 WhitePoint { get; set; } #

Input sample mapped to white, from one through 255. Must exceed BlackPoint.

public Double Gamma { get; set; } #

Midtone gamma, from 0.1 through 10. Values above one lighten midtones.

public Boolean Deskew { get; set; } #

Detects a small text-line skew and corrects it only when the confidence threshold is met.

public Double MaximumDeskewAngleDegrees { get; set; } #

Largest absolute skew considered, from one through fifteen degrees.

public Double MinimumDeskewConfidence { get; set; } #

Minimum relative projection-score separation required to apply detected skew.

public Boolean NormalizeBackground { get; set; } #

Normalizes locally estimated paper brightness while retaining darker foreground samples.

public Int32 BackgroundRadius { get; set; } #

Radius, in processed pixels, of the local paper-brightness window. Must be one through 128.

public OfficeScanColorMode ColorMode { get; set; } #

Color conversion applied after geometry and background normalization.

public Nullable<Int32> BilevelThreshold { get; set; } #

Optional bilevel threshold. Null selects a global histogram threshold; values are one through 254.

public Nullable<Int32> MaximumDimension { get; set; } #

Optional longest-side limit. Images are downsampled proportionally and are never enlarged.

public Int64 MaximumPixels { get; set; } #

Maximum pixels in the source or any output canvas.

public Int64 MaximumWorkingBytes { get; set; } #

Maximum accounted managed bytes, including source, output, analysis, and resampling buffers.

public Int32 MaximumAnalysisSamples { get; set; } #

Maximum sampled foreground points used by deskew analysis.

public Int64 MaximumAnalysisOperations { get; set; } #

Maximum point projections evaluated during deskew analysis.