SftButton/OCX 2.5

SftPictureObject.FrameColor Property

Softel vdm, Inc.

Defines the border color of the color sample.

Syntax       

Get

VB.NET

Clr = object.FrameColor  As UIntegerLanguage-specific information

VB

Clr = object.FrameColor  As OLE_COLOR

C#.NET

uintLanguage-specific information Clr = object.FrameColor;

VC++

OLE_COLOR Clr = object->FrameColor;
OLE_COLOR Clr = object->GetFrameColor();

C

HRESULT object->get_FrameColor(OLE_COLOR* Clr);

Delphi

Clr := object.FrameColor  : CardinalLanguage-specific information;

Put

VB.NET

object.FrameColor = Clr  As UIntegerLanguage-specific information

VB

object.FrameColor = Clr  As OLE_COLOR

C#.NET

uintLanguage-specific information object.FrameColor = Clr;

VC++

OLE_COLOR object->FrameColor = Clr;
void object->PutFrameColor(OLE_COLOR Clr);

C

HRESULT object->put_FrameColor(OLE_COLOR Clr);

Delphi

object.FrameColor := Clr  : CardinalLanguage-specific information;

object

A SftPictureObject object.

Clr

Defines the border color of the color sample. Specify -1 to omit the border of the color sample.  For information about color properties, please visit the applicable section "Using SftButton/OCX with ...".

Comments

The FrameColor property defines the border color of the color sample.

The SftPictureObject.Type property is set to sftTypeColorSample.

The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size.

The SftPictureObject.SampleColor property can be used to define the sample color.


Feedback / comments / error reports for this topic
© 2008 - Softel vdm, Inc. - www.softelvdm.com