Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Chart Control
  New Posts New Posts RSS Feed - Chart Print Preview
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Chart Print Preview

 Post Reply Post Reply
Author
Message
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post Topic: Chart Print Preview
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 18 October 2010 at 9:11am
Hi,

Call CreatePrintView method (same way as Report and Calendar)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 20 October 2010 at 2:04am
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
SHAN View Drop Down
Groupie
Groupie
Avatar

Joined: 17 July 2010
Location: Dubai
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote SHAN Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.