Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftPictureObject.FrameColor Property

Defines the border color of the color sample.

Syntax

Get

VB.NETClr = object.FrameColor As UInteger
VBClr = object.FrameColor As OLE_COLOR
C#.NETuint Clr = object.FrameColor;
VC++OLE_COLOR Clr = object->FrameColor;
OLE_COLOR Clr = object->GetFrameColor();
CHRESULT object->get_FrameColor(OLE_COLOR* Clr);

Put

VB.NETobject.FrameColor = Clr As UInteger
VBobject.FrameColor = Clr As OLE_COLOR
C#.NETuint object.FrameColor = Clr;
VC++OLE_COLOR object->FrameColor = Clr;
void object->PutFrameColor(OLE_COLOR Clr);
CHRESULT object->put_FrameColor(OLE_COLOR Clr);

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 SftBox/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.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.