Table of Contents

Method GetWidgets

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

GetWidgets()

Returns an enumerable collection of widgets (annotations and controls) used in this document.

public IEnumerable<PdfWidget> GetWidgets()

Returns

IEnumerable<PdfWidget>

An enumerable collection of widgets (annotations and controls) used in this document.

Remarks

The returned collection contains only annotations and controls referenced by PDF objects like pages and the Acroform.

When you save the document with the RemoveUnusedObjects property set to true, all unused annotations and controls will be removed.

The File attachments section contains an example of using this method.