screensize.htm

来自「matlab的FDC工具箱」· HTM 代码 · 共 22 行

HTM
22
字号
<!doctype html public "-//W3C//DTD HTML 3.2//EN">
<html>
  <head>
    <link rel="stylesheet" type="text/css" href="fdchelp.css">
    <title>
      FDC help: SCREENSIZE
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
  </head>
  <body bgcolor="#DDDDDD"><div>
    <h2>
      <i>SCREENSIZE</i> utility to determine screen dimensions
    </h2>
    <p><i>SCREENSIZE</i> is a Matlab program that determines the dimensions of your screen. It is used by other utilities to position GUI elements.</p>
    <h3>Usage</h3>
    <p><code>[left,bottom,width,height] = screensize</code><br> returns the screen-size in pixels.</p>
    <p><code>[left,bottom,width,height] = screensize(units)</code> <br>returns the screen-size in user-specified units of measurement. Valid values for <i>units</i>' are: 'inches', 'centimeters', 'normalized', 'points', 'pixels', and 'characters'.</p>
    <p>The coordinates <i>left</i> and <i>bottom</i> correspond with the bottom left point of the screen. <code>[left bottom] = [1 1]</code> when expressed in pixel units; for the other units <code>[left bottom] = [0 0]</code>.</p>
  </div></body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?