SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTree/NET 2.0 - Tree Control
Retrieves the picture object attributes defined as a color sample.
| VB.NET | object.GetColorSample(ByRef SampleColor As UInteger , ByRef FrameColor As UInteger ) |
| VB | object.GetColorSample(SampleColor As OLE_COLOR, FrameColor As OLE_COLOR) |
| C#.NET | void object.GetColorSample(out uint SampleColor, out uint FrameColor); |
| VC++ | HRESULT object->GetColorSample(OLE_COLOR* SampleColor, OLE_COLOR* FrameColor); |
| C | HRESULT object->raw_GetColorSample(OLE_COLOR* SampleColor, OLE_COLOR* FrameColor); |
object
A SftPictureObject object.
Returns the current sample color. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
Returns the current border color. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".
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
