Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sun Jul 19, 2020 1:05 am

In the latest version of PDF Viewer component,
Is it possible to customize the toolbar buttons by my C# program??
For example, disable or hide: the "Load a pdf document from disk" button, the search text field, ...etc??
And, also, is it possible to replace the tooltip of each toolbar buttons with my customized message??
If positive, how to do?

grchen168
 
Posts: 32
Joined: Sat Jan 24, 2015 4:48 pm

Mon Jul 20, 2020 11:08 am

Hello,

Thanks for your inquiry.
You can customize the toolbar button using our PdfDocumentViewer control (not PdfViewer control). Please download the MSI version (Spire.PDFViewer Pack Version:5.1) on our website and install it. After installing, you could find many demos in the "demos" folder. If there is any question, please feel free to contact us.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Mon Jul 20, 2020 2:43 pm

Thanks for the reply.
And, I had checked the toolbar demo project,
it leverage the user control to achieve the goal.
Is it possible that we can easily just set each toolbar button (of the pdf viewer control) properties to achieve the customization and localization?

grchen168
 
Posts: 32
Joined: Sat Jan 24, 2015 4:48 pm

Tue Jul 21, 2020 2:30 am

Hello,

Thanks for your response.
Kindly note that the toolbar of PdfViewer control is fixed, its functional design cannot be changed. To customize your own toolbar, please use the PdfDocumentViewer control. Feel free to let us know if you have further questions.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Tue Jul 21, 2020 3:24 am

Got it.
Anyway, Thanks.

grchen168
 
Posts: 32
Joined: Sat Jan 24, 2015 4:48 pm

Tue Jul 21, 2020 5:32 am

Hello,

You are welcome.
If you need any other help, just feel free to contact us.
Wish you all the best!

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1571
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.PDF