Partager via


AIVisionImageAnalysisModelFactory.DetectedTextBlock Method

Definition

Initializes a new instance of DetectedTextBlock.

public static Azure.AI.Vision.ImageAnalysis.DetectedTextBlock DetectedTextBlock (System.Collections.Generic.IEnumerable<Azure.AI.Vision.ImageAnalysis.DetectedTextLine> lines = default);
static member DetectedTextBlock : seq<Azure.AI.Vision.ImageAnalysis.DetectedTextLine> -> Azure.AI.Vision.ImageAnalysis.DetectedTextBlock
Public Shared Function DetectedTextBlock (Optional lines As IEnumerable(Of DetectedTextLine) = Nothing) As DetectedTextBlock

Parameters

lines
IEnumerable<DetectedTextLine>

A list of text lines in this block.

Returns

A new DetectedTextBlock instance for mocking.

Applies to