Properties that control the behavior of ink in an InkPicture control.
InkPicture controls
Describe and Modify argument:
"inkpicname.InkPic.property { = value }"
Parameter |
Description |
---|---|
inkpicname |
The name of an InkPicture control. |
property |
A property for the InkPicture control. Properties and their settings are listed in the table below. |
value |
The value to be assigned to the property. |
Property for InkPic |
Value |
---|---|
AutoErase |
Specifies whether the auto erase feature available on some styluses is turned on. Values are:
|
BackColor |
Specifies the numeric value of the background color: -2 to 16,777,215. For more information about color, see the RGB function. |
CollectionMode |
Specifies whether ink only, gestures only, or ink and gestures are collected. Values are:
|
DynamicRendering |
Specifies whether the ink is rendered (displayed in the control) as it is drawn. The default is true. |
EditMode |
Specifies whether the editing mode of the control is set for drawing, deleting, or selecting ink. Values are:
|
EraserMode |
Specifies whether ink is removed by stroke or point. Values are:
|
EraserWidth |
Specifies the width of the eraser pen tip in HIMETRIC units (1 HIMETRIC unit = .01mm). The default is 212. This property applies when EditMode is set to DeleteMode and EraserMode is set to PointErase. |
HighContrastInk |
Specifies whether ink is rendered in a single color when the system is in high contrast mode and draws the selection rectangle and handles in high contrast. Values are:
|
InkEnabled |
Specifies whether the InkPicture control collects pen input. Values are:
|
MarginX |
Specifies the x-axis margin around the control in PowerBuilder units. The default value is 0. |
MarginY |
Specifies the y-axis margin around the control in PowerBuilder units. The default value is 0. |
PictureSizeMode |
Specifies how the picture is displayed in the control. Values are:
|
Select the control and set values in the Properties window, InkPicture category.
[Visual Basic] li_color = dw1.Describe("inkpic1.InkPic.BackColor")