|
|
|
SftPictureObject.SetColorSample Method |
Defines the picture object as a color sample.
Syntax
object
A SftPictureObject object.
SampleColor
Defines the color sample. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
FrameColor
Defines the border color. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Comments
The SetColorSample method 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 color sample can also be defined using the SftPictureObject.SampleColor and SftPictureObject.FrameColor properties.
See Also SftPictureObject Object | Object Hierarchy