Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 672 Bytes

TPJResourceFile-SaveToStream.md

File metadata and controls

23 lines (13 loc) · 672 Bytes

SaveToStream method

Project: Resource File Unit

Unit: PJResFile.

Class: TPJResourceFile

Applies to: ~>1.0

procedure SaveToStream(const Stm: TStream);

Saves the resource file object's data to a stream. The data written is in the form of a 32 bit resource file containing all the resources recorded in the resource file object. If there are no resource entries then the data of a valid empty resource file is written to the stream.

Parameter:

  • Stm: The stream to which the resource file data is written.

Raises:

An exception is raised if the stream does not support writing.