Defines the picture shown in the day's cell.
Get
| C# | SftPictureObject refPictureObj = object.Picture; |
| VB.NET | refPictureObj = object.Picture As SftPictureObject |
| C++ | ISftPictureObject* refPictureObj = object->Picture; ISftPictureObject* refPictureObj = object->GetPicture(); |
| C | HRESULT object->get_Picture(ISftPictureObject** refPictureObj); |
Put
| C# | SftPictureObject object.Picture = refPictureObj; |
| VB.NET | object.Picture = refPictureObj As SftPictureObject |
| C++ | ISftPictureObject* object->Picture = refPictureObj; void object->PutPicture(ISftPictureObject* refPictureObj); |
| C | HRESULT object->put_Picture(ISftPictureObject* refPictureObj); |
object
A SftDateDayFormatting object.
refPictureObj
Returns or defines the picture object.
The Picture property defines the picture shown in the top corner of the day, a SftPictureObject. The picture of a special date that applies to the day is used unless the application defines another one. p The picture is defined using the methods and properties of the SftPictureObject returned by this property, for example a bitmap, an icon, a GDI+ image or a color sample. It is scaled according to the control's ImageScaling property and is never taller than half the height of the day.
See Also SftDateDayFormatting Object | Object Hierarchy | Day Formatting