help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Procedures and functions][Variables] Reference for unit 'Graph' (#rtl)

GetMaxColor

return maximum number of colors

Declaration

Source position: graphh.inc line 743

function GetMaxColor: Word;

Description

GetMaxColor returns the maximum color-number which can be set with SetColor. Contrary to Turbo Pascal, this color isn't always guaranteed to be white (for instance in 256+ color modes).

Errors

None.

See also

SetColor

  

Set foreground drawing color

GetPaletteSize

  

Return maximal number of entries in current palette

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505