Class BookmarkEnd
Represents the end position of the Bookmark in the document.
Inheritance
System.Object
BookmarkEnd
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.DocIO.DLS
Assembly: Syncfusion.DocIO.Base.dll
Syntax
public class BookmarkEnd : ParagraphItem, IXDLSSerializable, IParagraphItem, IEntity, IOfficeRun, ILeafWidget, IWidget
Constructors
BookmarkEnd(IWordDocument, String)
Initializes a new instance of the BookmarkEnd class with the specified WordDocument and Bookmark name.
Declaration
public BookmarkEnd(IWordDocument document, string name)
Parameters
Type | Name | Description |
---|---|---|
IWordDocument | document | The WordDocument object. |
System.String | name | The string that represents the Bookmark name. |
Properties
EntityType
Gets the type of the entity.
Declaration
public override EntityType EntityType { get; }
Property Value
Type | Description |
---|---|
EntityType | The EntityType of the current item. |
Overrides
Name
Gets the bookmark name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String | The string that represents the bookmark end name in the document. |
Methods
CloneImpl()
Creates a duplicate copy of the entity.
Declaration
protected override object CloneImpl()
Returns
Type | Description |
---|---|
System.Object | An object that is newly created. |
Overrides
CreateLayoutInfo()
Creates layout information.
Declaration
protected override void CreateLayoutInfo()
Overrides
ReadXmlAttributes(IXDLSAttributeReader)
Reads object data from xml attributes.
Declaration
protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeReader | reader | The IXDLSAttributeReader object. |
Overrides
WriteXmlAttributes(IXDLSAttributeWriter)
Writes object data as xml attributes.
Declaration
protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
Parameters
Type | Name | Description |
---|---|---|
IXDLSAttributeWriter | writer | The IXDLSAttributeWriter object. |