Ink.property

Description

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

Applies to

Column and InkPicture controls

Syntax

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:

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

  • false – The ink stroke is not antialiased

Color

A drawing attribute that specifies the current ink color. The default color is black.

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.

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)

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

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.

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.

Usage


In the painter

Select the control and set values in the Properties window, Ink or InkPicture category.

Examples

Example 1

[Visual Basic]
li_color = dw1.Describe("emp_status.Ink.Color")

See also