473,395 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

PageSettings,HardMarginX / MarginY Not accurate...!!

Hello,

I'm having an issue. Well... my PageSettings.HardMarginX and
HardMarginY have an offset of about 5 (inchess / 100), both of them.

When i print a string on a paper, i get it at exactly (20, 20)
inches / 100, from the top left corner, while HardMarginX and
HardMarginY are set to 15 and 15.

Is this any bug, or i'm not taking under consideration something in
special ?.

(the DrawString function is set to position 0,0).

Thanks!
Feb 21 '08 #1
0 1497

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Stephan Wörmke | last post by:
Hi! In one of our experiments we are using piezo electric transducers to move a stage. So far a feedback loop was implemented using the real-time system from venturcom. We now would like to use...
13
by: Howard Kaikow | last post by:
In VB, I've developed the habit of using the API QueryPerformanceCounter to achieve the most accurate timings. In VB .NET, one can use TotalMilliseconds and Ticks to convert time to...
4
by: tlyczko | last post by:
Hello, I have read about currency calculations, etc. in this newsgroup, and I understand that currency math will be sufficiently accurate for what I need to do for a mileage/expense report. ...
1
by: Ed Sutton | last post by:
My C# app. apparently has problems with PageSettings not being initialized properly after calling PageSetupDialog. If a user selects a non-default printer from PageSetupDialog, the PageSize is...
4
by: jim_geissman | last post by:
According to MS, GetLocalTime() (in C++) is only accurate to approx a second, even though it reports milliseconds, and calling it twice and computing the interval can on occasion lead to a...
3
by: David C. Barber | last post by:
Hi, I'm having the rather distressing situation where what my VB 2005 SP1 form is showing in design view, is not accurate when it's run. Specifically, I have a label control that shows all it's...
0
by: smckibben01 | last post by:
I am trying to change the papersize with the following commands and it tells me the Kind must be set to custom as shown in the title but it is a read only property. How do I have custom page sizes...
5
by: Garima12 | last post by:
user is selecting from combobox either portrait or landscape for printing the page. I am writing following code to set it. it is not working. In preview it shows portrait in both cases. If...
1
by: Lorentz | last post by:
Good day... I'm part of a group that is developing an app and my current task is to set and store PageSettings for our documents. I am hoping to utilize our architecture in storing PageSettings...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...
0
jinu1996
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...
0
tracyyun
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.