OfficeScanProcessingOptions
OfficeIMO.Drawing
Bounded, opt-in scan cleanup. The supplied source image is never modified.
Inheritance
- object
- OfficeScanProcessingOptions
Usage
Explore 2 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 1
Accepted by parameters 1
- Method OfficeScanProcessor.Process
Constructors
public OfficeScanProcessingOptions() #Methods
public OfficeScanProcessingOptions Clone() #Creates an independent snapshot.
Returns
OfficeScanProcessingOptionspublic void Validate() #Validates operation settings before allocating buffers or requesting provider work.
Inherited Methods
Properties
public int 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 int BlackPoint { get; set; } #Input sample mapped to black, from zero through 254. Must be less than WhitePoint.
public int 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 bool 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 bool NormalizeBackground { get; set; } #Normalizes locally estimated paper brightness while retaining darker foreground samples.
public int 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 int? BilevelThreshold { get; set; } #Optional bilevel threshold. Null selects a global histogram threshold; values are one through 254.
public int? MaximumDimension { get; set; } #Optional longest-side limit. Images are downsampled proportionally and are never enlarged.
public long MaximumPixels { get; set; } #Maximum pixels in the source or any output canvas.
public long MaximumWorkingBytes { get; set; } #Maximum accounted managed bytes, including source, output, analysis, and resampling buffers.
public int MaximumAnalysisSamples { get; set; } #Maximum sampled foreground points used by deskew analysis.
public long MaximumAnalysisOperations { get; set; } #Maximum point projections evaluated during deskew analysis.