System.Classes.TStreamOriginalFormat

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TStreamOriginalFormat = (sofUnknown, sofBinary, sofText, sofUTF8Text);

C++

enum DECLSPEC_DENUM TStreamOriginalFormat : unsigned char { sofUnknown, sofBinary, sofText, sofUTF8Text };

Properties

Type Visibility Source Unit Parent
enum public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TStreamOriginalFormat indicates the format in which a form file is saved.

Form files can be saved in binary format or as a text file, depending on the options set in the Environment Options dialog. TStreamOriginalFormat specifies the format used for saving a form file. It is one of the following values:



Value Meaning

sofUnknown

The format of the file from which a form is being read or to which it is being written is unknown. If the format can't be deduced from the stream, an exception is raised.

sofBinary

The form is being read from or written to a form file that uses binary format.

sofText

The form is being read from or written to a text file.