version 1.9.5.4, fix pdf viewer

This commit is contained in:
Jonathan Jenne 2018-12-20 17:26:38 +01:00
parent 1e37da9749
commit caf4072604
2 changed files with 5 additions and 2 deletions

View File

@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' übernehmen, indem Sie "*" eingeben:
' <Assembly: AssemblyVersion("1.0.*")>
<Assembly: AssemblyVersion("1.9.5.3")>
<Assembly: AssemblyVersion("1.9.5.4")>
<Assembly: AssemblyFileVersion("1.0.0.0")>

View File

@ -287,6 +287,8 @@ Public Class frmValidator
me_closing = False
pdfxchange = False
sumatra = False
RibbonControl1.Minimized = True
If My.Settings.frmValidatorPosition.IsEmpty = False Then
If My.Settings.frmValidatorPosition.X > 0 And My.Settings.frmValidatorPosition.Y > 0 Then
Location = My.Settings.frmValidatorPosition
@ -1486,7 +1488,8 @@ Public Class frmValidator
If LogErrorsOnly = False Then ClassLogger.Add(" >> Internal Viewer Path: " & Document_Path, False)
PdfControls_visible(True)
Me.Size = My.Settings.frmValidation_Size_PDFViewer
PdfViewer1.ZoomFactor = PDFViewer_ZoomMode
'PdfViewer1.ZoomFactor = PDFViewer_ZoomMode
PdfViewer1.ZoomMode = DevExpress.XtraPdfViewer.PdfZoomMode.FitToWidth
pdfxchange = False
sumatra = False
Case "pdfxchange"