Table of Contents

Method IsValidBookmarkName

Namespace
DocWright.Dom.Editing
Assembly
DocWright.Dom.dll

IsValidBookmarkName(string?)

Gets whether Word takes the name for a bookmark (Insert > Bookmark, WQ-0111): a letter first (or , a hidden bookmark), then letters, digits and , at most 40 characters; no space, hyphen or dot.

public static bool IsValidBookmarkName(string? name)

Parameters

name string

The name.

Returns

bool

Whether it is a valid bookmark name.