Jump to content
Software FX Community

Printer Class & Title Problems


User (Legacy)

Recommended Posts

Hi ,

1) I was using the Properties of Printer class (compress, margin,

orientation, and UsePrinterResolution) as follows

Dim Chart1 As SoftwareFX.ChartFX.Internet.Server.Chart

Chart1 = New SoftwareFX.ChartFX.Internet.Server.Chart(Me)

Chart1.Printer.Compress = True

Chart1.Printer.Orientation = Orientation.Landscape

Chart1.Printer.UsePrinterResolution = True

Chart1.Printer.Margins = New System.Drawing.Printing.Margins(20, 20, 20, 20)

Unfortunately , none of them seem to be working.

Any help will greatly be appreciated....

2) I want to set the style of a chart title to be bold...

Dim title As SoftwareFX.ChartFX.Internet.Server.Title = Chart1.Titles(0)

title.text = "Some Title"

title.Font = new Font("Arial", 11)

title.textColor = Color.Blue

But I did not see any way to define the style of the Title..SO is it

possible to make the title font Bold?

Thanks,

Alomgir

Link to comment
Share on other sites

>> 1) I was using the Properties of Printer class  ...

Note that this properties should be honored when you print the chart from

the toolbar of the ChartFX client component (not the browser's print

button).

>> 2) I want to set the style of a chart title to be bold...

Use the Font constructor that receives an additional FontStyle enum.

--

Regards,

JC

Software FX Support

"Alomgir Monsur" <alomgir_monsur@albint.com> wrote in message

news:E%23XP0yRDEHA.4068@webserver3.softwarefx.com...

> Hi ,

>

> 1) I was using the Properties of Printer class (compress, margin,

> orientation, and UsePrinterResolution) as follows

>

> Dim Chart1 As SoftwareFX.ChartFX.Internet.Server.Chart

> Chart1 = New SoftwareFX.ChartFX.Internet.Server.Chart(Me)

>

> Chart1.Printer.Compress = True

> Chart1.Printer.Orientation = Orientation.Landscape

> Chart1.Printer.UsePrinterResolution = True

> Chart1.Printer.Margins = New System.Drawing.Printing.Margins(20, 20, 20,

20)

>

> Unfortunately , none of them seem to be working.

>

> Any help will greatly be appreciated....

>

> 2) I want to set the style of a chart title to be bold...

>

> Dim title As SoftwareFX.ChartFX.Internet.Server.Title = Chart1.Titles(0)

> title.text = "Some Title"

> title.Font = new Font("Arial", 11)

> title.textColor = Color.Blue

>

> But I did not see any way to define the style of the Title..SO is it

> possible to make the title font Bold?

>

> Thanks,

> Alomgir

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...