TiObjectCanvas.SetObjectPen

TiObjectCanvas

Used to set an object's pen attributes.

type TPenStyle = (psSolid, psDash, psDot, psDashDot, psDashDotDot, psClear, psInsideFrame);

procedure SetObjectPen(Handle : Integer, Color : TColor, Style : TPenStyle, Width : Integer);

Description

Call SetObjectPen to set an object's pen attributes.

Example

Delphi

iComponent.SetObjectPen(5, clRed, psSolid, 1);

C++ Builder

iComponent->SetObjectPen(5, clRed, psSolid, 1);

Contents | Index | Previous | Next