Alaska Software Inc. - Size of RTF Text
Username: Password:
AuthorTopic: Size of RTF Text
Reinthaler RudolfSize of RTF Text
on Wed, 29 Apr 2009 07:03:59 +0200
Hello,
I have to print a RTF Object and so I must calculate the size for it. How 
can I get the size from the object ?
regards
Rudolf
AUGE_OHRRe: Size of RTF Text
on Wed, 29 Apr 2009 08:39:52 +0200
hi,

> I have to print a RTF Object and so I must calculate the size for it. How
> can I get the size from the object ?

what you want to calculate ? Size of "Window" or oRTF:textRTF Property ?

greetings by OHR
Jimmy
Reinthaler RudolfRe: Size of RTF Text
on Fri, 01 May 2009 12:49:47 +0200
Hello Jimmy,
I am using eXPress++ and want to print a block of RTF text on a form. How
can I determine the size of the printed text ? It contains pictures. I must
know the actual printline after printing the text and I must to know, if I
have to make a form feed when the text not fit on tha actual page. Rogers
Webboard is not reachable , so I cannot ask Roger about that.
regards
Rudolf

"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> schrieb im Newsbeitrag 
news:62b6017d$15ffc702$ce7@news.alaska-software.com...
> hi,
>
>> I have to print a RTF Object and so I must calculate the size for it. How
>> can I get the size from the object ?
>
> what you want to calculate ? Size of "Window" or oRTF:textRTF Property ?
>
> greetings by OHR
> Jimmy
>
>
AUGE_OHRRe: Size of RTF Text
on Sat, 02 May 2009 14:18:40 +0200
hi,

> I am using eXPress++ and want to print a block of RTF text on a form.

what does Express++ does have to do with it ?
lets talk about RICHTX32.OCX which is the activeX you have to use

> How can I determine the size of the printed text ?
GraQueryTextBox()

> It contains pictures.
XbpBitmap() :xSize/:ySize

> I must know the actual printline after printing the text and I must to
> know, if I have to make a form feed when the text not fit on that actual
> page.

so read Xbase++ Help File about :find(), :getLineFromChar() or
:getLineStart() and compare it with Express++ Help File what Roger
have use for it.

> Rogers  Webboard is not reachable , so I cannot ask Roger about that.
what does Roger have to do with your "Problem", it is not a BUG in Express++

if you need more Information look at M$ for "Rich Text ActiveX, Version 6.0"

greetings by OHR
Jimmy
Reinthaler RudolfRe: Size of RTF Text
on Sun, 03 May 2009 11:42:59 +0200
Hello Jimmy,
thank you for your answer.

> what does Express++ does have to do with it ?
nothing with the problem, but with the way I use the RTF control
> GraQueryTextBox()
a sample would help, how can I determine the presentation space of the 
control ?
> XbpBitmap() :xSize/:ySize
I want the size of the whole textblock with pictures
> what does Roger have to do with your "Problem", it is not a BUG in 
> Express++
Roger has already a implementation with DCRTF and PRINTRTF, so he has 
experience with the control
> if you need more Information look at M$ for "Rich Text ActiveX, Version 
> 6.0"
thank you for the hint, will try to find some infos there
regards
Rudolf

"AUGE_OHR" <AUGE_OHR*AT*WEB.DE> schrieb im Newsbeitrag 
news:58898144$62fb0d32$22712@news.alaska-software.com...
> hi,
>
>> I am using eXPress++ and want to print a block of RTF text on a form.
>
> what does Express++ does have to do with it ?
> lets talk about RICHTX32.OCX which is the activeX you have to use
>
>> How can I determine the size of the printed text ?
> GraQueryTextBox()
>
>> It contains pictures.
> XbpBitmap() :xSize/:ySize
>
>> I must know the actual printline after printing the text and I must to
>> know, if I have to make a form feed when the text not fit on that actual
>> page.
>
> so read Xbase++ Help File about :find(), :getLineFromChar() or
> :getLineStart() and compare it with Express++ Help File what Roger
> have use for it.
>
>> Rogers  Webboard is not reachable , so I cannot ask Roger about that.
> what does Roger have to do with your "Problem", it is not a BUG in 
> Express++
>
> if you need more Information look at M$ for "Rich Text ActiveX, Version 
> 6.0"
>
> greetings by OHR
> Jimmy
>