Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Opens the Print Preview window for the current document using either the default print preview template or a custom template.
HRESULT PrintPreview( ) const;
HRESULT PrintPreview(
LPCTSTR szPrintTemplate
) const;
Parameters
- szPrintTemplate
Path to a print template.
Return Value
Returns S_OK on success, or an error HRESULT on failure.
Remarks
This method sends the IDM_PRINTPREVIEW command ID to the WebBrowser control.
Requirements
Header: afxhtml.h
See Also
Reference
CHtmlEditCtrlBase::PrintDocument