You seem to use the Control.Size Property property.
And the starting position in the upper left corner seems to be Control.Location Property.
The first parameter is horizontal and the second parameter is vertical.
Form1.Designer.cs I extracted it from the source and it was written like this
this.pdfViewer1.Location=new System.Drawing.Point(1,1); this.pdfViewer1.Size=new System.Drawing.Size(500,300);
The following is for your reference
If it is the page of the document you are viewing, isn't it possible to change the size by setting the
SizeMode property to
SizeModes.Zoom and specifying a value (magnification?) in the
Examples of forum questions (The purpose of the question is different)
float x=pdfViewer1.CurrentPage.Width/2; float=pdfViewer1.CurrentPage.Height/2; pdfViewer1.SizeMode=SizeModes.Zoom; pdfViewer1.Zoom=4; pdfViewer1.ScrollToPoint(0, newPointF(x,y));
github WinForms sample
361 Add dataframe values of the same structure without column names
351 I have saved several codes written in python to a visual studio file.
374 I want an event to happen when I click on a particular image on tkinter.
345 Who developed the "avformat-59.dll" that comes with FFmpeg?
© 2023 OneMinuteCode. All rights reserved.