in

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
  • Custom ExportProvider

    Can I add a new (Custom) ExportProvider to the ExportOptions in C1.Win.C1PrintPreview control? I actually want to change the XlsExportProvider to a CsvExportProvider. I want the SaveDialog to have (Microsoft Excel (*.csv) in it rather than Microsoft Excel (*.xls). And I want to do the actual export manually...
    Posted to Preview for .NET (Forum) by wrmassa on 02-11-2008
    Filed under: Export, C1PrintPreviewControl
  • 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
  • Re: How to use "C1PreviewPane.PreviewAction" event?

    I don't think the toolbar buttons will trigger PreviewPane's PreviewAction event because they are part of the PrintPreviewControl base part. If you want to capture the user clicking on a toolbar button you can access the toolbar events through code... AddHandler C1PrintPreviewControl1.ToolBars...
    Posted to Preview for .NET (Forum) by C1_GregL on 02-04-2008
    Filed under: C1PrintPreviewControl, Toolbar, click
  • Re: Capture toolbar button click

    To capture the user clicking on a toolbar button (example: Print): AddHandler C1PrintPreviewControl1.ToolBars.File.ToolStrip.Items(3).Click, AddressOf onPrintClick Private Sub onPrintClick( ByVal sender As System.Object, ByVal e As System.EventArgs) 'Captured End Sub Use this technique for each button...
    Posted to Preview for .NET (Forum) by C1_GregL on 01-28-2008
    Filed under: C1PrintPreviewControl, Toolbar, click, button
  • Re: Outline tab

    As a note, to remove the tab in 2.0 Remove Pages Tab Me .C1PrintPreviewControl1.PreviewNavigationPanel.Controls.RemoveAt(0) Outline Tab Me .C1PrintPreviewControl1.PreviewNavigationPanel.Controls.RemoveAt(1) Greg
    Posted to Preview for .NET (Forum) by C1_GregL on 10-17-2007
    Filed under: C1PrintPreviewControl, tab
  • Re: Preview Progress

    I've attached a VB.NET 2.0 sample that shows how you can use the C1PrintPreviewControl's progress bar when loading a report document. Regards, Greg L
    Posted to Preview for .NET (Forum) by C1_GregL on 10-03-2007
    Filed under: progress bar, C1Report, C1PrintPreviewControl
Page 1 of 2 (12 items) 1 2 Next >
Contact ComponentOne: 1.800.858.2739 ©1987-2007 ComponentOne LLC All Rights Reserved.