Defines the border color of the color sample.
Get
| C# | uint Clr = object.FrameColor; |
| VB.NET | Clr = object.FrameColor As UInteger![]() |
| C++ | OLE_COLOR Clr = object->FrameColor; OLE_COLOR Clr = object->GetFrameColor(); |
| C | HRESULT object->get_FrameColor(OLE_COLOR* Clr); |
Put
object
Clr
Defines the border color of the color sample. Specify -1 to omit the border of the color sample. For information about color properties, please visit the applicable section "Using SftMask/OCX with ...".
The FrameColor property defines the border color of the color sample.
The FrameColor property can only be used if the picture object is a color sample (SftPictureObject.Type is sftTypeColorSample), otherwise the picture object is cleared.
The SftPictureObject.Height and SftPictureObject.Width properties should be used to define the requested image size.
The SftPictureObject.SampleColor property can be used to define the sample color.
See Also SftPictureObject Object | Object Hierarchy