Top 10 Features of Syncfusion WPF PDF Viewer | Syncfusion Blogs
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (175).NET Core  (29).NET MAUI  (208)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (220)BoldSign  (15)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (66)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (101)Streamlit  (1)Succinctly series  (131)Syncfusion  (919)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (36)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (150)Chart  (132)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (633)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (40)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (508)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (11)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (597)What's new  (333)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Top 10 features PDF Viewer

Top 10 Features of Syncfusion WPF PDF Viewer

The Syncfusion PDF Viewer for WPF is a feature-rich control that provides great functionalities rather than just displaying PDF documents. It supports bookmarks, hyperlinks, zoom modes, and other features for better navigation and viewing experience. With the rich set of annotations support, reviewing PDF documents is made easier. You can fill PDF Acroforms interactively using PDF Viewer, more details about interactive form filling is available here. In this blog, I am going to walk you through 10 major features of the PDF Viewer control:

Text markup annotations

Text markup annotations help draw attention to a particular piece of text in a document. It can either be an important text to be focused on or some unimportant text to be ignored. The PDF Viewer supports including and deleting three types of text markup annotations:

  • Highlight
  • Underline
  • Strikethrough

Usually, highlight and underline annotations are used to bring attention to text and strikethrough is used to indicate text to be ignored.

You can either jump to the annotation mode and select the text to which to add an annotation or select the text and add the annotation using the context menu.

Text Markup Annotations - PDF Viewer

Text markup annotations—PDF Viewer

Customization of colors and the opacity of individual annotations is also possible. For more information, please refer to the UG documentation.

Shape annotations

Like the text markup annotation, shape annotations are also used to focus attention on a certain region of a document. There is no restriction in adding a shape annotation; it can be added in any part of the PDF document. The shape annotations supported by the PDF Viewer are:

  • Line
  • Rectangle
  • Circle

To include a shape annotation, jump to the annotation mode and drag the mouse over the desired pages of the PDF document.

Shape Annotations - PDF Viewer

Shape annotations—PDF Viewer

Customization of colors and the opacity of individual annotations is also possible. For more information, please refer to the UG documentation.

Text annotation

The text annotation feature allows users to add text content anywhere in the PDF document. Like shape annotation, this, too, does not have any restriction on the inclusion area. It is usually used to make some notes about the content.

Text Annotation - PDF Viewer

Text annotation—PDF Viewer

You can customize the font size and color of this annotation. To learn more about text annotation, please refer to the UG documentation.

Free-hand annotations

The PDF Viewer also allows the inclusion of free-hand drawings and scribbles in a PDF document, and the user is free to draw anything over the page surface. The user can customize the color, opacity, and thickness of the annotation.

To include this annotation, jump to the annotation mode and start to scribble over the page surface.

Free Hand Annotation - PDF Viewer

Free-hand annotation —PDF Viewer

More details about freehand annotation are available here.

Stamp annotations

Adding stamp annotation to a PDF document is similar to adding a rubber stamp to a paper document.  You can choose from a list of predefined stamps and select the place to put it in the document.

Stamp annotation - PDF Viewer

Stamp annotation —PDF Viewer

For more details about managing stamp annotation, please refer to the UG documentation.

Redact document content

There may be some situations in which we have to share a PDF document and don’t want to expose some particular data in it. In these cases, we can redact that particular content of the PDF document and share it confidentially.

Redact PDF content - PDF Viewer

Redact PDF content—PDF Viewer

The redacted content of the PDF document can never be revealed, even by the owner who applied the redaction.

For more details about the redaction feature, refer to the UG documentation.

Rearrange pages

The PDF Viewer allows you to rearrange pages of a PDF document. You can either move a single page to a different destination or move a set of pages to a new location. You do this with the Organize Pages windows in the PDF Viewer. Or, you can do it in code-behind without the interference of the UI.

Rearrange pages - PDF Viewer

Rearrange pages—PDF Viewer

More details about rearranging pages can be found here. Doing it in the code-behind is explained here.

Remove and rotate pages

Rotate and remove an individual page or a group of pages in a PDF document using the PDF Viewer. In the Organize Pages window in the PDF Viewer, the mouse hovering over the thumbnail of the page will result in a context menu for rotating or deleting the page. You can rotate the pages in both clockwise and counterclockwise directions.

Rotate or delete page PDF viewer

Rotate or delete page —PDF Viewer

You can select more than one thumbnail to apply these operations to multiple pages using the toolbar in the Organize Pages window.

Rotate multiple pages - PDF Viewer

Rotate multiple pages—PDF Viewer

Please find its documentation here.

Include handwritten signatures

The PDF Viewer supports including handwritten signatures in the PDF document. You can either jump to the signature mode, draw the signature and include it in the PDF document, or select the signature field in the PDF document to display the signature pad to include the signature.

Handwritten-signature PDF Viewer

Including a handwritten signature—PDF Viewer

Refer to the UG documentation of the PDF Viewer for more details about including handwritten signatures.

Print documents

PDF Viewer supports different types of printing for PDF documents:

  • Silent printing
  • Printing using Print dialog

You can also customize the size and orientation of a document while printing it. You can find more details about printing using PDF Viewer here.

Conclusion

I hope you have a better understanding of the major features supported by the WPF PDF Viewer control. What else do you expect from a PDF viewer? Please share your thoughts in the comments sections. Also, check out the sample project in this GitHub location.

If you’re already a Syncfusion user, you can download the product setup here. Otherwise, you can download a free, 30-day trial here.

If you have any questions or require clarification on these features, please contact us through our support forumDirect-Trac, or Feedback Portal. We are happy to assist you!

Tags:

Share this post:

Comments (4)

Great features, still it would be awesome to have the PDF silent printing feature isolated so that it could be used in a Windows Service.

Hi Alberto,

Greetings from Syncfusion.

We can print a PDF document in Windows Service using the silent printing feature supported by Syncfusion WPF PDF Viewer. We created a sample for the same and it can be downloaded from the below link:

https://www.syncfusion.com/downloads/support/directtrac/general/ze/PDFPrinter-943709680

Please find the Steps to be followed to print a PDF document in Windows Service below:

Step 1: Create a Windows Service application and add the necessary features to the application as instructed in the below link:

https://docs.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer

Step 2: Define the printing process to print the PDF document silently using PdfViewerControl.

void PrintPDF()
{
PdfViewerControl pdfViewerControl = new PdfViewerControl();

// Load the PDF document to be printed
pdfViewerControl.Load(“Pass the full path of the PDF file to be printed here…”);

// Print the PDF document silently using the printer name.
pdfViewerControl.Print(“Pass your printer name here…”);
}

Note: We should specify the printer name by passing it as a parameter in the Print method as mentioned in the above code example. Otherwise the service cannot detect the printer even though it is a default printer.

Step 3: Perform the printing as single threaded, when the service starts.

protected override void OnStart(string[] args)
{
// Set the threading model to STA
Thread thread = new Thread(PrintPDF);
thread.SetApartmentState(ApartmentState.STA);
thread.Start();
}

Please let us know if you have any questions.

Regards,
Ramkumar

Thank you for your reply, I’ll try it as soon as I can!

Just tried with the WindowsForms version of the PdfViewerControl and worked fine! Thanks!

Comments are closed.

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed