BtColor.FromName Function

FerméDescription

Creates a color value based on the string name of a color as represented by an element of the BtColor enumeration. If the color name parameter is not a valid name, the FromName method returns a color value that has an ARGB value of 0 ( or Black).

FerméSyntaxe

BtColor.FromName(ColorName)

Where ColorName is a string containing the name of the color.

Rubriques connexes