in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

Browse by Tags

  • Current Y Position after RenderRTF

    Hi Dima, Where can I get the Information of the acutal y - position of the current page after: Dim rrtf As New RenderRichText rrtf.SplitHorzBehavior = True rrtf.RepeatBordersVert = True rrtf.X = uLeft rrtf.Y = uTop rrtf.Width = uWidth rrtf.Rtf = sRTFString m_C1DOC.Body.Children.Add(rrtf) After a pagebreak...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-28-2008
    Filed under: C1PrintPreviewControl, C1PrintDocument
  • Re: Calculate Height of Text after RenderRichText

    Hi, thanks for reply. I try the code from your example in my project and it works fine, but there is one exeption Each of my RenderRichText have there own Mesurements rr.X = uLeft, rr.Y = uTop and rr.Width = uWidth. The Height I get with calcsize and it works fine. But, when I get a Pagebreak the Height...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-28-2008
    Filed under: C1Preview, C1PrintPreviewControl, C1PrintDocument
  • Re: Problems with RTF - Text

    Hi Dima, thanks for reply! My Problem: If there is a pagebreak in an RTFText (see the sample below) one part of the text is on the fist page, and the other part is on the second page. I need the Height of the piece of RTFText from the second page or better the CurrentY-Position (like in the VSView8.OCX...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-28-2008
    Filed under: C1Preview, C1PrintPreviewControl, C1PrintDocument
  • Re: Calculate Height of Text after RenderRichText

    Sorry for late reply. Thanks for your help, it works fine. I get all measurements. But the following happens: The long text is printed on the second page. The RenderFragment.PageNo is 2 and the Pagecount of the Document is also 2, when I Print the next text with rendertext (also with renderdirect) the...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 03-19-2008
    Filed under: C1PrintPreviewControl, C1PrintDocument
Page 1 of 1 (4 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.