OverlayBitDrawerDrawLine Method (Image, OverlayBitDrawMode, Int32, Line)

CVB.Net Documentation
Draws a line on all planes of the given image.

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

public static void DrawLine(
	Image image,
	OverlayBitDrawMode mode,
	int thickness,
	Line line
)

Parameters

image
Type: Stemmer.CvbImage
Image to draw on.
mode
Type: Stemmer.CvbOverlayBitDrawMode
Either Set or Erase the overlay bits.
thickness
Type: SystemInt32
Line thickness in pixels.
line
Type: Stemmer.Cvb.Geometry2DLine
Line to draw.
Exceptions

ExceptionCondition
ArgumentNullExceptionimage is null (Nothing in Visual Basic).
ObjectDisposedExceptionImage of given image was disposed.
ArgumentExceptionThe thickness is smaller than one.
See Also

Reference