Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
230
Trouble printing dayview notes.
posted

I'm trying to print a dayview with a UltraSchedulePrintDocument.  It's works well except that the notes don't word wrap, they just end at the edge of the notes box.  If I attempt to insert CRLF's into the text, the text ends at the first CRLF, but the notes box enlarges vertically.  It's weird.  I would prefer to insert my own CRLF's, but wordwrapping would work.

Is their a trick I'm missing?

Me.UltraSchedulePrintDocument1.CalendarInfo = Me.UltraCalendarInfo1
Me.UltraSchedulePrintDocument1.CalendarLook = Me.UltraCalendarLook1
Me.UltraSchedulePrintDocument1.TemplateDayView = Me.UltraDayView
Me.UltraSchedulePrintDocument1.MaximumPagesPerWeek = 1
Me.UltraSchedulePrintDocument1.PrintStyle = SchedulePrintStyle.Weekly
Me.UltraSchedulePrintDocument1.WeeklyLayoutStyle = WeeklyLayoutStyle.DayView

Me.UltraSchedulePrintDocument1.IncludeDateHeaderArea = False
Me.UltraSchedulePrintDocument1.OriginAtMargins = False
Me.UltraSchedulePrintDocument1.PrinterSettings.PrintToFile = False

Me.UltraSchedulePrintDocument1.NotesAreaAppearance.TextVAlign = Infragistics.Win.VAlign.Top
Me.UltraSchedulePrintDocument1.NotesAreaAppearance.TextHAlign = Infragistics.Win.HAlign.Left
Me.UltraSchedulePrintDocument1.NotesAreaAppearance.TextTrimming = Infragistics.Win.TextTrimming.None

Me.UltraSchedulePrintDocument1.IncludeCalendarInfoNotesArea = True
Me.UltraSchedulePrintDocument1.Print()