How to precisely change calendar size?

M

miotest5

Hello,

is there a way to precisely change the viewable area of the Outlook
calendar?
I.e. to see exactly and always the current day from 7 am to 9 pm
-> How to set the start position of the current day
-> How to change the row height of a time row (in pixels)

I understand that I can slightly influence the row height by changing:
DayWeekFont.Size
and that I can change the number of rows with: DayWeekTimeScale

But is there a way to change the row height in pixels (e.g. via the
Windows API instead of the Outlook model)

Thanks for any ideas
Thomas
 
K

Ken Slovak - [MVP - Outlook]

Outlook version?

In Outlook 2007 you can set the start by using the new CalendarView property
and calling its GoToDate() method. There are lots of other view settings in
that object that allow you to bypass editing the View.XML.

You can set the view to some extent by editing the View.XML property. What I
usually do is take what's there and in the UI modify it to look as I want,
then I grab that View.XML and see how it differs from what was used to see
what changes to make. Some things however cannot be changed.
 
M

miotest5

Hello Ken,

I am sorry, yes i meant Outlook 2007.
Thank you very much for your answer. The GoToDate helps!

Do you also know if there is a way to modify the row height of the
calendar lines?

Kind regards
Thomas
 
K

Ken Slovak - [MVP - Outlook]

It doesn't look like it. There's no such property in the CalendarView object
and none of the View.XML has a height property, and you can't set that in
the UI when customizing a view. So I'd say you cannot control the row
height.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top