How to italicize the email entry in explorer window

  • Thread starter Sandeep K
  • Start date Views 1,476
Status
Not open for further replies.
S

Sandeep K

Hi All,

I want to italicize the display of email item in explorer window. I am

unable to find any property of MailItem to help me in achieving that. Please

help me.
 
S

Sue Mosher [MVP]

You're not finding anything because there is no such property. Whether a

message appears in italics depends on the automatic formatting settings of

the current view and whether the message has properties that meet the

criteria of a formatting rule that involves italics. Automatic formatting

rules are exposed programmatically only in Outlook 2007.

"Sandeep K" wrote:


> Hi All,
> I want to italicize the display of email item in explorer window. I am
> unable to find any property of MailItem to help me in achieving that. Please
> help me.
 
S

Sandeep K

"Sue Mosher [MVP]" wrote:


> You're not finding anything because there is no such property. Whether a
> message appears in italics depends on the automatic formatting settings of
> the current view and whether the message has properties that meet the
> criteria of a formatting rule that involves italics. Automatic formatting
> rules are exposed programmatically only in Outlook 2007.
>


Sue,

My addin is developed in C# and targeted for outlook 2007 and 2003 therefore

if outlook 2007 exposes such functionality than it is fine with me. Can you

let me know how can i achieve it?
 
S

Sue Mosher [MVP]

Take a look at the TableView.AutoFormatRules collection and the

AutoFormatRule object, which has Filter and Font properties to tell you what

condition results in what display font. The Outlook developer documentation

article at http://msdn.microsoft.com/en-us/library/bb176349.aspx explains a

bit more about how these rules operate.

Sue Mosher

"Sandeep K" wrote:



> "Sue Mosher [MVP]" wrote:
>
> > You're not finding anything because there is no such property. Whether a
> > message appears in italics depends on the automatic formatting settings of
> > the current view and whether the message has properties that meet the
> > criteria of a formatting rule that involves italics. Automatic formatting
> > rules are exposed programmatically only in Outlook 2007.
> >

> Sue,
> My addin is developed in C# and targeted for outlook 2007 and 2003 therefore
> if outlook 2007 exposes such functionality than it is fine with me. Can you
> let me know how can i achieve it?
 
Status
Not open for further replies.
Top