TypePictPicture Property
See Also DLL Example 1 Example 2
Applies To
fpSpread control
Description
Sets or returns the picture displayed in a picture cell. This property is available at run time only.
Syntax
CPicture CSpreadSheet::GetTypePictPicture( );
void CSpreadSheet::SetTypePictPicture(LPDISPATCH value);
[form.]fpSpread.TypePictPicture[ = picture]
Remarks
You can display either bitmaps or icons in picture cells.
To use the TypePictPicture property, specify the sheet with which you want to work by setting the Sheet property. Then specify the cell or cells to which to apply the property, as described in Using Column and Row Properties.
The TypePictPicture property does not have an effect unless the CellType property is set to 9 (Picture) for the specified cell or cells.
Specify how the picture is displayed in the cell using the TypeHAlign, TypePictCenter, TypePictMaintainScale, TypePictStretch, and TypeVAlign properties.
Spread Designer
Choose the Cell menu, the Cell Type menu, the Picture menu, and then the Settings tab, and then select the Picture button in the Cell Type Settings dialog box.
Data Type
Picture
See Also
CellType, Sheet, TypeHAlign, TypePictCenter, TypePictMaintainScale, TypePictStretch, TypeVAlign properties
DLL Correspondence
SSSetTypePicture, SSSetTypePictureHandle functions