你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

DocumentIntelligenceModelFactory.BoundingRegion Method

Definition

Initializes a new instance of BoundingRegion.

public static Azure.AI.DocumentIntelligence.BoundingRegion BoundingRegion (int pageNumber = 0, System.Collections.Generic.IEnumerable<float> polygon = default);
static member BoundingRegion : int * seq<single> -> Azure.AI.DocumentIntelligence.BoundingRegion
Public Shared Function BoundingRegion (Optional pageNumber As Integer = 0, Optional polygon As IEnumerable(Of Single) = Nothing) As BoundingRegion

Parameters

pageNumber
Int32

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

polygon
IEnumerable<Single>

Bounding polygon on the page, or the entire page if not specified. Coordinates specified relative to the top-left of the page. The numbers represent the x, y values of the polygon vertices, clockwise from the left (-180 degrees inclusive) relative to the element orientation.

Returns

A new BoundingRegion instance for mocking.

Applies to