Share via


DocumentAnalysisModelFactory.BoundingRegion Method

Definition

Initializes a new instance of BoundingRegion.

public static Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion BoundingRegion (int pageNumber = 0, System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> boundingPolygon = default);
static member BoundingRegion : int * System.Collections.Generic.IReadOnlyList<System.Drawing.PointF> -> Azure.AI.FormRecognizer.DocumentAnalysis.BoundingRegion
Public Shared Function BoundingRegion (Optional pageNumber As Integer = 0, Optional boundingPolygon As IReadOnlyList(Of PointF) = Nothing) As BoundingRegion

Parameters

pageNumber
Int32

1-based page number of page containing the bounding region.

boundingPolygon
IReadOnlyList<PointF>

Bounding polygon on the page, or the entire page if not specified.

Returns

A new BoundingRegion instance for mocking.

Applies to