Appearance
TallComponents.UnoPdf.Client
TallComponents.UnoPdf.Client.DocumentLinkExtensions
DocumentLinkExtensions.GetWidgetAsync(this DocumentLink, int, int) Method
Gets a specific widget 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> GetWidgetAsync(this TallComponents.UnoPdf.Client.DocumentLink link, int pageIndex, int annotationIndex);
Parameters
link
DocumentLink
DocumentLink instance pointing to a document
pageIndex
System.Int32
Index of the page, to get the widget for
annotationIndex
System.Int32
Index of the widget to get
Returns
System.Threading.Tasks.Task<WidgetModel>
A deserialized WidgetModel instance.