Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Jdapi: setRealUnit (Coordinate-System) FMB/OLB

2605638May 26 2014 — edited Jun 4 2014

Hello,

as you know, the olb file owns some attributes of a fmb.

I would like to read out a fmb file with some references to a olb file via JDAPI.

My problem is, that I need all attributes like with, height, etc. in real unit "pixel".

So first, I parse the real unit of my fmb to "pixel" with the following codelines:

final JdapiModule jdapmod = JdapiModule.openModule("C:\\Forms\\Orbit\\MRS.fmb");

        if(jdapmod instanceof FormModule)

        {

            fmod = (FormModule)jdapmod;

            final Coordinate crdnt = new Coordinate(fmod);

            crdnt.setRealUnit(0);

            crdnt.apply(fmod);

        }


Now my question:

How can I parse the real unit of a olb-file via JDAPI to PIXEL?

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jul 2 2014
Added on May 26 2014
1 comment
976 views