borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (help me)Next Topic ([HELP] Seagate Crystal Reports: Database Error) New Topic New Poll Post Reply
AndreaVB Forum : Reporting tools : Setting report Paper size inside CR
Poster Message
Gharakhanlou
Level: Scholar

Registered: 30-04-2005
Posts: 40

icon Setting report Paper size inside CR

hello every one specially for goran who kindly answer to questions

really o know that we can set papser size by setuserpapersize property
but it can accept values in pixel
an you know piex are not really valuse for example ouey monitor can accept any different valuse in pixel

so tell me plz is any other way to set paper size
from inside CR manully or from program by progaramming
with sentemeters or inch and not with pixel
thank u

08-06-2005 at 04:04 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Setting report Paper size inside CR

If you are reffering to screen resolution, then the number of pixels in centimetes will be the same on every resolution. But it can varry on some monitors that are not of the same qualituy. This is why you can always use ScaleX method, so you will alaways have the correct value.

____________________________
If you find the answer helpful, please mark this topic as solved.

08-06-2005 at 09:41 AM
View Profile Send Email to User Show All Posts | Quote Reply
Gharakhanlou
Level: Scholar

Registered: 30-04-2005
Posts: 40
icon Re: Setting report Paper size inside CR

oh
goran plz
tell me a better solution

hey  scalex on change the pixel value to its same centemeters
but our problem is about pixels that vary in every solution and end user pc it may have every resolution

thank u tell me your idea plz

09-06-2005 at 04:28 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: Setting report Paper size inside CR

I dont get your problem. It doesnt matter if you will work on 800x600 or 1024x768 resolution, the number of pixels per centimeter will be the same on the same monitor. ScaleX method will return the correct number of pixels in centimeter on any monitor, so where is the problem?

____________________________
If you find the answer helpful, please mark this topic as solved.

09-06-2005 at 02:22 PM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : Reporting tools : Setting report Paper size inside CR
Previous Topic (help me)Next Topic ([HELP] Seagate Crystal Reports: Database Error) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder