CreaSign

Attachments.Add Method 

Adds a new attachment to the document.

[Visual Basic]
Public Function Add( _
   ByVal Identifier As String, _
   ByVal MimeType As String, _
   ByVal Encoding As String, _
   ByVal Description As String, _
   ByVal EmbeddedData As String, _
   ByVal FileName As String _
) As XmlData

Parameters

Identifier
The identifier (an URI) used to identify the attachment.
MimeType
The mime type of the attachment.
Encoding
The encoding of the data attachment.
Description
The description of the data attachment.
EmbeddedData
The data representing the attachment.   
FileName
The filename associated with the attachment. Used for informational purposes only.

Return Value

The XmlData object representing the added attachment.

Remarks

See SetEmbeddedData for valid combinations of MimeType, Encoding and EmbeddedData.

Requirements

Requires CreaSign Pro (not supported by CreaSign Lite).

See Also

Attachments Class | CreaSign Namespace


Send comments on this topic.

(c) CREA 2002-2007 www.creasign.si