Ink.property – PB Docs 126

Ink.property DataWindow object property

Description

Properties that control the attributes of ink in an InkPicture
control or a column with the InkEdit edit style.

Controls

Column and InkPicture controls

Syntax

PowerBuilder dot notation:

Describe and Modify argument:

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:

  • true – The
    ink stroke appears smoother and sharper (default)

  • false – The ink stroke
    is not antialiased

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:

  • true – Pressure
    from the pen tip is ignored

  • false – The width of
    the ink increases with the pressure of the pen tip (default)

Painter: IgnorePressure option.

Pentip

A drawing attribute that specifies whether
the pen tip is round or rectangular.

Values are:

  • Ball (0) – The
    pen tip is round (default)

  • Rectangle (1) – The pen tip is rectangular

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.

Usage

In the painter

Select the control and set values in the Properties view,
Ink or InkPicture tab, InkAttributes section.

Examples

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x