Modifier and Type | Method and Description |
---|---|
ContentType |
AttachmentBase.getContentType()
Gets or sets the type of the content.
|
Modifier and Type | Method and Description |
---|---|
static AlternateView |
AlternateView.createAlternateViewFromString(String content,
ContentType contentType)
Creates a AlternateView of using
the content specified in a string.
|
static AlternateView |
AlternateView.createAlternateViewFromString(String content,
ContentType contentType,
int transferencoding)
Creates a AlternateView of using
the content specified in a string.
|
static Attachment |
Attachment.createAttachmentFromString(String content,
ContentType contentType) |
static LinkedResource |
LinkedResource.createLinkedResourceFromString(String content,
ContentType contentType)
Creates the linked resource from string.
|
void |
AttachmentBase.setContentType(ContentType value) |
Constructor and Description |
---|
AlternateView(InputStream contentStream,
ContentType contentType) |
AlternateView(String fileName,
ContentType contentType)
Initializes a new instance of the
AlternateView class. |
Attachment(InputStream contentStream,
ContentType contentType) |
Attachment(String fileName,
ContentType contentType) |
LinkedResource(InputStream contentStream,
ContentType contentType) |
LinkedResource(String fileName,
ContentType contentType)
Initializes a new instance of the
LinkedResource class. |
Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.