ImageOverlay Constructor (String, Boolean, Point, Size, Image, Object)

CVB.Net Documentation
Standard constructor for Image Overlays.

Namespace:  Stemmer.Cvb.Forms.Overlays
Assembly:  Stemmer.Cvb.Forms (in Stemmer.Cvb.Forms.dll) Version: 14.0.0.0
Syntax

public ImageOverlay(
	string text,
	bool canDrag,
	Point location,
	Size size,
	Image image,
	Object tag
)

Parameters

text
Type: SystemString
status line text
canDrag
Type: SystemBoolean
drag-ability
location
Type: System.DrawingPoint
paint position
size
Type: System.DrawingSize
size to which to stretch the image
image
Type: Stemmer.CvbImage
Image to be used as overlay
tag
Type: SystemObject
object to be associated with this overlay
Exceptions

ExceptionCondition
ArgumentNullExceptionif the input image is null
Remarks

Using a Image as an overlay will of course increment the reference count for that image, making it live at least as long as the overlay object.
See Also

Reference