Properties that control the attributes of ink in an InkPicture control or a column with the InkEdit edit style.
Column and InkPicture controls
PowerBuilder dot notation:
dw_control.Object.inkpicname.Ink.property
dw_control.Object.columnname.Ink.property
Describe and Modify argument:
"inkpicname.Ink.property { = value }"
"columnname.Ink.property { = value }"
Parameter |
Description |
---|---|
inkpicname |
The name of an InkPicture control. |
columnname |
The name of a column that has the InkEdit edit style. |
property |
A property for the InkPicture control or InkEdit column. Properties and their settings are listed in the table below. |
value |
The value to be assigned to the property. |
Property for Ink |
Value |
---|---|
AntiAliased |
A drawing attribute that specifies whether the foreground and background colors along the edge of the drawn ink are blended (antialiased) to make the stroke smoother and sharper. Values are:
Painter: InkAntiAliased option. |
Color |
A drawing attribute that specifies the current ink color. The default color is black. Painter: InkColor option. |
Height |
A drawing attribute that specifies the height of the side of the rectangular pen tip in HIMETRIC units (1 HIMETRIC unit = .01mm). The default is 1. Painter: InkHeight option. |
IgnorePressure |
A drawing attribute that specifies whether the drawn ink gets wider as the pressure of the pen tip on the tablet surface increases. Values are:
Painter: IgnorePressure option. |
Pentip |
A drawing attribute that specifies whether the pen tip is round or rectangular. Values are:
Painter: PenTip option. |
Transparency |
A drawing attribute that specifies the transparency of drawn ink. The range of values is from 0 for totally opaque (the default) to 255 for totally transparent. Painter: InkTransparency option. |
Width |
A drawing attribute that specifies the width of the side of the rectangular pen tip in HIMETRIC units (1 HIMETRIC unit = .01mm). The default is 53. Painter: InkWidth option. |
Select the control and set values in the Properties view, Ink or InkPicture tab, InkAttributes section.
dw1.Object.inkpic1.Ink.Antialiased = true
li_color = dw1.Describe("emp_status.Ink.Color")