ColorBook Class

This class represents a color book that are collections of named colors (color palettes) that can be used in drawings. Color books are commonly used when designers need standardized color systems for architecture, product design, etc. When using a color book, a user can pick a named color from a book instead of manually specifying RGB values.
Inheritance Hierarchy
SystemObject
  Teigha.ColorsColorBook

Namespace: Teigha.Colors
Assembly: TD_MgdColorBookReader (in TD_MgdColorBookReader.dll) Version: 0.0.0.0
Syntax
public class ColorBook

The ColorBook type exposes the following members.

Properties
  Name Description
Public property Name Gets the colorbook name.
Public property Pages Gets the list of pages in this colorbook.
Top
Methods
  Name Description
Public methodStatic member ClearCache Remove all colorbooks from a cache storage.
Public method Equals
(Inherited from Object)
Protected method Finalize
(Inherited from Object)
Public methodStatic member GetAllColorBooks Gets all loaded colorbooks from cache.
Public methodStatic member GetAllColorBooksDictionary Gets all loaded colorbooks from cache.
Public method GetColorByName Gets RGB color value from this colorbook by color name.
Public method GetHashCode
(Inherited from Object)
Public method GetType
(Inherited from Object)
Public methodStatic member LoadBookToCache(Byte) Read color book from bytes array to cache.
Public methodStatic member LoadBookToCache(StreamBuf) Read color book from memory stream to cache.
Public methodStatic member LoadBookToCache(String) Read color book from physical file on disk to cache.
Protected method MemberwiseClone
(Inherited from Object)
Public method ToString
(Inherited from Object)
Public methodStatic member UnloadBookFromCache Remove book from a cache storage.
Top
See Also