Share via


IConverterSession::SetTextWrapping

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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

Reference

IConverterSession : IUnknown

IConverterSession::MAPIToMIMEStm

IConverterSession::MIMEToMAPI

IConverterSession::SetAdrBook

IConverterSession::SetCharSet

IConverterSession::SetEncoding

IConverterSession::SetSaveFormat

Concepts

MAPI Constants