The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home BasePack SDLColors Class TColorArray Methods StoreOnFile | |||||||
See also: LoadFromFile, WriteToOpenTextFile | |||||||
StoreOnFile |
|||||||
The function StoreOnFile stores the values of the color array in a simply formatted ASCII file. The parameters FirstElem, and LastElem, define the range of the array to be stored in the file. The parameter FileName contains the file name specification. StoreOnFile returns a TRUE value if the color array elements have been stored successfully. Data format: The color values are stored in hexadecimal format, each value in a separate line. The first line contains the indices of the first and the last color element. The following example shows the definition of seven colors having the index 5 to 11: 5 11 00400020 003B112F 0037213D 0033304A 00313A52 002F4259 001FFFFF
|