Skip to main content

Axinterop.acropdflib Official

// Load a PDF file pdfViewer.LoadFile(@"C:\temp\document.pdf");

// Show the first page pdfViewer.setShowToolbar(true); pdfViewer.gotoFirstPage(); axinterop.acropdflib

Here is detailed content about , aimed at developers who encounter this component in legacy .NET projects (especially Windows Forms or WPF). What is AxInterop.AcroPDFLib ? AxInterop.AcroPDFLib is a Windows Forms ActiveX wrapper assembly (specifically the "AxHost" wrapper) for Adobe’s deprecated Acrobat PDF Reader control . It allows developers to embed a PDF viewer directly into a .NET Windows Forms application. // Load a PDF file pdfViewer

AxAcroPDF pdfViewer = new AxAcroPDF(); pdfViewer.Dock = DockStyle.Fill; this.Controls.Add(pdfViewer); // Show the first page pdfViewer.setShowToolbar(true)

aximp "C:\Program Files (x86)\Adobe\Acrobat Reader\Browser\AcroPDF.dll" using AxAcroPDFLib; private void Form1_Load(object sender, EventArgs e)