Defines a collection of colors, one for each
string in the batch.
[Visual Basic .NET] |
---|
Public Sub SetColors( _
ByRef Colors As System.Array _
)
|
[C#] |
---|
public void SetColors(
|
[Managed C++] |
---|
public: void SetColors(
|
[Java] |
---|
public setColors(
|
[Unmanaged C++] |
---|
public: HRESULT SetColors(
|
- Colors
- An array containing the numeric representation of a color for
each string in the batch. There must be one color for each string
passed to the Text Batch
Primitive's
Set
orSetPartial
method. In .NET a Color should be translated a number by calling itsToArgb
method and casting the result as an unsigned integer.
Per-string colors override the per-batch color. Therefore, when per-string colors are defined with this method, the text batch's Color property is ignored.
Shows the format of
the Colors parameter when setting per string colors.
[C#] | Copy Code | |
---|---|---|
|
Shows the format of
the Colors parameter when setting per string colors.
[Visual Basic .NET] | Copy Code | |
---|---|---|
|