Supress printing of custom properties added to mailitem.

S

Sanjay Patel

I have a VSTO add-in for outlook that adds a custom property (string) to the
mailitem.ItemProperties collection. How can I suppress it from being printed
whenever the message is printed?
 
K

Ken Slovak - [MVP - Outlook]

You can't really if it's there and visible. I usually use an alternate API
to add named properties rather than UserProperties if I care if the property
is visible to the user or a printout. I use Redemption or CDO 1.21 for that
most often. But CDO is an optional installation and isn't supported for .NET
usage.
 
Top