[]
        
(Showing Draft Content)

C1.WPF.Document.Line

Line Class

Represents a line in C1Document and "C1FlexReport". This class is used to specifiy borders in the Border class, line style used by shapes, and so on.

Inheritance
Line
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.4.6.2.dll
Syntax
public class Line : VisualPrimitive, INotifyPropertyChanged

Constructors

Name Description
Line()

Initializes a new instance of the Line class.

Line(double, Color, DashStyle)

Initializes a new instance of the Line class.

Properties

Name Description
ActualWidth

Gets the actual width of the line. Unlike the Width property, this returns 0 if Style is None.

Color

Gets or sets the line color.

Style

Gets or sets the line style.

Width

Gets or sets the line width.

Methods

Name Description
AssignFrom(VisualPrimitive)

Assigns (copies) properties from another Line to the current object.

Compare(VisualPrimitive)

Compares this Line object with another Line object returns true if objects represent same border.

CreateSame()

Creates an object of the same type as the current object.

GetHashCodeInt()

For internal use.

Reset()

Resets all properties to default values.

ShouldSerialize()

Indicates whether any property of this object has changed from its default value.