Editor Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a single user who has been given specific permissions to edit portions of a document.
public interface class Editor
[System.Runtime.InteropServices.Guid("DD947D72-F33C-4198-9BDF-F86181D05E41")]
public interface Editor
type Editor = interface
Public Interface Editor
- Attributes
Remarks
Users who can be given permissions include individual contributors and groups of users as defined for Document Workspace sites.
The permissions you assign to ranges and selections go into effect only after a document is protected. Use the Editors collection and the Editor object to assign specific permissions to sections of a document. Then use the Protect(WdProtectionType, Object, Object, Object, Object) method to protect the document.
Use the Add(Object) method of the Editors collection to give a specified user or group permission to modify a range or selection within a document.
Properties
Application |
Returns a Application object that represents the Microsoft Word application. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
ID |
Returns or sets the identifying label for the specified object when the current document is saved as a Web page. |
Name |
Returns or sets the name of the specified object. |
NextRange |
Returns a Range object that represents the next range for which a user has permissions to modify. |
Parent |
Returns an object that represents the parent object of the specified object. |
Range |
Returns a Range object that represents the portion of a document that's contained in the specified object. |
Methods
Delete() |
Deletes the specified object. |
DeleteAll() |
Deletes all editing permissions in a document for a specific user. |
SelectAll() |
Selects all the shapes in the main story, in a canvas, or in headers and footers of a document. |