ctor for Overlay objects with user data
Namespace: Stemmer.Cvb.Forms.Overlays
Assembly: Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax
protected OverlayPluginBase( string text, bool canDrag, Color color, bool xorPaint, bool filled, Point[] vertices, OverlayPluginInfo info, Object tag )
Parameters
- text
- Type: SystemString
status line text - canDrag
- Type: SystemBoolean
dragable flag - color
- Type: System.DrawingColor
color - xorPaint
- Type: SystemBoolean
paint mode - filled
- Type: SystemBoolean
paint mode - vertices
- Type: System.DrawingPoint
vertices for the object - info
- Type: Stemmer.Cvb.Forms.OverlaysOverlayPluginInfo
opi info (GUID, friendly name) - tag
- Type: SystemObject
object to be associated with this overlay
Exceptions
Exception | Condition |
---|---|
ArgumentException | If the information about the Overlay is missing (i.e. info equals OverlayInfo.Empty) |
ArithmeticException | If the number of vertices is insufficient for the overlay to be created. |
See Also