Initializes new instance of
Line class.
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Line(
string line,
double x,
double y,
double width,
double height,
IList<Word> words
)
Public Sub New (
line As String,
x As Double,
y As Double,
width As Double,
height As Double,
words As IList(Of Word)
)
public:
Line(
String^ line,
double x,
double y,
double width,
double height,
IList<Word^>^ words
)
new :
line : string *
x : float *
y : float *
width : float *
height : float *
words : IList<Word> -> Line
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.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when line is null or empty. |
ArgumentNullException | Thrown when words is null. |
See Also