in

Browse by Tags

  • need help on page size on c1 report

    hello i am using a c1 report and c1 print preview, i need to print a cash bill using c1, i cant predict the bill size as it grows as the number of items on the bill grows, how to set page size for this situation, if i am using A4 size in papersize , the printer prints the content and ejects the paper...
    Posted to Reports for .NET (Forum) by niyazar on 01-23-2008
    Filed under: C1ReportDesigner, C1Report, C1PrintDocument
  • Calculate Height of Text after RenderRichText

    We change our Print-Preview from VB6 to vb.net c1Preview Version 2.0.20072.42005. For Formulardesign we have our own Listgenerator. So I must print different kinds of objects in succession. This works fine with RenderImage, Renderline, Rendertext..., but not with RenderRichText. There is a pagebreak...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-19-2008
    Filed under: C1Preview, C1PrintDocument
  • Re: Calculate Height of Text after RenderRichText

    Hi, thanks for response. I try CalcSize(Unit.Auto, "1Mm") but I always get the same value for Height for different RTF-Files. There are different values when I try CalcSize(Unit.auto, unit.Auto), but the Value is (after conversion) not the real size of the text.
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-20-2008
    Filed under: C1Preview, C1PrintDocument
  • Re: Calculate Height of Text after RenderRichText

    Thanks, it works. I have misunderstood your first reply. Is there also a possibility to get the Y Position of the current page after the RTF Text is rendered. I try m_C1DOC.Body.Document.CurrentPage.Y but the Value returned is 0. The vsview7 have a Proberty for this. regards
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-21-2008
    Filed under: C1Preview, C1PrintDocument
  • Y-Position of Currentpage after RenderArea/RenderRTFText

    I render a long RTF-Text via RenderArea or RenderRichText. When the Text ends e.g. on the second or third Page I need the excact Y-Positon of the last line or the next new line. We use our own Formulardesigner and I must calculate the Position of the next object with values from the c1Preview in conjunction...
    Posted to Preview for .NET (Forum) by M258HBCXFE6D on 02-21-2008
    Filed under: C1Preview, C1PrintDocument
  • 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
  • Overlay method

    Will you please send the example code for C1PrintDocument.PageLayout.Overlay method? What I want is the same functionality as startoverlay in vsprinter. I would like to go back to specific page and change the page content after the document is generated.
    Posted to Preview for .NET (Forum) by Shaila Shah on 03-18-2008
    Filed under: C1Preview, 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 3 (21 items) 1 2 3 Next >
Contact ComponentOne: 1.800.858.2739 ©1987-2007 ComponentOne LLC All Rights Reserved.