Hide

SftMask/OCX 7.0 - ActiveX Masked Edit 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 SftMask/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.