Question

Hello I am writing a Outlook 2010 addin and I basically I need to manipulate the size of the attachment being show in the OL Inspector, where the attachments are listed, or just not show the size.

You would basically see in the attachments lists something like: filename.ext (5 KB), textfile.txt (1 M)

The Attachments method is ATTACH_BY_VALUE, so I know the size is coming from the PR_ATTACH_SIZE and that is a calculated property based on the contents of PR_ATTACH_DATA_BIN.

So Do you think there is a way to hide the (5 KB) text or to replace it with other value?.

Was it helpful?

Solution

No, you cannot do that unless you directly modify the RTF control that shows the file names.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top