Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Xavier
 
Posts: n/a
Default What is the relationship between .ChartArea and the default printer ?

Hello,

I am currently programming some automated charting for an application. In my
program I modify the size of the charting area (the goal is to obtain a plot
area -inside- that fits exactly some pre-defined dimensions). In order to
observe what's going on when I modify some properties, I use the following
code:


Sub PrintSizes(strMessage As String)

MsgBox strMessage & vbCrLf & _
".ChartArea.Width = " & ActiveChart.ChartArea.Width & vbCrLf
& _
".ChartArea.Height = " & ActiveChart.ChartArea.Height &
vbCrLf & _
".PlotArea.Width = " & ActiveChart.PlotArea.Width & vbCrLf &
_
".PlotArea.Height = " & ActiveChart.PlotArea.Height & vbCrLf
& _
".PlotArea.InsideWidth = " &
ActiveChart.PlotArea.InsideWidth & vbCrLf & _
".PlotArea.InsideHeight = " &
ActiveChart.PlotArea.InsideHeight

End Sub


I noticed that the .ChartArea properties do not react the same way if my
default printer is a HP or a Xerox. I could not find an article describing
how does the default printer govern those parameters. Does any know where to
find such information ?

Thank you for your help,

Xavier


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"