AlternateViewCreateAlternateViewFromString Method (String, ContentType, TransferEncoding)

Creates a AlternateView of using the content specified in a string.

Namespace:  Aspose.Email
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public static AlternateView CreateAlternateViewFromString(
	string content,
	ContentType contentType,
	TransferEncoding transferencoding
)

Parameters

content
Type: SystemString
The string that contains the content.
contentType
Type: Aspose.Email.MimeContentType
Content type.
transferencoding
Type: Aspose.Email.MimeTransferEncoding
The transfer encoding.

Return Value

Type: AlternateView
An AlternateView object that represents an alternate view.
See Also