DrawText(Int32,Int32,String,Font,Color,Color,ContentAlignment,RotateFlipType) Method
In This Topic
Draws a text on the
ViewportLayout's client area.
Syntax
Parameters
- x
- The text x coordinate
- y
- The text y coordinate (from the bottom of the viewport)
- text
- The text string to draw
- textFont
- The text font
- textColor
- The text color
- fillColor
- The background color (can be semi-transparent)
- textAlign
- The text alignment
- rotateFlip
- The text rotation
Return Value
The size of the text bitmap
See Also
Reference
ViewportLayout Class
ViewportLayout Members
Overload List
DrawTextOutlined Method
devDept.Eyeshot.ViewportLayout.DrawImage(System.Int32,System.Int32,System.Drawing.Bitmap,System.Drawing.ContentAlignment,System.Boolean,System.Boolean)