InkPic.property
property (DataWindow object)
Description
Properties that control the behavior of ink in an InkPicture
control.
Applies to
InkPicture controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.inkpicname.InkPic.property |
Describe and Modify argument:
|
1 |
"inkpicname.InkPic.property { = value }" |
|
Parameter |
Description |
|---|---|
|
inkpicname |
The name of an InkPicture control. |
|
property |
A property for the InkPicture control. Properties |
|
value |
The value to be assigned to the |
|
Property for InkPic |
Value |
|---|---|
|
AutoErase |
Specifies whether the auto erase feature available true — false — AutoErase is turned Painter: AutoErase |
|
BackColor |
Specifies the numeric value of the background Painter: BackColor option. |
|
CollectionMode |
Specifies whether ink only, gestures only, or ink InkOnly (0) GestureOnly (1) InkAndGesture (2) — Painter: |
|
DynamicRendering |
Specifies whether the ink is rendered (displayed in Painter: DynamicRendering |
|
EditMode |
Specifies whether the editing mode of the control InkMode (0) — Ink is drawn DeleteMode (1) — Ink is SelectMode (2) — Ink is Painter: EditMode option. |
|
EraserMode |
Specifies whether ink is removed by stroke or StrokeErase (0) — The entire ink PointErase (1) — Only the ink under the Painter: EraserMode |
|
EraserWidth |
Specifies the width of the eraser pen tip in Painter: |
|
HighContrastInk |
Specifies whether ink is rendered in a single color true — Ink is rendered in a single color in false — Ink is not Painter: HighContrastInk |
|
InkEnabled |
Specifies whether the InkPicture control collects true — The control collects false — The control does not Painter: InkEnabled option. |
|
MarginX |
Specifies the x-axis margin around the control in Painter: |
|
MarginY |
Specifies the y-axis margin around the control in Painter: |
|
PictureSizeMode |
Specifies how the picture is displayed in the Center Image (1) — The picture Normal (2) — The Stretch (3) — The picture is Painter: |
Usage
In the painter
Select the control and set values in the Properties view,
InkPicture tab.
Examples
|
1 2 |
dw1.Object.inkpic1.InkPic.InkEnabled = true li_color = dw1.Describe("inkpic1.InkPic.BackColor") |
See also