ByteScout Premium Suite - C# - PDF Viewer Control Hosted in WPF with PDF Viewer SDK - ByteScout

ByteScout Premium Suite – C# – PDF Viewer Control Hosted in WPF with PDF Viewer SDK

  • Home
  • /
  • Articles
  • /
  • ByteScout Premium Suite – C# – PDF Viewer Control Hosted in WPF with PDF Viewer SDK

PDF viewer control hosted in WPF with PDF viewer SDK in C# using ByteScout Premium Suite

Learn to code in C# to make PDF viewer control hosted in WPF with PDF viewer SDK with this simple How-To tutorial

An easy to understand guide to learn how to PDF viewer control hosted in WPF with PDF viewer SDK in C#. ByteScout Premium Suite helps with PDF viewer control hosted in WPF with PDF viewer SDK in C#. ByteScout Premium Suite is the set that includes 12 SDK products from ByteScout including tools and components for PDF, barcodes, spreadsheets, screen video recording.

The below SDK samples describe how to quickly make your application do PDF viewer control hosted in WPF with PDF viewer SDK in C# with the help of ByteScout Premium Suite. Follow the steps-by-step instructions from the scratch to work and copy and paste code for C# into your editor. Updated and detailed documentation and tutorials are available along with installed ByteScout Premium Suite if you’d like to learn more about the topic and the details of the API.

Trial version along with the source code samples for C# can be downloaded from our website

On-demand (REST Web API) version:
 Web API (on-demand version)

On-premise offline SDK for Windows:
 60 Day Free Trial (on-premise)

App.xaml.cs
      
using System; using System.Collections.Generic; using System.Configuration; using System.Data; using System.Linq; using System.Threading.Tasks; using System.Windows; namespace PdfViewerInWpf { /// <summary> /// Interaction logic for App.xaml /// </summary> public partial class App : Application { } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

MainWindow.xaml.cs
      
using System; using System.Drawing; using System.Windows; namespace PdfViewerInWpf { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary> public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); } private void Window_Loaded(object sender, RoutedEventArgs e) { // Load a sample document on startup pdfViewerControl1.InputFile = "sample.pdf"; } private void menuItemOpen_Click(object sender, RoutedEventArgs e) { Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog { Filter = "PDF Files (*.pdf)|*.pdf|All Files (*.*)|*.*" }; bool? result = dlg.ShowDialog(); if (result == true) pdfViewerControl1.InputFile = dlg.FileName; } } }

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

VIDEO

ON-PREMISE OFFLINE SDK

60 Day Free Trial or Visit ByteScout Premium Suite Home Page

Explore ByteScout Premium Suite Documentation

Explore Samples

Sign Up for ByteScout Premium Suite Online Training

ON-DEMAND REST WEB API

Get Your API Key

Explore Web API Docs

Explore Web API Samples

Tutorials:

prev
next