Hello,
is there any posibility to hide the contextual menu of the PDF viewer?
thank you.
Contextual menu.
Re: Contextual menu.
Support · Apr 2, 2018Hello,
Yes, you can hide the context menu in the Viewer control without any problem using DynamicPDF Viewer for .NET product. You will need to use the ContextMenuShowing event of the Viewer control and set the Cancel property of the ContextMenuShowingEventArgs to true. Below is the code sample.
private void pdfViewer1_ContextMenuShowing(object sender, ContextMenuShowingEventArgs e)
{
e.Cancel = true;
}
Thanks,
ceTe Software Support Team.
Re: Contextual menu.
Forum member · Apr 2, 2018It worked. Thank you!.