AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgk.DeviceWidth Property

The width in pixels of the current device's screen.

Syntax
Pascal
class property DeviceWidth: Integer;

For most platforms this value is usually the size of the screen in portrait mode, but this is not guaranteed. This value will not change if the screen is rotated.

Copyright (c) 2012. All rights reserved.