Click or drag to resize
EditorType Enumeration
Specifies the set of possible aliases (or editing groups) which can be used as aliases to determine if the current user shall be allowed to edit a single range defined by an editable range within a document.

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
Syntax
public enum EditorType
Members
  Member nameValueDescription
Unspecified0 Means that editor type is not specified.
Administrators1 Specifies that users associated with the Administrators group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Contributors2 Specifies that users associated with the Contributors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Current3 Specifies that users associated with the Current group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Editors4 Specifies that users associated with the Editors group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Everyone5 Specifies that all users that open the document shall be allowed to edit editable ranges using this editing type when document protection is enabled.
None6 Specifies that none of the users that open the document shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Owners7 Specifies that users associated with the Owners group shall be allowed to edit editable ranges using this editing type when document protection is enabled.
Default0 Same as Unspecified.
Examples
Shows how to add editing group for editable ranges
[C#]

EditableRangeStart startRange1 = builder.StartEditableRange();

builder.Writeln("EditableRange_1_1");
builder.Writeln("EditableRange_1_2");

// Sets the editor for editable range region
startRange1.EditableRange.EditorGroup = EditorType.Everyone;
See Also