Class BookmarkCollection
Represents a Bookmarks collection in the document.
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Collections.CollectionBase.Capacity
System.Collections.CollectionBase.Count
System.Collections.CollectionBase.GetEnumerator()
System.Collections.CollectionBase.InnerList
System.Collections.CollectionBase.List
System.Collections.CollectionBase.OnClear()
System.Collections.CollectionBase.OnClearComplete()
System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)
System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
System.Collections.CollectionBase.OnValidate(System.Object)
System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
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.DLS.Collections
Assembly: Syncfusion.DLS.Base.dll
Syntax
public class BookmarkCollection : EntityCollectionBase, IXDLSSerializableCollection, ICollectionBase, IList, ICollection, IEnumerable
Constructors
BookmarkCollection(IDocument)
Creates a new Bookmark object for the specified document
Declaration
public BookmarkCollection(IDocument doc)
Parameters
Type | Name | Description |
---|---|---|
IDocument | doc | The document. |
Properties
Item[Int32]
Gets Bookmark object by Index
Declaration
public Bookmark this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
Bookmark |
Item[String]
Gets Bookmark object by Name
Declaration
public Bookmark this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Property Value
Type |
---|
Bookmark |
Methods
Add(Bookmark)
Adds Bookmark object to the collection
Declaration
public void Add(Bookmark bookmark)
Parameters
Type | Name | Description |
---|---|---|
Bookmark | bookmark |
Clear()
Declaration
public void Clear()
EndBookmark(BookmarkEnd, String)
Sets BookmarkEnd for the bookmark specified by Name
Declaration
public void EndBookmark(BookmarkEnd bookmarkEnd, string name)
Parameters
Type | Name | Description |
---|---|---|
BookmarkEnd | bookmarkEnd | |
System.String | name |
FindByName(String)
Finds Bookmark object by specified Name
Declaration
public Bookmark FindByName(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The bookmark name |
Returns
Type |
---|
Bookmark |
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable