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
namestringThe name to associate with the document view.
viewPdfDocumentViewThe 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
nameorviewisnull.- ArgumentException
viewbelongs to a different document.