trichview.com

trichview.support




Re: Control items that exceed the height limit...


Return to index


Author

Message

Luke

Posted: 11/22/2002 22:01:59


I ran a test with the Chart Demo.  It looks like they do not respect the new

size.  I read somewhere you state that it is possible to print two RichViews

continuously.  Maybe I should look into this.  If I start a new RichView

after every dynamically sized Item, do you think this would be the best method?

Thanks



"Luke" <lturner@dsitopdog.com> wrote:

>

>Hey Sergey,

>  If I have a different print size for an item being shown, is there a method

>to pass back the new height or bottom of the custom print drawing to keep

>following items or text in sync?  I suspect that every item that follows

>is still expecting the item to take up the space in the view.  I have not

>gotten this far to test.  I just thought I would ask..  Thanks

>

>"Sergey Tkachenko" <svt@trichview.com> wrote:

>>It's not a trivial task.

>>Of course, drawing control with 40K rows into bitmap is impossible.

>>You can create a new RichView item class representing this control, and

>>override printing method in it.

>>Example is in Demos\Addins\ChartItem.

>>This example shows how to print a control directly on the printer canvas.

>>

>>But this does not solve the problem, because there is one more important

>>issue - how the image of this control will be separated between pages.

>>There are two possible solutions:

>>- setting rvepMinHeightOnPage to non-zero value; the control will be printed

>>on several pages, but it can be split  between  pages in arbitrary place

>(in

>>the middle of text line in cell, for example);

>>- controlling separation between pages yourself; this process is not

>>documented and is not very easy to learn.

>>

>>Did you try to use native RichView tables for your reports?

>>

>>

>





Powered by ABC Amber Outlook Express Converter