Udostępnij za pośrednictwem


CHtmlEditCtrlBase::SaveAs

Saves the current Web page to a file.

HRESULT SaveAs( 
   LPCTSTR szPath = NULL  
) const;

Parameters

  • szPath
    The path and file name to which to save the Web page.

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Remarks

This method sends the IDM_SAVEAS command ID to the WebBrowser control.

Requirements

Header: afxhtml.h

See Also

Reference

CHtmlEditCtrlBase Class

Other Resources

CHtmlEditCtrlBase Members