Print Page | Close Window

Chart Print Preview

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=17438
Printed Date: 23 November 2024 at 9:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Chart Print Preview
Posted By: SHAN
Subject: Chart Print Preview
Date Posted: 17 October 2010 at 2:11am
Hi,
 
 How to set the chart print preview to Command bars control Print Preview...?
 
 Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0



Replies:
Posted By: Oleg
Date Posted: 18 October 2010 at 9:11am
Hi,

Call CreatePrintView method (same way as Report and Calendar)


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SHAN
Date Posted: 20 October 2010 at 12:30am
Hi Oleg,
 
 I want to see the Chart Print preview in Print preview Control.
 
For Example in report control we have a method like this
 
ReportControl1.PrintPreview True
 
for more options for print I can use the Below Code for Report Control
------------------------------------------------------------------------
 
 With ReportControl1.PrintOptions
        .Landscape = True
       
        .MarginTop = 800
        .RepeatHeaderRows = True
        With .Header
            .Clear
            .FormatString = "UPCSOFT" & vbCrLf & _
                            "&bProduct List" & _
                            "&bPage &p of &P  "
        End With
        With .Footer
            .Clear
            .FormatString = "Printed at: &D &T" & vbCrLf & "Printed by:" & Module1.userid & "" & _
                            "&b" & _
                            "&bUPC DUBAI"
        End With
    End With
-------------------------------------------------------------------------------------
 
Similar way i want to set some print options for chart & Preview in Control before print....!
 
Is that possible.....? If so How to do that for chartControl... Please give some tips / Code.....!
 
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0


Posted By: Oleg
Date Posted: 20 October 2010 at 2:04am
Hi,


Here sample:

uploads/37/PrintPreview.zip - uploads/37/PrintPreview.zip


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: SHAN
Date Posted: 20 October 2010 at 4:54am
Hi oleg,
 
  Thanks for your Sample....! It works.... ! But only for 2D Charts...!
 
  For 3D Charts it shows Blank Print preview(Pie 3D Style,Torus 3D Style,Exploded View) Why?
 
Thanks


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows 7 Professional
Language: Visual Basic 6.0



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net