Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions Document-Processing/PDF/PDF-Viewer/blazor/organize-pages/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ documentation: ug

The PDF Viewer provides events to track and respond to actions within the page organizer, allowing for the customization of page manipulation features.

|Name|Description|
|---|---|
|PageOrganizerSaveRequested|Triggers when a save action is performed in the page organizer.|
|PageOrganizerZoomChanged|Triggers when the zoom level of the page organizer is changed.|
|PageOrganizerVisibilityChanged|Triggers when the page organizer dialog visibility is changed.|

## PageOrganizerSaveRequested Event

The `PageOrganizerSaveRequested` event is triggered when a save action is performed in the page organizer.
Expand All @@ -25,8 +31,8 @@ The event arguments provide the necessary information about the save event:

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand Down Expand Up @@ -55,8 +61,8 @@ Event arguments:

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -78,8 +84,8 @@ The `PageOrganizerVisibilityChanged` event is triggered when the page organizer

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%" PageOrganizerVisibilityChanged="VisibleChanged">
Expand All @@ -94,7 +100,9 @@ The `PageOrganizerVisibilityChanged` event is triggered when the page organizer
{% endhighlight %}
{% endtabs %}

## Related event documentation
[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Page%20Organizer/Page-Organizer-Events)

## See also

- Overall Viewer events: [Event](../events)
- Annotation events: [Annotation events](../annotation/events)
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Seamlessly import a PDF document into your existing document:

Make comprehensive adjustments by selecting all pages simultaneously. This facilitates efficient editing and formatting across the entire document.

![Organzie Select Pages](./images/organize-select-all.jpg)
![Organzie Select Pages](./images/organize-select-all.png)

### Zooming Page Thumbnails

Expand All @@ -92,7 +92,7 @@ Adjust the size of page thumbnails within the organizer panel for better visibil

This feature is especially useful when working with documents containing complex layouts or small details that need careful examination during organization.

![Organzie Zoom Panel](./images/organize-zoom-panel.jpg)
![Organzie Zoom Panel](./images/organize-zoom-panel.png)

### Real-time updates

Expand All @@ -108,8 +108,8 @@ Safeguard your edits by utilizing the **Save As** feature. This enables you to d

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%" EnablePageOrganizer="true">
Expand All @@ -122,8 +122,8 @@ Safeguard your edits by utilizing the **Save As** feature. This enables you to d

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%" PageOrganizerVisibility="true">
Expand All @@ -145,13 +145,12 @@ Safeguard your edits by utilizing the **Save As** feature. This enables you to d
* **ImageZoomMin** : It represent minimum value for the image zooming slider in the page organizer view. By default it set as `1` and acceptable values: `1` to `4`.
* **ImageZoomMin** : It represent maximum value for the image zooming slider in the page organizer view. By default it set as `5` and acceptable values: `2` to `5`.
* **FooterButtons** : It specifies which buttons are visible in the Page Organizer dialog footer.
- `None` - Hide both Save and Save As buttons.
- `Save` - Show only the "Save" button.
- `Save As` - Show only the "SaveAs" button.
* `None` - Hide both Save and Save As buttons.
* `Save` - Show only the "Save" button.
* `Save As` - Show only the "SaveAs" button.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf" Height="100%" Width="100%">
Expand All @@ -172,4 +171,4 @@ The following keyboard shortcuts are available at the organize pages dialog.

With the Organize Pages feature in the PDF Viewer, managing your PDF documents has never been easier. Whether you are adding new content, adjusting page orientation, moving the pages, duplicating the pages, or removing unnecessary pages, this feature provides the tools you need to streamline your document management workflow. Explore these capabilities today and take control of your PDF documents with ease!

<!-- [View sample in GitHub](Need to added) -->
[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Page%20Organizer)
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ This method allows programmatic rotation of individual or multiple pages within

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand Down Expand Up @@ -49,7 +48,6 @@ This method allows programmatic rotation of individual or multiple pages within

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand Down Expand Up @@ -83,7 +81,6 @@ This method allows asynchronously arranges the specified pages at the given targ

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -110,7 +107,6 @@ This method allows asynchronously inserts one or more blank pages at the specifi

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -137,7 +133,6 @@ This method allows asynchronously deletes the pages at the specified indices fro

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -164,7 +159,6 @@ This method allows asynchronously duplicates the pages at the specified indices

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -191,7 +185,6 @@ This method allows extracts the specified pages and downloads them as a separate

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -218,7 +211,6 @@ This method allows extracts the specified pages and returns the extracted PDF as

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand Down Expand Up @@ -246,7 +238,6 @@ This method allows inserts pages from another PDF document at the specified inde

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand Down Expand Up @@ -274,7 +265,6 @@ This method allows inserts pages from another PDF document as stream at the spec

{% tabs %}
{% highlight razor %}

@page "/"
@using Syncfusion.Blazor.Buttons

Expand All @@ -297,4 +287,4 @@ This method allows inserts pages from another PDF document as stream at the spec
{% endhighlight %}
{% endtabs %}

<!-- [View sample in GitHub](Need to added) -->
[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Page%20Organizer/Organize-API-Support)
40 changes: 21 additions & 19 deletions Document-Processing/PDF/PDF-Viewer/blazor/organize-pages/toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ The `CanInsert` property controls the visibility of the insert tool. When set to

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -28,16 +28,16 @@ The `CanInsert` property controls the visibility of the insert tool. When set to
{% endhighlight %}
{% endtabs %}

![Insert Disable](./images/organize-insert-disable.jpg)
![Insert Disable](./images/organize-insert-disable.png)

## Show or hide the delete option

The `CanDelete` property controls the visibility of the delete tool. When set to `false`, the delete tool will be hidden.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -47,16 +47,16 @@ The `CanDelete` property controls the visibility of the delete tool. When set to
{% endhighlight %}
{% endtabs %}

![Delete Disable](./images/organize-delete-disable.jpg)
![Delete Disable](./images/organize-delete-disable.png)

## Show or hide the rotate option

The `CanRotate` property controls the visibility of the rotate tool. When set to `false`, the rotate tool will be hidden.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -66,16 +66,16 @@ The `CanRotate` property controls the visibility of the rotate tool. When set to
{% endhighlight %}
{% endtabs %}

![Rotate Disable](./images/organize-rotate-disable.jpg)
![Rotate Disable](./images/organize-rotate-disable.png)

## Show or hide the duplicate option

The `CanDuplicate` property controls the visibility of the copy tool. When set to `false`, the copy tool will be hidden.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -85,16 +85,16 @@ The `CanDuplicate` property controls the visibility of the copy tool. When set t
{% endhighlight %}
{% endtabs %}

![Duplicate Disable](./images/organize-copy-disable.jpg)
![Duplicate Disable](./images/organize-copy-disable.png)

## Show or hide the import option

The `CanImport` property controls the visibility of the import tool. When set to `false`, the import tool will be hidden.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
Expand All @@ -104,40 +104,42 @@ The `CanImport` property controls the visibility of the import tool. When set to
{% endhighlight %}
{% endtabs %}

![Import Disable](./images/organize-import-disable.jpg)
![Import Disable](./images/organize-import-disable.png)

## Show or hide the rearrange option
## Show or hide the extract option

The `CanRearrange` property controls the ability to rearrange pages. When set to `false`, pages cannot be rearranged.
The `CanExtractPages` property controls the visibility of the extract tool. When set to `false`, the extract tool will be hidden.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanRearrange="false"></PageOrganizerSettings>
<PageOrganizerSettings CanExtractPages="false"></PageOrganizerSettings>
</SfPdfViewer2>

{% endhighlight %}
{% endtabs %}

## Show or hide the extract option
![Extract Disable](./images/organize-extract-disable.png)

The `CanExtractPages` property controls the visibility of the extract tool. When set to `false`, the extract tool will be hidden.
## Show or hide the rearrange option

The `CanRearrange` property controls the ability to rearrange pages. When set to `false`, pages cannot be rearranged.

{% tabs %}
{% highlight razor %}

@page "/"

<SfPdfViewer2 DocumentPath="https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf"
Height="100%"
Width="100%">
<PageOrganizerSettings CanExtractPages="false"></PageOrganizerSettings>
<PageOrganizerSettings CanRearrange="false"></PageOrganizerSettings>
</SfPdfViewer2>

{% endhighlight %}
{% endtabs %}

![Extract Disable](./images/organize-extract-disable.jpg)
[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Page%20Organizer/Page-Organizer-Settings)
Loading