From bf66877eb33a4d341d60e07a5a8a5c090e65fd8a Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 17:12:31 +0530 Subject: [PATCH 1/7] 910841_Undo/redo --- wpf-toc.html | 1 + .../How-To/Disable-the-Undoredo-operation .md | 40 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md diff --git a/wpf-toc.html b/wpf-toc.html index fa7682486..2d64d6d9c 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,6 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • +
  • Disable the Undo/redo Operation in PdfViewer
  • diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md new file mode 100644 index 000000000..5ca8bd887 --- /dev/null +++ b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md @@ -0,0 +1,40 @@ +--- +layout: post +title: Disable the Undo/redo Operation in PdfViewer | Syncfusion +description: Learn about how to Disable the Undo/redo Operation in Syncfusion WPF Pdf Viewer control using Limit property of UndoRedoSettings. +platform: wpf +control: PDF Viewer +documentation: ug +--- + +# Disable the Undo/redo Operation in PdfViewer + +The PDF Viewer allows you to Disable the Undo/redo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undo redo function of PdfViewer. The following code example illustrates how to set the CurrentUser: + +{% tabs %} +{% highlight C# %} + +//Initialize PDF Viewer. +PdfViewerControl pdfViewer = new PdfViewerControl(); +//Disable the Undo/redo Operation of document +pdfViewer.UndoRedoSettings.Limit = 0; +//Load the PDF. +pdfViewer.Load("Sample.pdf"); + + +{% endhighlight %} + + + +{% highlight vbnet %} + +'Initialize PDF Viewer. +Private pdfViewer As New PdfViewerControl() +'Disable the Undo/redo Operation of document +pdfViewer.UndoRedoSettings.Limit = 0; +'Load the PDF. +pdfViewer.Load("Sample.pdf") + + +{% endhighlight %} +{% endtabs %} \ No newline at end of file From a4dec6b4c5af94d4c631b9de2085d6b70a40dc63 Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 17:43:25 +0530 Subject: [PATCH 2/7] 910841_Undo/redo --- wpf-toc.html | 2 +- .../How-To/Disable-the-Undoredo-operation .md | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wpf-toc.html b/wpf-toc.html index 2d64d6d9c..cc8bd6095 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,7 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • -
  • Disable the Undo/redo Operation in PdfViewer
  • +
  • Disable the Undoredo Operation in PdfViewer
  • diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md index 5ca8bd887..552fbdac6 100644 --- a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md +++ b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md @@ -1,22 +1,22 @@ --- layout: post -title: Disable the Undo/redo Operation in PdfViewer | Syncfusion +title: Disable the Undoredo Operation in PdfViewer | Syncfusion description: Learn about how to Disable the Undo/redo Operation in Syncfusion WPF Pdf Viewer control using Limit property of UndoRedoSettings. platform: wpf control: PDF Viewer documentation: ug --- -# Disable the Undo/redo Operation in PdfViewer +# Disable the Undoredo Operation in PdfViewer -The PDF Viewer allows you to Disable the Undo/redo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undo redo function of PdfViewer. The following code example illustrates how to set the CurrentUser: +The PDF Viewer allows you to Disable the Undoredo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undoredo function of PdfViewer. The following code example illustrates how to set the CurrentUser: {% tabs %} {% highlight C# %} //Initialize PDF Viewer. PdfViewerControl pdfViewer = new PdfViewerControl(); -//Disable the Undo/redo Operation of document +//Disable the Undoredo Operation of document pdfViewer.UndoRedoSettings.Limit = 0; //Load the PDF. pdfViewer.Load("Sample.pdf"); @@ -30,7 +30,7 @@ pdfViewer.Load("Sample.pdf"); 'Initialize PDF Viewer. Private pdfViewer As New PdfViewerControl() -'Disable the Undo/redo Operation of document +'Disable the Undoredo Operation of document pdfViewer.UndoRedoSettings.Limit = 0; 'Load the PDF. pdfViewer.Load("Sample.pdf") From 5dcf8bba7ac9947ddebe20c61a80e974c44df39f Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 17:44:23 +0530 Subject: [PATCH 3/7] 910841_Undo/redo --- wpf-toc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf-toc.html b/wpf-toc.html index cc8bd6095..e571f0d1a 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,7 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • -
  • Disable the Undoredo Operation in PdfViewer
  • +
  • Disable the Undoredo Operation in PdfViewer
  • From 15247bbd69c29b9ebe99769471d965350658bb99 Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 18:08:23 +0530 Subject: [PATCH 4/7] 910841_Undo/redo --- wpf-toc.html | 2 +- .../How-To/Disable-the-Undoredo-operation .md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wpf-toc.html b/wpf-toc.html index e571f0d1a..a9ad64a86 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,7 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • -
  • Disable the Undoredo Operation in PdfViewer
  • +
  • Disable the UndoRedo Operation in PdfViewer
  • diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md index 552fbdac6..874a0b001 100644 --- a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md +++ b/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md @@ -1,22 +1,22 @@ --- layout: post -title: Disable the Undoredo Operation in PdfViewer | Syncfusion -description: Learn about how to Disable the Undo/redo Operation in Syncfusion WPF Pdf Viewer control using Limit property of UndoRedoSettings. +title: Disable the UndoRedo Operation in PdfViewer | Syncfusion +description: Learn about how to Disable the UndoRedo Operation in Syncfusion WPF Pdf Viewer control using Limit property of UndoRedoSettings. platform: wpf control: PDF Viewer documentation: ug --- -# Disable the Undoredo Operation in PdfViewer +# Disable the UndoRedo Operation in PdfViewer -The PDF Viewer allows you to Disable the Undoredo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undoredo function of PdfViewer. The following code example illustrates how to set the CurrentUser: +The PDF Viewer allows you to Disable the UndoRedo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undoRedo function of PdfViewer. The following code example illustrates how to set the CurrentUser: {% tabs %} {% highlight C# %} //Initialize PDF Viewer. PdfViewerControl pdfViewer = new PdfViewerControl(); -//Disable the Undoredo Operation of document +//Disable the UndoRedo Operation of document pdfViewer.UndoRedoSettings.Limit = 0; //Load the PDF. pdfViewer.Load("Sample.pdf"); @@ -30,7 +30,7 @@ pdfViewer.Load("Sample.pdf"); 'Initialize PDF Viewer. Private pdfViewer As New PdfViewerControl() -'Disable the Undoredo Operation of document +'Disable the UndoRedo Operation of document pdfViewer.UndoRedoSettings.Limit = 0; 'Load the PDF. pdfViewer.Load("Sample.pdf") From 149bd30770e611267f22afe984147a06966c7b1a Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 18:14:08 +0530 Subject: [PATCH 5/7] 910841_Undo/redo_Rename --- ...-Undoredo-operation .md => Disable-the-UndoRedo-operation .md} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename wpf/Pdf-Viewer/How-To/{Disable-the-Undoredo-operation .md => Disable-the-UndoRedo-operation .md} (100%) diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md b/wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md similarity index 100% rename from wpf/Pdf-Viewer/How-To/Disable-the-Undoredo-operation .md rename to wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md From cff53b661fb620c63575a3e5f6b5bdb62240b02a Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Wed, 23 Oct 2024 18:19:55 +0530 Subject: [PATCH 6/7] 910841_Undo/redo --- wpf-toc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpf-toc.html b/wpf-toc.html index a9ad64a86..e8a91968d 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,7 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • -
  • Disable the UndoRedo Operation in PdfViewer
  • +
  • Disable the UndoRedo Operation in PdfViewer
  • From afa5ce02b1b1c7cafb70e1925ab36b3d1237fdf9 Mon Sep 17 00:00:00 2001 From: Yaminisrisf4389 Date: Thu, 24 Oct 2024 17:20:16 +0530 Subject: [PATCH 7/7] 910841_Undo/redo_Feddback_addressed --- wpf-toc.html | 2 +- .../How-To/Disable-the-Undo-Redo-operation.md | 40 +++++++++++++++++++ .../How-To/Disable-the-UndoRedo-operation .md | 40 ------------------- 3 files changed, 41 insertions(+), 41 deletions(-) create mode 100644 wpf/Pdf-Viewer/How-To/Disable-the-Undo-Redo-operation.md delete mode 100644 wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md diff --git a/wpf-toc.html b/wpf-toc.html index e8a91968d..85f9030c3 100644 --- a/wpf-toc.html +++ b/wpf-toc.html @@ -1535,7 +1535,7 @@
  • Toggle visibility of the scroll bar
  • Acquire current page being displayed
  • Enable and Disable Notification bar
  • -
  • Disable the UndoRedo Operation in PdfViewer
  • +
  • Disable the Undo Redo operation
  • diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-Undo-Redo-operation.md b/wpf/Pdf-Viewer/How-To/Disable-the-Undo-Redo-operation.md new file mode 100644 index 000000000..28d30a6b0 --- /dev/null +++ b/wpf/Pdf-Viewer/How-To/Disable-the-Undo-Redo-operation.md @@ -0,0 +1,40 @@ +--- +layout: post +title: Disable the Undo Redo operation in PdfViewer | Syncfusion +description: Learn about how to Disable the Undo Redo operation in Syncfusion WPF Pdf Viewer control using UndoRedoSettings. +platform: wpf +control: PDF Viewer +documentation: ug +--- + +# Disable the Undo Redo operation + +To disable the Undo Redo operation, set the Limit property of UndoRedoSettings to zero. By default, this value is set to 100. Reducing the value to zero will disable the Undo Redo functionality. The following code example demonstrates how to set the Limit value: + +{% tabs %} +{% highlight C# %} + +//Initialize PDF Viewer. +PdfViewerControl pdfViewer = new PdfViewerControl(); +//Set Limit property as zero +pdfViewer.UndoRedoSettings.Limit = 0; +//Load the PDF. +pdfViewer.Load("Sample.pdf"); + + +{% endhighlight %} + + + +{% highlight vbnet %} + +'Initialize PDF Viewer. +Private pdfViewer As New PdfViewerControl() +'Set Limit property as zero +pdfViewer.UndoRedoSettings.Limit = 0 +'Load the PDF. +pdfViewer.Load("Sample.pdf") + + +{% endhighlight %} +{% endtabs %} \ No newline at end of file diff --git a/wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md b/wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md deleted file mode 100644 index 874a0b001..000000000 --- a/wpf/Pdf-Viewer/How-To/Disable-the-UndoRedo-operation .md +++ /dev/null @@ -1,40 +0,0 @@ ---- -layout: post -title: Disable the UndoRedo Operation in PdfViewer | Syncfusion -description: Learn about how to Disable the UndoRedo Operation in Syncfusion WPF Pdf Viewer control using Limit property of UndoRedoSettings. -platform: wpf -control: PDF Viewer -documentation: ug ---- - -# Disable the UndoRedo Operation in PdfViewer - -The PDF Viewer allows you to Disable the UndoRedo Operation. If the Limit property of UndoRedoSettings is not set, it defaults value will be limited to 100.By reducing the value of this property to zero will disable the undoRedo function of PdfViewer. The following code example illustrates how to set the CurrentUser: - -{% tabs %} -{% highlight C# %} - -//Initialize PDF Viewer. -PdfViewerControl pdfViewer = new PdfViewerControl(); -//Disable the UndoRedo Operation of document -pdfViewer.UndoRedoSettings.Limit = 0; -//Load the PDF. -pdfViewer.Load("Sample.pdf"); - - -{% endhighlight %} - - - -{% highlight vbnet %} - -'Initialize PDF Viewer. -Private pdfViewer As New PdfViewerControl() -'Disable the UndoRedo Operation of document -pdfViewer.UndoRedoSettings.Limit = 0; -'Load the PDF. -pdfViewer.Load("Sample.pdf") - - -{% endhighlight %} -{% endtabs %} \ No newline at end of file