Version 24.2 (latest)

DocumentViewLine Class Methods

For a list of all members of this type, see DocumentViewLine members.

Public Methods
 NameDescription
Public MethodContainsLocationReturns whether the specified Infragistics.Documents.Parsing.TextLocation is contained within this DocumentViewLine. (read only)  
Public MethodGetCharacterIndexFromXOffsetReturns the zero based index of the character on the line that is closest to the specified X offset.  
Public MethodGetPartsReturns the IDocumentViewLineParts that make up this line.  
Public MethodGetPixelLengthOfTextSpanReturns the length (in pixels) of the rendered text (on this line) described by the specified Infragistics.Documents.Parsing.TextSpan.  
Public MethodGetXOffsetFromCharacterIndexReturns the horizontal offset (in pixels) from the beginning of the line where the character with the specified character index is located.  
Public MethodPointFromCharacterIndexReturns a Point in text area coordinates that represents the location of the upper left corner of the character with the specified zero based character index within the line.  
Public MethodTextLocationFromPointReturns a Infragistics.Documents.Parsing.TextLocation that represents the character closest to the specified screen location (expressed as a Point in text area coordinates).  
Public MethodToStringReturns a string representation of the instance.  
See Also