Skip to content

TallComponents.UnoPdf.Client

TallComponents.UnoPdf.Client.DocumentLinkExtensions

Gets all widgets on a page, for a document stored in the API's storage

csharp
public static System.Threading.Tasks.Task<TallComponents.UnoPdf.Client.Models.Pdf.Annotations.Widgets.WidgetModel[]> GetWidgetsAsync(this TallComponents.UnoPdf.Client.DocumentLink link, int pageIndex);

Parameters

link DocumentLink

DocumentLink instance pointing to a document

pageIndex System.Int32

Index of the page, to get the widgets for

Returns

System.Threading.Tasks.Task<WidgetModel[]>
A deserialized array of WidgetModel instances.