Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

SampleColor Property, SftPictureObject Object

Defines the picture object as a color sample.

Syntax

Get

VB.NETClr = object.SampleColor As UInteger
VBClr = object.SampleColor As OLE_COLOR
C#.NETuint Clr = object.SampleColor;
VC++OLE_COLOR Clr = object->SampleColor;
OLE_COLOR Clr = object->GetSampleColor();
CHRESULT object->get_SampleColor(OLE_COLOR* Clr);

Put

VB.NETobject.SampleColor = Clr As UInteger
VBobject.SampleColor = Clr As OLE_COLOR
C#.NETuint object.SampleColor = Clr;
VC++OLE_COLOR object->SampleColor = Clr;
void object->PutSampleColor(OLE_COLOR Clr);
CHRESULT object->put_SampleColor(OLE_COLOR Clr);

object

A SftPictureObject object.

Clr

Defines the picture object as a color sample. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The SampleColor property defines the picture object as a 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.FrameColor property can be used to define the border color of the color sample.

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.