Version

DocumentViewLine Class Members

The following tables list the members exposed by DocumentViewLine.

Public Properties
 NameDescription
Public PropertyBoundsReturns the bounding rectangle of the line in text area coordinates. (read only)  
Public PropertyLayoutChangeTypeReturns a value that indicates the kind of change (if any) that occurred for this line during the last layout pass. (read only)  
Public PropertyLayoutTranslationOffsetReturns a value that indicates the number of pixels that this line was moved during the last layout pass if the line's LayoutChangeType is translated. Othwerwise, returns zero. (read only)  
Public PropertyLineEndPointReturns a Point corresponding to the top/left corner of the unoccupied character position following the last character on the line. (read only)  
Public PropertyLineEndTextLocationReturns a Infragistics.Documents.Parsing.TextLocation corresponding to the unoccupied character position following the last character on the line. (read only)  
Public PropertyLineFirstCharacterPointReturns a Point corresponding to the top/left corner of the first character position on the line. (read only)  
Public PropertyLineFirstTextLocationReturns a Infragistics.Documents.Parsing.TextLocation corresponding to the first character position on the line. (read only)  
Public PropertyLineLastCharacterPointReturns a Point corresponding to the top/left corner of the last character position on the line. (read only)  
Public PropertyLineLastTextLocationReturns a Infragistics.Documents.Parsing.TextLocation corresponding to the last character position on the line. (read only)  
Public PropertyLineStartPointReturns a Point corresponding to the top/left corner of the first character on the line. (read only)  
Public PropertyLineStartTextLocationReturns a Infragistics.Documents.Parsing.TextLocation corresponding to the first last character on the line. (read only)  
Public PropertySnapshotLineInfoThe SnapshotLineInfo associated with this DocumentViewLine.  
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