OverlayBitDrawerDrawLine Method (ImagePlane, OverlayBitDrawMode, Int32, Line)

CVB.Net Documentation
Draws/erases a line on the given Image overlay plane depending on mode.

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

public static void DrawLine(
	ImagePlane plane,
	OverlayBitDrawMode mode,
	int thickness,
	Line line
)

Parameters

plane
Type: Stemmer.CvbImagePlane
Image plane 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
ObjectDisposedExceptionImage of given plane was disposed.
ArgumentExceptionThe thickness is smaller than one.
FormatExceptionplane has no overlay bit set (not an overlay Image).
See Also

Reference