BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
I need remove Open button. I don't allow user to access another file from this control
I see that is old request. I wonder why you not apply it. It's very needed. My user should be focus on my material not browsing the disk files.
So I try hide it by Reflection:
var
toolbar =(ToolStrip)pdfV.Controls[0].Controls[0].Controls[0];
var itemsProperty = toolbar.GetType().GetProperty("Items",BindingFlags.NonPublic|BindingFlags.Instance);
But for some reasons the Items prop not accessible and return null.
Also your old Simple example code for custom ToolBarhttp://www.syncfusion.com/downloads/support/forum/121648/ze/CustomToolbar-879685658.zipNot work for me on Core.
We will validate this behavior and provide further updates on March 26th, 2025.
Thanks.
Notice actually need way to prevent Open and/or Save. As explain both have lot reason to not include on custom application as we point above.
I very suggest to add it to Control prop:
bool OpenbuttonVisible
bool SavebuttonVisible
//Load the document ot PDFViewer control pdfviewerControl.Load("../../../Data/Input.pdf"); //Change the visibility of open and save button pdfviewerControl.ToolbarSettings.OpenButton.IsVisible = false; pdfviewerControl.ToolbarSettings.SaveButton.IsVisible = false; |