Table of Contents

Method Add

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Add(string, PdfDocumentView)

Adds a named document view to the collection.

public void Add(string name, PdfDocumentView view)

Parameters

name string

The name to associate with the document view.

view PdfDocumentView

The document view to add.

Remarks

If the collection already contains a document view with the specified name, the existing view is replaced. Use Contains(string) to determine whether a name is already present in the collection.

The name can be any string that uniquely identifies the view, such as View1, View2, AppendixG, or Chapter2.

Exceptions

ArgumentNullException

name or view is null.

ArgumentException

view belongs to a different document.