Initializes new instance of
Word class.
Namespace: GroupDocs.Viewer.ResultsAssembly: GroupDocs.Viewer (in GroupDocs.Viewer.dll) Version: 22.5
Syntaxpublic Word(
string word,
double x,
double y,
double width,
double height,
IList<Character> characters
)
Public Sub New (
word As String,
x As Double,
y As Double,
width As Double,
height As Double,
characters As IList(Of Character)
)
public:
Word(
String^ word,
double x,
double y,
double width,
double height,
IList<Character^>^ characters
)
new :
word : string *
x : float *
y : float *
width : float *
height : float *
characters : IList<Character> -> Word
Parameters
- word
- Type: SystemString
The word. - x
- Type: SystemDouble
The X coordinate of the highest left point on the page layout where the rectangle that contains word begins. - y
- Type: SystemDouble
The Y coordinate of the highest left point on the page layout where the rectangle that contains word begins. - width
- Type: SystemDouble
The width of the rectangle which contains the word. - height
- Type: SystemDouble
The height of the rectangle which contains the word. - characters
- Type: System.Collections.GenericIListCharacter
The characters contained by the word.
ExceptionsException | Condition |
---|
ArgumentException | Thrown when word is null or empty. |
ArgumentNullException | Thrown when characters is null. |
See Also