TResources.WriteToFile procedure
Writes the contents of the object to a file
Declaration
procedure WriteToFile(aFileName: string); overload
procedure WriteToFile(aFileName: string;
aWriter: TAbstractResourceWriter); overloadArguments
aFileName | The name of the file to write to |
aWriter | The resource writer to use to write to the file |
Description
This method writes the contents of the object to a file whose name is passed as parameter.
If a writer is specified, that writer is used. Otherwise, the first registered writer matching the file name extension is used.
Errors
If no writer is passed and no suitable writer is found, an EResourceWriterNotFoundException exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
