I have a WinSchedulePrintDocument linked to the CaldendarInfo and CalendarLook in my Timelineview control and it prints, but when I specify the date range to print, each owner is printed on a separate page. I want to print “x” number of owners in one page, do you know one way to do this?
Set the MaximumOwnersInView property to x, and assign that instance of the UltraTimelineView control to the UltraSchedulePrintDocument's TemplateTimelineView property.
Thanks Brian, I set the value to the MaximumOwnersInView = x in the NumericEditor control "dinamically", but only show me the correct owners per page when y set the (3,9,27) x values, when I set a diferent value show me and print one owner per page. Ex. MaximumOwnersInView = 3 print 3 owners per page. if the MaximumOwnersInView = 12 print one owner per page.
here my code :
this.ultraTimelineView1.MaximumOwnersInView = Convert.ToInt32(this.ultraNumericEditor1.Value);
this.ultraSchedulePrintDocument1.TemplateTimelineView = this.ultraTimelineView1;
this.ultraPrintPreviewDialog1.MaximumPreviewPages = 5;
do you have any idea of this behavior?
Brian, I guess that the number of owners per page in the printpreviewdialog depends of the total number of owners (tno) in the control. In the last post the tno = 27 (owners in control) when I add one owner more the tno = 28, when I set a diferent values to the "MaximumOwnersInView" property (2,4,7,14,28) "multiples of 28" show me the same number of owners per page as I hope, in the other case are print "one owner per page" . do you know if I can do something?
Anyone have any idea how to answer this question (regardless of the total number of owners).
Print "x" number of owners in one page?
The problem arises when, for example has a total of 10 "owners" and I want to print 5 "owners" per page (MaximumOwnersInView = 5), the result is 2 pages with 5 "owners" (this is what I hope ), But if MaximumOwnersInView = 7 I hope print 2 pages, 7 "owners" in one page and 3 in the other one, however, one owner is printed per page a total of 10 pages.
Did you find a solution for this problem? I have the same thing. We have 33 owners, so I can only select a value of 11 or 33 for MaximumOwnersInView, anything else and it shows on per page.
The problem I have is the number of owners is different for every installation of this app, so I do not know a development time how many to set this too.
This seems like a major bug to me.