Showing or hiding annotations in our UWP viewer
It’s possible to show or hide annotations in the PdfView
. The methods of achieving this are similar to setting the visibility of the toolbar.
If a PdfView
is being used, then the options can be set in xaml
:
<ui:PdfView ShowAnnotations="false" Name="PDFView"/>
Alternatively, you can set this at runtime:
pdfView.ShowAnnotations = false;
If you aren’t using a PdfView
, then it’s still possible to set it via the controller:
await controller.SetShowAnnotationsAsync(false);