Get Trim Rectangle
The Get Trim Rectangle function returns the
presentation space area of the current (or specified) trim rectangle
to the client application.
| DDE Parameter | Value |
|---|---|
| Item | TRIMRECT (row1, col1, row2, col2) TRIMRECT (pos1, pos2) TRIMRECT |
| Parameter | Value | Explanation |
|---|---|---|
| row1 | NN | Top-left corner row of the trim rectangle |
| col1 | NN | Top-left corner column of the trim rectangle |
| row2 | NN | Bottom-right corner row of the trim rectangle |
| col2 | NN | Bottom-right corner column of the trim rectangle |
| pos1 | NNNN | PS position of the top-left corner of the trim rectangle |
| pos2 | NNNN | PS position of the bottom-right corner of the trim rectangle |
Note:
An item in the IBM Personal Communications Version 3.1 format
is also supported.
The current specified PS trim rectangle is used unless the client application specifies the PS trim rectangle in the parameter.
The client application can use the Personal Communications DDE function by specifying the DDE function (Request) of the client application with the item name (TRIMRECT).