Table of contents

LayoutAnalysisResult

The LayoutAnalysisResult class holds the comprehensive results of the layout analysis. It implements IDisposable and must be disposed after use.

Definition

Namespace: Dynamsoft.Utility

public class LayoutAnalysisResult : IDisposable

Properties

Property Type Description
inferredQuads Quadrilateral[] Array of newly generated (inferred) quads.
elements LayoutElement[,] A 2D array (grid) of layout elements.
detectedPattern LayoutPattern The actual layout pattern identified by the engine.
errorCode int 0 for success, non-zero for error.

inferredQuads

Array of newly generated (inferred) quads.

public Quadrilateral[] inferredQuads;

See Also

Quadrilateral

elements

A 2D array (grid) of layout elements [rowCount, colCount]. In LP_LINES mode, rows may have varying physical lengths. Rows shorter than colCount are padded with elements whose source is set to LES_NONE.

public LayoutElement[,] elements;

See Also

LayoutElement

detectedPattern

The actual layout pattern identified by the engine.

public LayoutPattern detectedPattern;

See Also

LayoutPattern

errorCode

0 for success, non-zero for error.

public int errorCode;

This page is compatible for: