(0) exportieren Drucken
Alle erweitern
AcceptAllRevisions Method
AcceptAllRevisionsShown Method
Activate Method
AddDocumentWorkspaceHeader Method
AddToFavorites Method
ApplyTheme Method
AutoFormat Method
AutoSummarize Method
CanCheckin Method
CheckConsistency Method
CheckGrammar Method
CheckIn Method
CheckNewSmartTags Method
CheckSpelling Method
Close Method
ClosePrintPreview Method
Compare Method
Compare2000 Method
Compare2002 Method
ComputeStatistics Method
ConvertNumbersToText Method
ConvertVietDoc Method
CopyStylesFromTemplate Method
CountNumberedItems Method
CreateLetterContent Method
DataForm Method
DeleteAllComments Method
DeleteAllCommentsShown Method
DeleteAllEditableRanges Method
DeleteAllInkAnnotations Method
DetectLanguage Method
EditionOptions Method
EndReview Method
FitToPages Method
FollowHyperlink Method
ForwardMailer Method
GetCrossReferenceItems Method
GetLetterContent Method
GoTo Method
MakeCompatibilityDefault Method
ManualHyphenation Method
Merge Method
Merge2000 Method
Post Method
PresentIt Method
PrintOut Method
PrintOut2000 Method
PrintOutOld Method
PrintPreview Method
Protect Method
Protect2002 Method
Range Method
RecheckSmartTags Method
Redo Method
RejectAllRevisions Method
RejectAllRevisionsShown Method
Reload Method
ReloadAs Method
RemoveDocumentWorkspaceHeader Method
RemoveLockedStyles Method
RemoveNumbers Method
RemoveSmartTags Method
RemoveTheme Method
Repaginate Method
Reply Method
ReplyAll Method
ReplyWithChanges Method
ResetFormFields Method
Route Method
RunAutoMacro Method
RunLetterWizard Method
Save Method
SaveAs Method
SaveAs2000 Method
sblt Method
Select Method
SelectAllEditableRanges Method
SelectNodes Method
SelectSingleNode Method
SendFax Method
SendFaxOverInternet Method
SendForReview Method
SendMail Method
SendMailer Method
SetDefaultTableStyle Method
SetLetterContent Method
SetPasswordEncryptionOptions Method
ToggleFormsDesign Method
TransformDocument Method
Undo Method
UndoClear Method
Unprotect Method
UpdateStyles Method
UpdateSummaryProperties Method
ViewCode Method
ViewPropertyBrowser Method
WebPagePreview Method
Erweitern Minimieren

_Document.CheckSpelling Method

Begins a spelling check for the specified document or range.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim CustomDictionary As Object
Dim IgnoreUppercase As Object
Dim AlwaysSuggest As Object
Dim CustomDictionary2 As Object
Dim CustomDictionary3 As Object
Dim CustomDictionary4 As Object
Dim CustomDictionary5 As Object
Dim CustomDictionary6 As Object
Dim CustomDictionary7 As Object
Dim CustomDictionary8 As Object
Dim CustomDictionary9 As Object
Dim CustomDictionary10 As Object
Dim _Document1 As _Document
_Document1.CheckSpelling(CustomDictionary, IgnoreUppercase, AlwaysSuggest, CustomDictionary2, CustomDictionary3, CustomDictionary4, CustomDictionary5, CustomDictionary6, CustomDictionary7, CustomDictionary8, CustomDictionary9, CustomDictionary10)

void CheckSpelling(
	[In, Optional] ref object CustomDictionary, 
	[In, Optional] ref object IgnoreUppercase, 
	[In, Optional] ref object AlwaysSuggest, 
	[In, Optional] ref object CustomDictionary2, 
	[In, Optional] ref object CustomDictionary3, 
	[In, Optional] ref object CustomDictionary4, 
	[In, Optional] ref object CustomDictionary5, 
	[In, Optional] ref object CustomDictionary6, 
	[In, Optional] ref object CustomDictionary7, 
	[In, Optional] ref object CustomDictionary8, 
	[In, Optional] ref object CustomDictionary9, 
	[In, Optional] ref object CustomDictionary10
);
public void CheckSpelling(
	/*in*/System.Object CustomDictionary, 
	/*in*/System.Object IgnoreUppercase, 
	/*in*/System.Object AlwaysSuggest, 
	/*in*/System.Object CustomDictionary2, 
	/*in*/System.Object CustomDictionary3, 
	/*in*/System.Object CustomDictionary4, 
	/*in*/System.Object CustomDictionary5, 
	/*in*/System.Object CustomDictionary6, 
	/*in*/System.Object CustomDictionary7, 
	/*in*/System.Object CustomDictionary8, 
	/*in*/System.Object CustomDictionary9, 
	/*in*/System.Object CustomDictionary10
);
function CheckSpelling(
	 CustomDictionary : Object, 
	 IgnoreUppercase : Object, 
	 AlwaysSuggest : Object, 
	 CustomDictionary2 : Object, 
	 CustomDictionary3 : Object, 
	 CustomDictionary4 : Object, 
	 CustomDictionary5 : Object, 
	 CustomDictionary6 : Object, 
	 CustomDictionary7 : Object, 
	 CustomDictionary8 : Object, 
	 CustomDictionary9 : Object, 
	 CustomDictionary10 : Object
);

Parameters

CustomDictionary

Optional Object. Either an expression that returns a Dictionary object or the file name of the custom dictionary.

IgnoreUppercase

Optional Object. True if capitalization is ignored. If this argument is omitted, the current value of the IgnoreUppercase property is used.

AlwaysSuggest

Optional Object. True for Microsoft Word to always suggest alternative spellings. If this argument is omitted, the current value of the SuggestSpellingCorrections property is used.

CustomDictionary2

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary3

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary4

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary5

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary6

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary7

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary8

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary9

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

CustomDictionary10

Optional Object. Either an expression that returns a Dictionary object or the file name of an additional custom dictionary. You can specify as many as nine additional dictionaries.

If the document or range contains errors, this method displays the Spelling and Grammar dialog box (Tools menu), with the Check grammar check box cleared. For a document, this method checks all available stories (such as headers, footers, and text boxes).


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen:
© 2014 Microsoft