You are here: Start » FIL.NET » Function Reference » Image » Image Drawing » 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.CoordinateSystem2D? inRectangleAlignment, FilNet.Pixel inColor, FilNet.DrawingStyle inDrawingStyle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioImage | FilNet.Image | ||||
![]() | inRectangle | FilNet.Rectangle2D | |||
![]() | inRectangleAlignment | FilNet.CoordinateSystem2D? | |||
![]() | inColor | FilNet.Pixel | |||
![]() | inDrawingStyle | FilNet.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.