in

C1 Community

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

Browse by Tags

  • RenderDirectRichText: how do I get the size of the text

    I have used the "classic" print in a report to print RTF texts from a datatable. I need to know how big the rendered text is to know where i should print the next one. dim height as double dim size as MeasureInfo size = .RenderDirectRichText(30, height, strText, 190) height += size.HeightUnit...
    Posted to Preview for .NET (Forum) by jorbjo on 01-17-2008
    Filed under: C1Preview, Render, C1PrintPreviewControl
  • 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
Page 1 of 1 (3 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.