DocumentAnalysisModelFactory.BoundingRegion Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.