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

DocumentLine Class

Definition

A content line object consisting of an adjacent sequence of content elements, such as words and selection marks.

public class DocumentLine
type DocumentLine = class
Public Class DocumentLine
Inheritance
DocumentLine

Properties

BoundingPolygon

The polygon that outlines the content of this line. Coordinates are specified relative to the top-left of the page, and points are ordered clockwise from the left relative to the line orientation. Units are in pixels for images and inches for PDF. The DocumentPageLengthUnit type of a recognized page can be found at Unit.

Content

Concatenated content of the contained elements in reading order.

Spans

Location of the line in the reading order concatenated content.

Methods

GetWords()

Returns the list of DocumentWord that compose this line.

Applies to