We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

VBA equivalent functions in DocIO

Thread ID:

Created:

Updated:

Platform:

Replies:

73736 May 16,2008 12:56 AM May 26,2008 02:13 AM ASP.NET Web Forms (Classic) 2
loading
Tags: DocIO
Administrator [Syncfusion]
Asked On May 16, 2008 12:56 AM

What is the equivalent function in DocIO for the following VBA code?

ActiveDocument.DeleteAllEditableRanges wdEditorEveryone

'Selection.Editors(wdEditorEveryone).DeleteAll


ActiveDocument.Protect Password:="11", NoReset:=False, Type:= _
wdAllowOnlyReading, UseIRM:=False, EnforceStyleLock:=False



Administrator [Syncfusion]
Replied On May 21, 2008 01:17 AM

any body home?


Bhuvaneswari P [Syncfusion]
Replied On May 26, 2008 02:13 AM

Hi Chong,

Thank you for your interest in Syncfusion products.

You can protect the by using ProtectionType of the document like AllowOnlyRevisions, AllowOnlyFormFields, AllowOnlyComments options. But we don't have support for Document.DeleteAllEditableRanges.

Please refer to the sample that we ship with Essential DocIO which could be found in the below location:

\Syncfusion\EssentialStudio\x.x.x.x\Windows\DocIO.Windows\Samples\2.0\Security\ProtectingDocument\cs

Please try this and let me know if this helps.

Best Regards,
Bhuvana



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;