System.Devices.TDeviceInfo

Delphi
TDeviceInfo = class sealed
C++
class PASCALIMPLEMENTATION TDeviceInfo : /*[[sealed]]*/ public System::TObject
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Devices.pas System.Devices.hpp |
System.Devices | System.Devices |
Description
Represents a computing device or a range of computing devices.
To create an instance of TDeviceInfo, use AddDevice, which adds the new device to a global list of devices.
Each device provides the following read-only properties:
- AspectRatio
- DeviceClass
- Exclusive
- ID.
- Note: Use DeviceByID to access existing devices by their identifier.
- Maximum size properties: MaxDiagonal, MaxLogicalScreenSize, MaxPhysicalScreenSize.
- Minimum size properties: MinDiagonal, MinLogicalScreenSize, MinPhysicalScreenSize.
- PixelsPerInch
- Platform
Devices may also have attributes.
Use SelectDevices to obtain an array of existing devices that fit a given set of properties.