Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

How to convert PB Units/ Pixels to Inches??

2 posts in General Discussion (Chinese) Last posting was on 2009-06-29 07:47:13.0Z
Jenny Posted on 2009-05-27 10:02:25.0Z
Sender: 7164.4a1d0f97.1804289383@sybase.com
From: Jenny
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: How to convert PB Units/ Pixels to Inches??
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a1d0fb1.7169.1681692777@sybase.com>
NNTP-Posting-Host: 10.22.241.41
X-Original-NNTP-Posting-Host: 10.22.241.41
Date: 27 May 2009 03:02:25 -0700
X-Trace: forums-1-dub 1243418545 10.22.241.41 (27 May 2009 03:02:25 -0700)
X-Original-Trace: 27 May 2009 03:02:25 -0700, 10.22.241.41
Lines: 20
Path: forums-1-dub!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:465
Article PK: 104489

How to convert PB Units/ Pixels to Inches??


Hi all

My PB application send information to RDLC report
application and here I am facing some problems to converts
Units/ Pixels to Inches because RDLC report is not able to
understand then Units/ Pixels

I have formula to convert PB Units into Pixels.

For X and Width = Units / 4.571429

For Y and Height = Units / 4



I am looking for formula to convert PB Units/Pixels to
Inches.


hgong Posted on 2009-06-29 07:47:13.0Z
Sender: 581a.4a486de5.1804289383@sybase.com
From: hgong
Newsgroups: sybase.public.chinese.powerbuilder.general
Subject: Re: How to convert PB Units/ Pixels to Inches??
X-Mailer: WebNews to Mail Gateway v1.1t
Message-ID: <4a487181.5abb.1681692777@sybase.com>
References: <4a1d0fb1.7169.1681692777@sybase.com>
NNTP-Posting-Host: forums-3-dub.sybase.com
X-Original-NNTP-Posting-Host: forums-3-dub.sybase.com
Date: 29 Jun 2009 00:47:13 -0700
X-Trace: forums-3-dub.sybase.com 1246261633 10.22.241.188 (29 Jun 2009 00:47:13 -0700)
X-Original-Trace: 29 Jun 2009 00:47:13 -0700, forums-3-dub.sybase.com
Lines: 25
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub sybase.public.chinese.powerbuilder.general:469
Article PK: 104493


> How to convert PB Units/ Pixels to Inches??
>
>
> Hi all
>
> My PB application send information to RDLC report
> application and here I am facing some problems to converts
> Units/ Pixels to Inches because RDLC report is not able
> to understand then Units/ Pixels
>
> I have formula to convert PB Units into Pixels.
>
> For X and Width = Units / 4.571429
>
> For Y and Height = Units / 4
>
>
>
> I am looking for formula to convert PB Units/Pixels to
> Inches.

For the convertion between Units and Pixed, I think you can
use the PowerScript functions PixelsToUnits/UnitsToPixels.
Then, you can convert Pixels to inch using System DPI
Setting.