Solved

Metafiles - Fixed Line Width??

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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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