IRichEditOle::SetDvaspect method (richole.h)
Sets the aspect that a rich edit control uses to draw an object. This call does not change the drawing information cached in the object; this must be done by the caller. The call does cause the object to be redrawn.
HRESULT SetDvaspect( LONG iob, DWORD dvaspect );
Index of the object whose aspect is to be set. If this parameter is REO_IOB_SELECTION, the aspect of the selected object is to be set.
Aspect to use when drawing. The values are defined by OLE.
Returns S_OK on success, or a failure code otherwise. E_INVALIDARG is returned if the index is invalid.
|Minimum supported client||Windows Vista [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|