Dart.PowerWEB.TextBox Namespace : ColorPaletteType Enumeration (Dart.PowerWEB.TextBox) |
Enumerates possible values for the HtmlBox.ColorPaletteType property.
Member | Description |
---|---|
WebSafe | Causes the HtmlBox to use an expanded 216-color, web-safe palette. |
Standard | Causes the HtmlBox to use the standard 140-color palette. |
Condensed | Causes the HtmlBox to use a condensed 40-color palette, good for low-bandwidth scenarios. |
A color palette appears in multiple places in several different forms throughout the editor. For example, the font color picker button displays a palette of colors when clicked. The insert table dialog displays a drop down list of all colors when loaded. This enumeration controls the colors that are displayed.
By default, the HtmlBox.ColorPaletteType property of the HtmlBox is set to ColorPaletteType.Standard, which indicates the standard 140 color standard palette (also found in System.Drawing.Color) will be used. Set HtmlBox.ColorPaletteType to ColorPaletteType.WebSafe to use the 216 color web-safe palette. If bandwidth or rendering time is an issue, set HtmlBox.ColorPaletteType to ColorPaletteType.Condensed to get a condensed 40 color palette.
Namespace: Dart.PowerWEB.TextBox
Platforms: Windows 98, Windows NT 4.0, Windows ME, Windows 2000, Windows XP, Windows Server 2003, Windows Vista
Assembly: Dart.PowerWEB.TextBox (in Dart.PowerWEB.TextBox.dll)
Dart.PowerWEB.TextBox Namespace
Send comments on this topic.
Documentation version 3.2.0.0.
© 2009 Dart Communications. All rights reserved.