Hide

SftTree/OCX 7.5 - ActiveX Tree Control

Display
Print

GetCellColorSample Method, SftTree Object

Defines the color sample displayed as an item's cell graphic.

Deprecated - Provided for compatibility with earlier versions only - Use Cell.Image.GetColorSample instead

Syntax

VB.NETobject.GetCellColorSample(ByVal ItemIndex As Integer, ByVal ColIndex As Short, ByRef Clr As System.Drawing.Color, ByRef FrameClr As System.Drawing.Color, ByRef WidthPix As Short, ByRef HeightPix As Short)
VBobject.GetCellColorSample(ByVal ItemIndex As Long, ByVal ColIndex As Integer, Clr As OLE_COLOR, FrameClr As OLE_COLOR, WidthPix As Integer, HeightPix As Integer)
C#.NETvoid object.GetCellColorSample(int ItemIndex, short ColIndex, out System.Drawing.Color Clr, out System.Drawing.Color FrameClr, out short WidthPix, out short HeightPix);
VC++HRESULT object->GetCellColorSample(long ItemIndex, short ColIndex, OLE_COLOR* Clr, OLE_COLOR* FrameClr, short* WidthPix, short* HeightPix);
CHRESULT object->raw_GetCellColorSample(long ItemIndex, short ColIndex, OLE_COLOR* Clr, OLE_COLOR* FrameClr, short* WidthPix, short* HeightPix);

object

A SftTree object.

ItemIndex

The zero-based index of the item. The combination of ItemIndex and ColIndex describes an individual cell.

ColIndex

The zero-based column number. The combination of ItemIndex and ColIndex describes an individual cell.

Clr

Returns the color value used to fill the color sample rectangle.

FrameClr

Returns the color value used to outline the color sample rectangle.

WidthPix

Returns the width of the color sample rectangle in pixels.

HeightPix

Returns the height of the color sample rectangle in pixels.

Comments

Deprecated - Provided for compatibility with earlier versions only - Use Cell.Image.GetColorSample instead

The GetCellColorSample method defines the color sample displayed as an item's cell graphic.

See Also SftTree 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.