[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
High-level component for accessing file version information
Source position: fileinfo.pp line 58
type TFileVersionInfo = class(TComponent) |
||
public |
||
constructor Create(); override; |
|
Creates a new TFileVersionInfo component |
destructor Destroy; override; |
|
Destroys the TFileVersionInfo component |
procedure Loaded; override; |
|
Called after component loading is complete |
procedure ReadFileInfo; |
|
Reads version information from the specified file |
published |
||
property Enabled: Boolean; [rw] |
|
Controls automatic reading of version information |
property FileName: string; [rw] |
|
File name to read version information from |
property VersionStrings: TStrings; [r] |
|
Extracted version information strings |
|
List of version string keys to extract |
|
property Translation: string; [rw] |
|
Language and code page identifier for version strings |
property TranslationOnly: Boolean; [rw] |
|
Controls behavior when specified translation is not found |
end; |
|
High-level component for accessing file version information |
|
| | | ||
| | | ||
| | | ||
TFileVersionInfo is a component that provides easy access to version information from executable files. It automatically extracts version strings and supports filtering by key names and translations. The component can be enabled to automatically read version information when properties change.
Raises EVersionInfo when translation is not found and TranslationOnly is True.
|
Low-level class for accessing version information from executable files |
|
|
Exception class for version information errors |