diff --git a/Controls.DocumentViewer/DocumentViewer.vb b/Controls.DocumentViewer/DocumentViewer.vb index 0309e5b8..69d35e6e 100644 --- a/Controls.DocumentViewer/DocumentViewer.vb +++ b/Controls.DocumentViewer/DocumentViewer.vb @@ -195,7 +195,6 @@ Public Class DocumentViewer Else btnPrint.Visible = True End If - End Sub Private Sub UpdateMainUi() Exit Sub @@ -478,7 +477,7 @@ Public Class DocumentViewer heightInches = GdViewer.PageHeight / GdViewer.VerticalResolution End If - Me.ToolStripStatusLabel1.Text = "Type: " + GetDocumentTypeLabel() + " - " + + Me.statusbar.Text = "Type: " + GetDocumentTypeLabel() + " - " + "Pagesize (zoll): " + Trim(Str(Math.Round(widthInches, 2))) + " × " + Trim(Str(Math.Round(heightInches, 2))) + " - " + "Pagesize (pixel): " + Trim(Str(GdViewer.PageWidth)) + " × " + Trim(Str(GdViewer.PageHeight)) + " - " + "Horizontal resolution: " + Trim(Str(Math.Round(GdViewer.HorizontalResolution, 2))) + " DPI - " + diff --git a/GUIs.Test.DocumentViewerTest/Form2.vb b/GUIs.Test.DocumentViewerTest/Form2.vb index 635ab4f3..00e756eb 100644 --- a/GUIs.Test.DocumentViewerTest/Form2.vb +++ b/GUIs.Test.DocumentViewerTest/Form2.vb @@ -23,7 +23,7 @@ Public Class Form3 Logger.Info("DocumentViewer Form Loaded") DocumentViewer1.Init(LogConfig, Key) DocumentViewer1.LoadFile(FilePath) - DocumentViewer1.SetViewOnly(True) + DocumentViewer1.RightOnlyView(True) Logger.Info("File Loaded") End Sub