(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.SetPasswordEncryptionOptions Method

Sets the options Microsoft Word uses for encrypting documents with passwords.

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

'Usage
Dim PasswordEncryptionProvider As String
Dim PasswordEncryptionAlgorithm As String
Dim PasswordEncryptionKeyLength As Integer
Dim PasswordEncryptionFileProperties As Object
Dim _Document1 As _Document
_Document1.SetPasswordEncryptionOptions(PasswordEncryptionProvider, PasswordEncryptionAlgorithm, PasswordEncryptionKeyLength, PasswordEncryptionFileProperties)

void SetPasswordEncryptionOptions(
	[In] string PasswordEncryptionProvider, 
	[In] string PasswordEncryptionAlgorithm, 
	[In] int PasswordEncryptionKeyLength, 
	[In, Optional] ref object PasswordEncryptionFileProperties
);
public void SetPasswordEncryptionOptions(
	/*in*/System.String PasswordEncryptionProvider, 
	/*in*/System.String PasswordEncryptionAlgorithm, 
	/*in*/int PasswordEncryptionKeyLength, 
	/*in*/System.Object PasswordEncryptionFileProperties
);
function SetPasswordEncryptionOptions(
	 PasswordEncryptionProvider : String, 
	 PasswordEncryptionAlgorithm : String, 
	 PasswordEncryptionKeyLength : int, 
	 PasswordEncryptionFileProperties : Object
);

Parameters

PasswordEncryptionProvider

Required String. The name of the encryption provider.

PasswordEncryptionAlgorithm

Required String. The name of the encryption algorithm. Word supports stream-encrypted algorithms.

PasswordEncryptionKeyLength

Required Integer. The encryption key length. Must be a multiple of 8, starting at 40.

PasswordEncryptionFileProperties

Optional Object. True for Word to encrypt file properties. Default is True.

For enhanced security, do not use Weak Encryption (XOR) (also called "OfficeXor") or "Office97/2000 Compatible" (also called "OfficeStandard") algorithms.


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