Customizing C1PdfViewer Toolbar

Posted by: Swapnil.Walwadkar on 3 April 2018, 7:32 am EST

    • Post Options:
    • Link

    Posted 3 April 2018, 7:32 am EST

    Hello,

    I’ve been using C1PdfViewer in my application. For some security reasons, I don’t want to show the ‘Save’ button. Can you please let me know if there is any way to customize the C1PdfViewer Toolbar and hide the ‘Save’ button?

  • Posted 4 April 2018, 12:50 am EST

    Hi Swapnil,

    I am sorry but there is no direct property to show/hide the Save button in the toolbar. I have forwarded this as an enhancement request (ID: 316398) to the developers.

    As a workaround, you can modify its design template to make the desired changes. For this,

    a. Right click on the toolbar within the C1PdfViewer (after drag drop)

    b. Select “Edit Template” option from the context menu that appears

    c. Then, select “Edit a copy” option

    Here, you have to set “Visibility=false” at Save button xaml markup.

    Please refer the attached sample implementing the same.

    Thanks,

    Pragati

    Wpf_CustomizeToolbar_C1PdfViewer.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels