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:
Painter: AutoErase option. |
BackColor |
Specifies the numeric value of the background color: –2 to 16,777,215. For more information about color, see the RGB function. Painter: BackColor option. |
CollectionMode |
Specifies whether ink only, gestures only, or ink and gestures are collected. Values are:
Painter: CollectionMode option. |
DynamicRendering |
Specifies whether the ink is rendered (displayed in the control) as it is drawn. The default is true. Painter: DynamicRendering option. |
EditMode |
Specifies whether the editing mode of the control is set for drawing, deleting, or selecting ink. Values are:
Painter: EditMode option. |
EraserMode |
Specifies whether ink is removed by stroke or point. Values are:
Painter: EraserMode option. |
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. Painter: EraserWidth option. |
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:
Painter: HighContrastInk option. |
InkEnabled |
Specifies whether the InkPicture control collects pen input. Values are:
Painter: InkEnabled option. |
MarginX |
Specifies the x-axis margin around the control in PowerBuilder units. The default value is 0. Painter: MarginX option. |
MarginY |
Specifies the y-axis margin around the control in PowerBuilder units. The default value is 0. Painter: MarginY option. |
PictureSizeMode |
Specifies how the picture is displayed in the control. Values are:
Painter: PictureSizeMode option. |
Select the control and set values in the Properties view, InkPicture tab.
li_color = dw1.Describe("inkpic1.InkPic.BackColor")