Click or drag to resize

Bookmark Class

MS Word bookmark handling
Inheritance Hierarchy
SystemObject
  SIC.OpenDocumentFormat.MSWordBookmark

Namespace:  SIC.OpenDocumentFormat.MSWord
Assembly:  SIC.OpenDocumentFormat (in SIC.OpenDocumentFormat.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public class Bookmark

The Bookmark type exposes the following members.

Constructors
  NameDescription
Public methodBookmark
Initializes a new instance of the Bookmark class. Constructor without parameter
Public methodBookmark(Document)
Initializes a new instance of the Bookmark class. Constructor with parameter
Top
Methods
  NameDescription
Public methodCode exampleAdd
Add document objects of SectionType
Public methodCode exampleAddImage
Added an image from file to bookmark selection
Public methodAddMergeField
Document adds a merge field at bookmarks
Public methodAddTable
Write a table from a two-dimensional array (rows, columns) at a bookmark
Public methodCode exampleAddText
Bookmark add text into paragraph element with style (optional). Supported checkbox symbol #CheckboxOn# and #CheckboxOff#
Public methodAddTextFromTable
Bookmark add text from table (bookmark name equal field name)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExist
Bookmark check
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRead
Read bookmark text (only text, into the same level)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks
See Also