Share via


CDocItem::IsBlank

Called by the framework when default serialization occurs.

virtual BOOL IsBlank( ) const;

Return Value

Nonzero if the item contains no information; otherwise 0.

Remarks

By default, CDocItem objects are not blank. COleClientItem objects are sometimes blank because they derive directly from CDocItem. However, COleServerItem objects are always blank. By default, OLE applications containing COleClientItem objects that have no x or y extent are serialized. This is done by returning TRUE from an override of IsBlank when the item has no x or y extent.

Override this function if you want to implement other actions during serialization.

Requirements

Header: afxole.h

See Also

Reference

CDocItem Class

Hierarchy Chart

CObject::Serialize

Other Resources

CDocItem Members