Page 1 of 1

GetItemBounds() has bad result with oversized page header

Posted: Thu Dec 17, 2009 9:17 am
by mboth
Greetings,

TSRichViewEdit::GetItemBounds() has bad result with oversized page header. When the header is higher than the page top margin, the page content moves down. In this case, GetItemBounds() does not take the offset in account I believe. Is there a workaround, maybe?

ScaleRichView 2.4.1 (sorry for the old version)

By the way, is it possible to change the behaviour so that the content is not moved by the oversized header? The header and the content would appear at the same spot, overwriting themselves.

Moritz

Posted: Thu Dec 17, 2009 6:20 pm
by Sergey Tkachenko
1) About GetItemBounds - yes, this is a bug, it will be fixed in the next update.

2) No, there is no such option. You can consider drawing header and footer yourself (see Demos\Basic Demos\Header and Footer\)

Posted: Tue Mar 16, 2010 4:26 pm
by Sergey Tkachenko
Fixed in v3.1.1