Class LineInfo
Inheritance
System.Object
LineInfo
Assembly: Syncfusion.RichTextBoxAdv.WPF.dll
public class LineInfo : DependencyObject
Constructors
Initializes the new instance of LineInfo class
Declaration
Initializes the new instance of LineInfo class
Declaration
public LineInfo(LineInfo lineInfo)
Parameters
Fields
Registers the bounding rectangle property
Declaration
public static readonly DependencyProperty BoundingRectangleProperty
Field Value
Type |
System.Windows.DependencyProperty |
Declaration
Field Value
Properties
Gets or Sets the bounding rectangle property
Declaration
public Rect BoundingRectangle { get; set; }
Property Value
Gets or Sets the element boxes
Declaration
public List<ElementBox> ElementBoxes { get; set; }
Property Value
Gets or Sets the height of the line
Declaration
public double Height { get; set; }
Property Value
Gets the location of the current line
Declaration
public Point Location { get; }
Property Value
Type |
System.Windows.Point |
Gets or Sets the width of the line
Declaration
public double Width { get; set; }
Property Value
Methods
Adds the specified rectangle to the bounding rectangle
Declaration
public void Add(Rect rect)
Parameters
Type |
Name |
Description |
System.Windows.Rect |
rect |
|
Declaration
public void DrawLine(int x1, int y1, int x2, int y2, Color color)
Parameters
Type |
Name |
Description |
System.Int32 |
x1 |
|
System.Int32 |
y1 |
|
System.Int32 |
x2 |
|
System.Int32 |
y2 |
|
System.Windows.Media.Color |
color |
|
Declaration
public void DrawRectangle(Rect rect, Color color)
Parameters
Type |
Name |
Description |
System.Windows.Rect |
rect |
|
System.Windows.Media.Color |
color |
|
DrawText(Point)
Declaration
public void DrawText(Point point)
Parameters
Type |
Name |
Description |
System.Windows.Point |
point |
|
Declaration
public override string ToString()
Returns