You are here: Start » AVL.NET » Invoke.DrawString
Draws a string on an image.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void DrawString ( Avl.Image ioImage, string inString, Avl.Location inLocation, Optional<Avl.CoordinateSystem2D> inLocationAlignment, Avl.Anchor2D inLocationAnchor, Avl.Pixel inColor, Avl.DrawingStyle inDrawingStyle, float inSize, float inOrientationAngle, Optional<Avl.Pixel> inBackgroundColor )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
| ioImage | Avl.Image | ||||
![]()  | inString | string | |||
![]()  | inLocation | Avl.Location | |||
![]()  | inLocationAlignment | Atl.Optional<Avl.CoordinateSystem2D> | |||
![]()  | inLocationAnchor | Avl.Anchor2D | MiddleCenter | Default value: MiddleCenter. | |
![]()  | inColor | Avl.Pixel | |||
![]()  | inDrawingStyle | Avl.DrawingStyle | |||
![]()  | inSize | float | 12.0f | Height of a character. Default value: 12.0f. | |
![]()  | inOrientationAngle | float | 0.0f | Default value: 0.0f. | |
![]()  | inBackgroundColor | Atl.Optional<Avl.Pixel> | 

