Font Alignment

By | 2017-07-24

How to align fonts along a baseline. When printing different point sizes of a font using VB’s Print method, they default to aligning at the top of the characters rather than on a common baseline. This sample shows how to properly align them. Works for the Form, PictureBox, UserControl, and Printer objects. 

Font alignment on a baseline demo

Attachments

FileUploadedSize
899-20170724-191735-FNTALIGN.ZIP7/24/2017 7:17:35 PM1514

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.