IConverterSession::SetTextWrapping

Applies to: Outlook 2013 | Outlook 2016

Sets the text wrapping width for a MIME stream that the converter will return in IConverterSession::MAPIToMIMEStm.

HRESULT IConverterSession::SetTextWrapping ( 
    BOOL    fWrapText, 
    ULONG   ulWrapWidth 
);

Parameters

fWrapText

[in] Whether to wrap text or not.

ulWrapWidth

[in] The text wrapping width to use.

Return value

S_OK

The call was successful.

MFCMAPI reference

For MFCMAPI sample code, see the following table.

File Function Comment
MapiMime.cpp
ImportEMLToIMessage
MFCMAPI uses MimeToMAPI to convert an EML file to a MAPI message.
MapiMime.cpp
ExportIMessageToEML
MFCMAPI uses MAPIToMIMEStm to convert a MAPI message to an EML file.

See also

IConverterSession : IUnknown

IConverterSession::MAPIToMIMEStm

IConverterSession::MIMEToMAPI

IConverterSession::SetAdrBook

IConverterSession::SetCharSet

IConverterSession::SetEncoding

IConverterSession::SetSaveFormat

MAPI Constants