Hide

SftTabs/OCX 6.5 - Tab Control for VB6

Display
Print

SftPictureObject.GetColorSample Method

Retrieves the picture object attributes defined as a color sample.

Syntax

VBobject.GetColorSample(SampleColor As OLE_COLOR, FrameColor As OLE_COLOR)

object

A SftPictureObject object.

SampleColor

Returns the current sample color.

FrameColor

Returns the current border color.

Comments

The GetColorSample method retrieves the picture object attributes defined as a color sample.

If the current picture object is not a color sample (SftPictureObject.Type other than sftTypeColorSample), the returned color values are not valid.

The color sample is defined using the SftPictureObject.SampleColor, SftPictureObject.FrameColor, SftPictureObject.Width, SftPictureObject.Height properties or using the SftPictureObject.SetColorSample method.

See Also SftPictureObject Object | Object Hierarchy


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