Sybase 2 Barcode Reader User Manual


 
Supplying property values
302 DataWindow .NET
Font.Escapement (for rotating controls)
Description
The angle of rotation from the baseline of the text.
In the painter
Escapement on the Font page in the Properties view.
Value
An integer in tenths of degrees. For example, 450 means 45 degrees. 0 is
horizontal.
Example
To enter rotation for a control, select the control in the Design view and click
the button next to the Escapement property in the Properties view. In the dialog
box that displays, enter the number of tenths of degrees.
The following picture shows the Design view with a number of text controls.
Each text control shows the Font.Escapement value entered and the number of
degrees of rotation. In the Design view, you do not see rotation; it looks as if
the controls are all mixed up. Two controls seem to overlie each other:
The next picture shows the same controls at runtime. Each control is rotated
appropriately: