Microsoft .NET Frameworks are the very friendly programming tool for data analysis and design and data processing specially using Microsoft VB.NET and Microsoft C#. This software is a very famous tool to local government and private agencies for having their activities recording and data gathering. It is also splendid to other programmers to use the tool for an urgent task such as for social community service.

Every person serving in social community is a busy person which may be able to submit records over the due time. However, if everyone is knowledgeable with Microsoft VB.NET, every data gathering for them are easy task. Microsoft .NET Framework provides comprehensive basic code functions to be used in creating organizations or company’s systems software.

In this regard, we’re discussing about simple sizing “printdocument” in VB.net which could be sometimes a badly-behaved in your settings. Below photo of “Print Settings” should output the custom paper size. The faster works done, the performance higher achieve in employment.

We’ve selected “A4 paper size” and inputted its width and height in inches. However, in the backend, the integers recognized it as “Pixel.” Which mean your document will print “8.27px * 11.68px,” that should be inches. There are times that the value of 100 pixels which is equal to 1 inch is being forgotten.

Above picture shows a button “Certificate” that would resize the printdocument1 which we have renamed as “prtCert.”

We have multiplied 100 pixels to the value of the “PpwidthSize.text” represents textbox1.text as width and “PpHeightSize.text” represents textbox2.text as height on the above code. From the frontend input boxes 8.5px*11.68px would be 8.5”x11.68” Photo shows below.

VB.NET is almost dead in this modern era. But every programmer who is using VB.NET doesn’t wasting time to think logically and handle troubles in coding because VB.NET programmers finish system within 6-12 hours. But the procedures herewith can be the same with Visual C# and Visual C++.

If you are using C#, it’s not different with this tutorial except of using variables. You can comment down for other concerns either Visual C# or Visual C++.

Thanks for reading! Hope you like it!