DrawColor

Viewer interaction

Description

Colour of the annotations created by CommitDrawnShape in the vmDrawSquare, vmDrawCircle and vmDrawInk modes

The freehand ink trail drawn while a vmDrawInk drag is in progress uses the same colour; the square and circle rubber bands use the system highlight colour instead

Syntax

Delphi

Property TPDFlibViewer.DrawColor: TColor

Remarks

Defaults to clRed

The value is read when a shape is committed, so changing it affects the next annotation only; annotations already added to the document keep the colour they were created with

See also

DrawLineWidth, CommitDrawnShape, ViewerMode, TPDFlibViewer