public AcroViewer() { int x = PdfAcroViewer.GetAcroPdfVersion(); x.GetType(); InitializeComponent(); viewer = new PdfAcroViewer(); this.host.Child = viewer; }
/// <summary> /// Gets a value indicating the version of Acrobat ActiveX control. Returns e.g. 80 for Adobe Reader 8.x. /// If neither Adobe Reader nor Acrobat is installed the function returns 0. /// </summary> public static int GetAcroPdfVersion() { return(PdfAcroViewer.GetAcroPdfVersion()); }