I've been working with the Twips/Pixel issue and after reviewing the
Acc.Dev.Hnd book and the groups, the standard seems to be ...
640x480 15 Twips/Pixel
800x600 12 Twips/Pixel
1024x768 12 Twips/Pixel
1280x1024 12 Twips/Pixel
Some sources even say all resolutions other than 640x480 have 12
Twips/Pixel.
However........ ...
I'm using a 15.4 wide screen laptop and discovered through painstaking
measurements that....
640x480 15 Twips/Pixel Normal as documented
1280x800 15 Twips/Pixel What happened?
1024x768 15 Twips/Pixel What happened?
800x600 15 Twips/Pixel What happened?
These numbers were obtained by measuring a 1 pixel difference in
Also, the sizes that windows(using GetWindowRect dll call) and Access
reports for a given open form, remains the same when I change
resolutions. I thought that the pixels were different (12 vs. 15) with
each resolution, and would change when setting the resolution and
reopening the form.
Any advice or comments would be appreciated.
TIA 1 6395
On 11 Jun 2005 21:49:45 -0700, "ce*******@yaho o.com" <ce*******@yaho o.com>
wrote: I've been working with the Twips/Pixel issue and after reviewing the Acc.Dev.Hnd book and the groups, the standard seems to be ...
640x480 15 Twips/Pixel 800x600 12 Twips/Pixel 1024x768 12 Twips/Pixel 1280x1024 12 Twips/Pixel
No - you can't make such assumptions. It will depend on the aspect ratio of
your monitor and your dpi (dots per inch) setting in Windows. You should use
API calls to determine the dpi in the X and Y direction on your system
configuration - it won't always be the same in both directions. Note that an
"inch" here means what your programs will treat as an inch, not a physical
inch of physical distance on your screen.
Some sources even say all resolutions other than 640x480 have 12 Twips/Pixel.
However....... ....
I'm using a 15.4 wide screen laptop and discovered through painstaking measurements that....
640x480 15 Twips/Pixel Normal as documented 1280x800 15 Twips/Pixel What happened? 1024x768 15 Twips/Pixel What happened? 800x600 15 Twips/Pixel What happened?
If the dpi setting is the same for all resolutions, then Twips per Pixel will
be the same as well. That's pretty normal. If you change your display
settings to Large Fonts, you'll see those numbers change. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: baruch |
last post by:
Hello!
I'm using PHP Version 4.3.3RC5-dev with GD Version bundled (2.0.15
compatible) to generated some graphics based on mysql data and to my
surprise when I use the GD function imageline($im, $x1, $y1, $x2, $y2,
$cl); (with $cl being the collorallocated via function) the line is
draw dirtying the contiguous pixels of the image ($im), making some
extra pixels around the background. I've removed my jpeg background
and the problem...
|
by: Joop |
last post by:
Hi,
When I create a text field on a report with a 8 point font in it and let
Access decide the size, the height wil become 0.423 cm. This comes down to
240 twips wich is 12 points.
My question: Why does access need an extra 4 points
I need a report with only 1 point white between the lines. Is there a way to
do that without clipping the g, j, y, etc???
|
by: Sachin |
last post by:
Hi
If we check Font.Height property it returns the value in pixel. How to
convert the same in Twips?
please guide
--
sachin
|
by: Robert W. |
last post by:
I'm building a simple Windows Form with tabs at the top. I'm writing some
code to ensure that each tab will be wide enough to accomodate the text that
will go in it - for both English and other languages.
So I used the MeasureString method to figure out the width of the text.
This came back in pixels. Fine. But then I went to the TabPage object to
get its width. To my great surprise the width value was in Twips, even
though articles...
|
by: Tigger |
last post by:
Dear Experts,
I am working on ASP.NET. I have got a problem related to the usage of
Javascript in ASP.NET. Please help. The story is the following:
1) I am developing an ASP.NET application. I need to prompt the users with a
modal box (with "Yes" and "Cancel" button on it);
2) When the user clicks "Yes" button, I need to do some further processing.
If "Cancel" is clicked, of course, stops doing anything;
3) Now the problems are:
-...
| |
by: liups |
last post by:
Hi,
I just come across this, how can I make a form's height larger than
780 pixels?
Thank you.
|
by: Jeremy |
last post by:
The real reason I ask is, I want to compare the size of a winform label with
the size of a crystal field. Crystal uses twips. What units are used in
winforms? Pixels? Points?
Jeremy
|
by: perspolis |
last post by:
Hi all
I have some points in twips measurement.how can I convert them to pixel
measurement ?
thanks
|
by: juanhernandez |
last post by:
Iam printing a special form using vb6 report designer. In which I am printing 25 totals on the right side on the form. My totals take a whole standard letter page size. The last amount (total) which is at 14112 twips from the top of the the page. The page height is 14760 twips. Each one of the total fields has 3750 twips.
My problem is that the last total (field 26) is printed on a second page form, and I need to keep all my total amounts...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |