Organize Pages toolbar
17 Jul 20264 minutes to read
The PDF Viewer lets applications customize the Organize Pages toolbar to enable or disable tools according to project requirements. Use the PageOrganizerSettings to control each tool’s interactivity and behavior.
Enable or disable the insert option
The CanInsert property controls the insert tool visibility. Set it to false to disable the insert tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanInsert="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the delete option
The CanDelete property controls the delete tool visibility. Set it to false to disable the delete tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanDelete="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the rotate option
The CanRotate property controls the rotate tool visibility. Set it to false to disable the rotate tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanRotate="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the duplicate option
The CanDuplicate property controls the duplicate tool visibility. Set it to false to disable the duplicate tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanDuplicate="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the import option
The CanImport property controls the import tool visibility. Set it to false to disable the import tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanImport="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the extract option
The CanExtractPages property controls the extract pages tool visibility. Set it to false to disable the extract pages tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanExtractPages="false"></PageOrganizerSettings>
</SfPdfViewer2>Enable or disable the rearrange option
The CanRearrange property controls the rearrange tool visibility. Set it to false to disable the rearrange tool.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanRearrange="false"></PageOrganizerSettings>
</SfPdfViewer2>Configure multiple options
The PageOrganizerSettings properties can be combined to enable or disable multiple tools at once.
<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanInsert="false" CanDelete="true" CanRotate="true" CanDuplicate="false" CanImport="true" CanExtractPages="true" CanRearrange="true"></PageOrganizerSettings>
</SfPdfViewer2>