You are here: Start » AVL.NET » AVS.DrawString Method

AVS.DrawString Method

Draws a string on an image.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void DrawString
(
	AvlNet.Image ioImage,
	string inString,
	AvlNet.Location inLocation,
	AvlNet.CoordinateSystem2D? inLocationAlignment,
	AvlNet.Anchor2D inLocationAnchor,
	AvlNet.Pixel inColor,
	AvlNet.DrawingStyle inDrawingStyle,
	float inSize,
	float inOrientationAngle,
	AvlNet.Pixel? inBackgroundColor
)

Parameters

Name Type Range Default Description
ioImageAvlNet.Image
inStringstring
inLocationAvlNet.Location
inLocationAlignmentAvlNet.CoordinateSystem2D?
inLocationAnchorAvlNet.Anchor2DMiddleCenterDefault value: MiddleCenter.
inColorAvlNet.Pixel
inDrawingStyleAvlNet.DrawingStyle
inSizefloat12.0fHeight of a character. Default value: 12.0f.
inOrientationAnglefloat0.0fDefault value: 0.0f.
inBackgroundColorAvlNet.Pixel?

Function Overrides

See also