Solved

Metafiles - Fixed Line Width??

Posted on 1997-05-14
1
291 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
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now