COleInsertDialog::GetDrawAspect

DVASPECTGetDrawAspect()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 to determine if the user chose to display the selected item as an icon. Call this function only if DoModal returns IDOK.

For more information on drawing aspect, see data structure in the OLE 2 Programmer’s Reference, Volume 1.

COleInsertDialog OverviewClass MembersHierarchy Chart

See Also   COleInsertDialog::DoModal, COleInsertDialog::COleInsertDialog