Solved

Metafiles - Fixed Line Width??

Posted on 1997-05-14
1
324 Views
Last Modified: 2010-04-04
When using Delphi's TMetafile and TMetafileCanvas, is it
possible to fix the width of a line such that it will not
thicken when the metafile is played back and stretched? I've
seen metafiles where this is the case, but I can't seem to
find any info in the documentation. TIA.
0
Comment
Question by:slgdata
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 3

Accepted Solution

by:
sperling earned 100 total points
ID: 1336238
Set MetafileCanvas.Pen.Width := 0 before drawing the line. 0 is a hairline, which will always be 1 pixel wide.


Regards,

Erik.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Working this component WebCopy with proxy, help 3 103
Intraweb download file link ? 1 168
Multiple image collision 13 89
Dynamically Created Query 3 70
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question