You are here: Start » FIL.NET » Function Reference » Image » Image Drawing » FIL.DrawRectangle

FIL.DrawRectangle

Draws a rectangle on an image.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void DrawRectangle
(
	FilNet.Image ioImage,
	FilNet.Rectangle2D inRectangle,
	FilNet.Pixel inColor,
	FilNet.DrawingStyle inDrawingStyle
)

Parameters

Name Type Range Default Description
ioImageFilNet.Image
inRectangleFilNet.Rectangle2D
inColorFilNet.Pixel
inDrawingStyleFilNet.DrawingStyle

Description

Filter draws rectangles on an input image.

If an rectangle dimensions exceeds image size it will not be drawn or will be drawn partially.

To indicate the Rectangle orientation set inDrawingStyle.PointShape and inDrawingStyle.Size.

Rectangle drawn with set orientation indicator inDrawingStyle.PointShape = Circle and inDrawingStyle.Size = 10.

Function Overrides

See also