Share

TextGraphics.PutTextColor Method

Parent Object: TextGraphics

Description

Method that sets the color of the text.

Syntax

TextGraphics.PutTextColor( Red As Byte, Green As Byte, Blue As Byte )

Parameters

Name Type Description
Red Byte Input Byte that specifies the red component of the color. This value must be between 0 and 255.
Green Byte Input Byte that specifies the green component of the color. This value must be between 0 and 255.
Blue Byte The blue component of the color. A Byte value between 0 and 255.

Samples

Name Description
Text Using Client Graphics (Simple) This sample demonstrates creating text using client graphics. It illustrates the simple case where the text is one font and is one line.
Text Using Client Graphics (Multiple fonts and lines) This sample demonstrates creating text using client graphics. It illustrates the more complex case of changes in font and more than one line.
Anchored Client Grahics This sample demonstrates the creation of client graphics that is fully anchored in a view.

Version

Introduced in version 5

Was this information helpful?