BtColor.FromName Function

关闭描述

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).

关闭语法

BtColor.FromName(ColorName)

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

相关主题