JVCL Help:TJvSegmentedLEDCharacterMapper.LoadFromStream

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Reads a character mapping from a stream.


Pascal

 procedureLoadFromStream(Stream: TStream);


Parameters

Parameters Description
Stream: TStream Stream from which to read the mapping table. Reading starts at the current position of the stream. If the stream points to an invalid mapping, the position will not have changed. After reading the stream's position is updated to point to the first byte following the mapping.


Description

LoadFromStream will read a character mapping from the specified stream and applies it to the mapping table.
If the current position of the stream does not refer to a valid mapping for this mapper class, an exception is raised (the stream position will not have changed nor will the mapping table be changed).
Before reading of the actual mapping, the table is first cleared with a call to Clear. Next the data from the stream is read for each mapped character and applies to the mapping table.


See Also

TJvSegmentedLEDCharacterMapper.LoadFromFile, TJvSegmentedLEDCharacterMapper.SaveToStream


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page