Skip to Main Content
VB.Net Web Developer's Guide
book

VB.Net Web Developer's Guide

by Syngress
September 2001
Intermediate to advanced content levelIntermediate to advanced
608 pages
23h 46m
English
Syngress
Content preview from VB.Net Web Developer's Guide
Advanced Programming Concepts • Chapter 6 259
indicate that this method provides the event handling for the PrintPage method of
the PrintDocument object.
On the next several lines, we declare variables that are important for the
spacing of our printer output.The single, sngCurY, contains our current vertical
position on the page.We use this to indicate when we need to go to the next
page.The single, sngLineHeight, contains the height of the lines on our page.This
is calculated by calling the GetHeight method of the Font object used to render
our text. Finally, we declare our Font object, oFont, which determines the charac-
teristics of the font used ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

VB.NET Core Classes in a Nutshell

VB.NET Core Classes in a Nutshell

Budi Kurniawan, Ted Neward

Publisher Resources

ISBN: 9781928994480