共用方式為


CMFCPreviewCtrlImpl::GetDocument

Returns a document connected to this preview control.

ATL::IDocument* GetDocument();

Return Value

A pointer to a document, whose content is previewed in the control.

Requirements

Header: afxwin.h

See Also

Reference

CMFCPreviewCtrlImpl Class