System.Classes.WriteComponentResFile

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WriteComponentResFile(const FileName: string; const Instance: TComponent);

C++

extern DELPHI_PACKAGE void __fastcall WriteComponentResFile(const System::UnicodeString FileName, TComponent* const Instance);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

Writes components and their properties to a file using a resource file format.

Use WriteComponentResFile to save the component specified by the Instance parameter to the specified file, storing it in a resource-file format.

To read a component written with WriteComponentResFile, call ReadComponentResFile.

See Also

Code Examples