🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11807

Re: Pixel size of text

#11807
From: Bob Gonder
Date: Thu, 15 Jan 2004 18:58
10 lines
1509 bytes
Malcolm Smith wrote:

>My biggest problem is the fact the printer canvas that I have from the VCL
>is not valid until BeginDoc() is called.  Since I'm doing a preview this was
>the cause of my problem.

Doesn't the VCL have a preview method?

Win doesn't require a StartDoc to get a valid DC. Just OpenPrinter(),
DocumentProperties() twice, and CreateDC().
Technical Details
Message-ID: <f6od009r59mr1qjbki370b0ashlvo19rj7@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400524f6$1@newsgroups.borland.com> <es1b005mlgdh2ahu2k1641mdku5tuflukq@4ax.com> <4005cf4e$1@newsgroups.borland.com> <c0dc00hj5q7r3aqhbbvh1f7s7mbdmkdapd@4ax.com> <40063ac3@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,68caf32dd13ae34
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-15 11:10:41 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Pixel size of text
Date: Thu, 15 Jan 2004 10:58:15 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <f6od009r59mr1qjbki370b0ashlvo19rj7@4ax.com>
References: <400524f6$1@newsgroups.borland.com> <es1b005mlgdh2ahu2k1641mdku5tuflukq@4ax.com> <4005cf4e$1@newsgroups.borland.com> <c0dc00hj5q7r3aqhbbvh1f7s7mbdmkdapd@4ax.com> <40063ac3@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 67.31.165.204
X-Trace: newsgroups.borland.com 1074193097 67.31.165.204 (15 Jan 2004 10:58:17 -0700)
Lines: 13
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail