Table of Contents

Method GetControls

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

GetControls()

Returns an enumerable collection of controls used in this document.

public IEnumerable<PdfControl> GetControls()

Returns

IEnumerable<PdfControl>

An enumerable collection of controls used in this document.

Remarks

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

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

The PDF forms section contains an example of using this method.