Partager via


COleInsertDialog::GetDrawAspect

Call this function to determine if the user chose to display the selected item as an icon.

DVASPECT GetDrawAspect( ) const;

Return Value

The method needed to render the object.

  • DVASPECT_CONTENT   Returned if the Display As Icon check box was not checked.

  • DVASPECT_ICON   Returned if the Display As Icon check box was checked.

Remarks

Call this function only if DoModal returns IDOK.

For more information on drawing aspect, see FORMATETC data structure in the Windows SDK.

Requirements

Header: afxodlgs.h

See Also

Reference

COleInsertDialog Class

Hierarchy Chart

COleInsertDialog::DoModal

COleInsertDialog::COleInsertDialog