CDocItem::IsBlank

virtual BOOL IsBlank( ) const;

Return Value

Nonzero if the item contains no information; otherwise 0.

Remarks

Called by the framework when default serialization occurs.

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.

CDocItem OverviewClass MembersHierarchy Chart

See Also   CObject::Serialize