Class Line

Line class

Contains elements specifying general positioning information about a shape.

public class Line : ICloneable


BeginArrow { get; set; }Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or the USE function with the name of a custom line end.
BeginArrowSize { get; set; }Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
CompoundType { get; set; }Specifies the line CompoundType of the shape.
Del { get; set; }A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.
EndArrow { get; set; }Indicates whether a line has an arrowhead or other line-end format at its last vertex.
EndArrowSize { get; set; }Specifies the size of the arrowhead at the end of the line.
GradientLine { get; }Contains the current gradient line formatting values for the shape
LineCap { get; set; }Specifies whether a line has rounded or square line ends.
LineColor { get; set; }Specifies the line color of the shape.
LineColorTrans { get; set; }Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
LinePattern { get; set; }Specifies the line pattern of the shape
LineWeight { get; set; }Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.
Rounding { get; set; }Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can be used to give a rectangle rounded corners.


Clone()Creates deep copy of this instance.

See Also