次の方法で共有


Adding Rendering Information to Formatted Text

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

To indicate the location in formatted text where an attachment is rendered, you must insert a sequence of placeholder characters in the message's PR_RTF_COMPRESSED (PidTagRtfCompressed) property. The placeholder sequence is made up of the following characters: \objattph.

To add rendering information to formatted message text

  • When writing the stream of text to the message's PR_RTF_COMPRESSED property, insert the placeholder sequence and a space character at the position where the attachment should be rendered.

  • Set the PR_RENDERING_POSITION (PidTagRenderingPosition) property of each attachment to a numeric value. The lowest value should be assigned to the PR_RENDERING_POSITION property of the first attachment to appear in the formatted text; the highest value to the last attachment.