Project: Resource File Unit
Unit: PJResFile.
Class: TPJResourceEntry
Applies to: ~>1.1
procedure LoadDataFromFile(const SrcFileName: TFileName;
const Append: Boolean);Loads the content of a file into the resource entry's raw data. The file content can either replace existing or be appedned to it.
After the file is loaded the Data property's stream pointer is set to 0.
Parameters
- SrcFileName: The name of the file whose contents are to be loaded.
- Append: When
Truethe file contents are appended to the end of any current resource data. WhenFalseany existing resource data is replaced by the file contents.