Toolbar is in wrongh high
When loading die PdfViewerControl the toolbar ist drawn in the wrong high. All the tolls are cut off on the lower side.
What can id Do ?
Regards
We could not reproduce the reported issue using the information provided. For your reference, we’ve attached a sample that we used to try to replicate the issue on our end. If you continue to experience the issue, please modify this sample as needed and share it back with us with detailed replication steps. This will assist us in conducting a more thorough investigation.
Attachment: WinForms_Sample_ff140365.zip
thx,
my application: .net framework 4.8, VB.net
Private Sub StdTxtBLOB_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Dim TrLb As New TransparentLable
With TrLb
.MakeTransp(Me.lblTitel, Me.TitelBild)
End With
Me.Size = New Size(1150, 800)
PdfViewer.Dock = DockStyle.Fill
'... Pfad zur Rendering-Engine Pdfium-DLLs
Dim pdfiumPath As String = "C:\KAP\PDFIUM\"
PdfViewer.ReferencePath = pdfiumPath ' Verweis auf den Pdfium-Pfad setzen
PdfVC.ReferencePath = pdfiumPath ' Verweis auf den Pdfium-Pfad setzen
With PdfViewer.ToolbarSettings
.OpenButton.IsVisible = False
.SaveButton.IsVisible = False
End With
ShowDefaultPdfFile()
CmdSelect.PerformClick()
End Sub
The Pdfviwercontrol is located in Splitcontainer.Panel2
Even locating it outside shows the same error as well locating it in a new form.
This is a minor problem and does not need to be solved if it requires a lot of work.
Regards
Bernd
We were unable to reproduce the reported issue with the information provided. We tried the approach you mentioned using the SplitContainer, but we couldn't replicate the issue. For your reference, we've attached the sample we used to attempt the replication. If you continue to experience the issue, please modify this sample as needed and share it with us. This will help us conduct a more thorough investigation.
Attachment: Sample_WinForms_4aebaf02.zip
Thank's for Your helpful support,
in my former solution PfdViewercontrol has been added at design time resulting in the error mentioned.
Adding the control during runtime produces the correct result.
Best regards, Bernd
Thank you for the update! We're glad to hear that adding the control during runtime resolved the issue. If you need any further assistance, please feel free to reach out.
- 5 Replies
- 2 Participants
-
BE Bernd
- Jan 20, 2025 11:31 AM UTC
- Jan 27, 2025 12:35 PM UTC