|
|
|
SftPictureObject.SampleColor Property |
Defines the picture object as a color sample.
Syntax
VB.NET |
|||
VB |
Clr = object.SampleColor As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR Clr = object->SampleColor;
|
||
C |
HRESULT object->get_SampleColor(OLE_COLOR* Clr); |
||
Delphi |
Clr := object.SampleColor : Cardinal; |
||
VB.NET |
|||
VB |
object.SampleColor = Clr As OLE_COLOR |
||
C#.NET |
|||
VC++ |
OLE_COLOR object->SampleColor = Clr;
|
||
C |
HRESULT object->put_SampleColor(OLE_COLOR Clr); |
||
Delphi |
object.SampleColor := Clr : Cardinal; |
object
A SftPictureObject object.
Clr
Defines the picture object as a color sample. For information about color properties, please visit the applicable section "Using SftTree/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