ShadowText.SetForegroundColors Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Sets the color of the text and its shadow.

Namespace: Microsoft.Maps.MapControl.Overlays
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Sub SetForegroundColors ( _
    top As Brush, _
    bottom As Brush _
)
public void SetForegroundColors (
    Brush top,
    Brush bottom
)
public:
void SetForegroundColors (
    Brush^ top, 
    Brush^ bottom
)
public void SetForegroundColors (
    Brush top, 
    Brush bottom
)
public function SetForegroundColors (
    top : Brush, 
    bottom : Brush
)

Parameters

  • top
    The color of the text.
  • bottom
    The color of the shadow behind the text.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

ShadowText Class
ShadowText Members
Microsoft.Maps.MapControl.Overlays Namespace