Constructor for Line plugins.
Namespace: Stemmer.Cvb.Forms.Overlays
Assembly: Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax
public LineOverlay( string text, bool canDrag, Color color, bool xorPaint, Point start, Point end, DashStyle dashStyle, int penWidth )
Parameters
- text
- Type: SystemString
status line text - canDrag
- Type: SystemBoolean
dragable - color
- Type: System.DrawingColor
color - xorPaint
- Type: SystemBoolean
paint mode - start
- Type: System.DrawingPoint
start point of the line - end
- Type: System.DrawingPoint
end point of the line - dashStyle
- Type: System.Drawing.Drawing2DDashStyle
dash style for painting the line - penWidth
- Type: SystemInt32
pen width for painting the line
Exceptions
Exception | Condition |
---|---|
ArgumentException | If penWidth is less than 0 or dashStyle is Custom |
See Also