'Declaration Protected Function GetTextImage( _ ByVal text As String, _ ByVal font As Font, _ ByVal color As Color, _ ByVal fillColor As Color, _ ByVal textAlign As ContentAlignment, _ ByVal rotateFlip As RotateFlipType, _ Optional ByVal antialias As Boolean _ ) As Bitmap
protected Bitmap GetTextImage( string text, Font font, Color color, Color fillColor, ContentAlignment textAlign, RotateFlipType rotateFlip, bool antialias )
Parameters
- text
- The text
- font
- The text font
- color
- The text color
- fillColor
- The background color
- textAlign
- The text alignment (used to clip the image when the background is transparent)
- rotateFlip
- The rotation and flip to apply to the bitmap
- antialias
- If true, the text is antialiased
Return Value
The text bitmap