Gets a value that specifies the compatibility mode that Word uses when opening the document. ConsecutiveHyphensLimit Gets or sets the maximum number of consecutive lines that can end with hyphens. Container Gets the container application for the document. Content Gets a Range that represents the ...
_Document This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this...
Alt+F4: closes Word. F5 F5 alone: displays the Go To dialog box. Shift+F5: moves the cursor to the last change. Ctrl+Shift+F5: displays the Bookmark dialog box. Alt+F5: restores the document window size. F6 F6 alone: switch between the document, task pane, status bar, and ribbo...
_Document This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this...
Returns a long that specifies the compatibility mode that Word 2010 uses when opening the document. ConsecutiveHyphensLimit Returns or sets the maximum number of consecutive lines that can end with hyphens. Container Returns the object that represents the container application for the specified OLE...
Saves a document to a server from a local computer, and sets the local document to read-only so that it cannot be edited locally. CheckSpelling Begins a spelling check for the specified document or range. . Close Closes the specified document. ClosePrintPreview Switches the specified document ...
Microsoft Word saves the running documents in the background using its auto-save feature, allowing users to return the Word document when it closes unexpectedly. Therefore, clearing the AutoRecovery folder can fix the Word crash caused by the faulty application itself. Follow the steps below: ...
Alt+F4: closes Word. F5 F5 alone: displays the Go To dialog box. Shift+F5: moves the cursor to the last change. Ctrl+Shift+F5: displays the Bookmark dialog box. Alt+F5: restores the document window size. F6 F6 alone: switch between the document, tas...
Returns a long that specifies the compatibility mode that Word 2010 uses when opening the document. ConsecutiveHyphensLimit Returns or sets the maximum number of consecutive lines that can end with hyphens. Container Returns the object that represents the container application for the specified OLE...
Type.Dotm)){// Gets the tableDataTabletable=GetDataTable();// Executes Mail Merge with groups.document.MailMerge.ExecuteGroup(table);//Saves the Word document to MemoryStreamMemoryStreamstream=newMemoryStream();document.Save(stream,FormatType.Word2013Docm);//Closes the Word documentdocument.Close...