Please enable JavaScript to view this site.

A-Shell Reference

Reviewed and revised December 2023

tab(-10, AG_GETDPI); {ctlid;} chr(127);     Tab(-10,x) Syntax Notes

AG_GETDPI (111) returns the DPI for the workstation, and optionally for the monitor associated with the specified ctlid. See MX_GETDPI for details.

This function has both a subroutine and a print tab implementation.

Parameters

ctlid

optional numeric ID of a control associated with the monitor to get the DPI from

Response

sysdpi, ctldpi <CR>

sysdpi is the DPI for the primary monitor; ctldpi is the DPI for the monitor on which the control specified by ctlid is located (or 0 if no ctlid specified.)

See Also

History

2020 October, A-Shell 6.5.1692:  Function added to A-Shell