Line Constructor
Initializes new instance of Line class.

Namespace: GroupDocs.Viewer.Results
Assembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 21.9
Syntax
public Line(
	string line,
	double x,
	double y,
	double width,
	double height,
	IList<Word> words
)

Parameters

line
Type: SystemString
The line.
x
Type: SystemDouble
The X coordinate of the highest left point on the page layout where the rectangle that contains line begins.
y
Type: SystemDouble
The Y coordinate of the highest left point on the page layout where the rectangle that contains line begins.
width
Type: SystemDouble
The width of the rectangle which contains the line (in pixels).
height
Type: SystemDouble
The height of the rectangle which contains the line (in pixels).
words
Type: System.Collections.GenericIListWord
The words contained by the line.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when line is null or empty.
ArgumentNullExceptionThrown when words is null.
See Also