Re: BB/CP View Size

From: Douglas G. Danforth <"Douglas>
Date: Tue, 12 Dec 2000 09:23:54 -0600

Bernhard,

Thank you very much. I vaguely remembered that it was
via "Documents" that controlled the outer "container"
of a view. Your one line works if I kludge a little.

Documents.dir.New(view,Ports.unit*pixWidth,Ports.unit*pixHeight)

Ports does not have defined (in my BB 1.3.3 version) the
value "unit". It does have "point" (for type setting points).

I find that unit = ENTIER(0.745*Ports.point) gives a pleasing
bounding of my images. I don't like doing it this way but
until I find a more general way that does not entail accessing
f.unit I will use it.

Thank you very much!

-Doug


"Treutwein; Bernhard" wrote:
>
> I'm not shure if this answers your question, but
> digging through my sources I found the enclosed
> modification of ObxLinks, which allocates very crudely
> a window fitting the actual directory listing for the
> output. Although Documents has a private interface the
> following might work:
>
> Documents.dir.New(view,Ports.unit*pixWidth,Ports.unit*pixHeight)
>
> Search for Documents.dir in the unpacked source.
> Someone of OmiSys gave me some help ..., but I was
> unable to find that mail again.
>
> regards
>
> Bernhard Treutwein
>


-- 
Douglas G. Danforth, Ph.D. - Research Scientist 
QuikCAT.com   6700 Beta Drive,  Suite 200,  Mayfield Village,  OH 44143-2335
danforth{([at]})nowhere.xy
Received on Tue Dec 12 2000 - 15:23:54 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:45 UTC