Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

FrameColor Property, SftPictureObject Object

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


Spring Break!

Our offices will be closed this week (March 18 through March 22).

We'll be back March 24 to address any pending sales and support issues.