You are here: Start » AVL.NET » AVL.DrawStrings_TwoColors(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, bool, AvlNet.Image)

AVL.DrawStrings_TwoColors(AvlNet.Image, string[], AvlNet.Location?[], AvlNet.Anchor2D, AvlNet.Pixel, AvlNet.Pixel, bool?[], AvlNet.DrawingStyle, float, float, bool, AvlNet.Image)

Draws strings (text) on an image with two colors, depending on the status of each string (usually: green or red for pass/fail status).

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void DrawStrings_TwoColors(
	AvlNet.Image inImage,
	string[] inStrings,
	AvlNet.Location?[] inLocations,
	AvlNet.Anchor2D inLocationAnchor,
	AvlNet.Pixel inColorIfTrue,
	AvlNet.Pixel inColorIfFalse,
	bool?[] inConditions,
	AvlNet.DrawingStyle inDrawingStyle,
	float inSize,
	float inOrientationAngle,
	bool inForceRgb,
	out AvlNet.Image outImage
)

Parameters

inImage
Type: AvlNet.Image
Input image
inStrings
Type: System.String
inLocations
Type: System.Nullable<AvlNet.Location>
inLocationAnchor
Type: AvlNet.Anchor2D
inColorIfTrue
Type: AvlNet.Pixel
Color corresponding to True value on inCondition input
inColorIfFalse
Type: AvlNet.Pixel
Color corresponding to False value on inCondition input
inConditions
Type: System.Nullable<System.Boolean>
inDrawingStyle
Type: AvlNet.DrawingStyle
inSize
Type: System.Single
Height of a character in pixels
inOrientationAngle
Type: System.Single
Orientation of text in degrees
inForceRgb
Type: System.Boolean
Filter will convert monochromatic image to RGB if needed
outImage
Type: AvlNet.Image
Output image

Remarks

See full override for more details.

See also