Aspose.Note for .Net
AttachedFile Constructor (Document, String, Stream, Stream, ImageFormat) |
Initializes a new instance of the AttachedFile class.
Namespace: Aspose.Note
Assembly: Aspose.Note (in Aspose.Note.dll) Version: 18.1

public AttachedFile( Document document, string fileName, Stream attachedFileStream, Stream icon, ImageFormat iconFormat )
Public Sub New ( document As Document, fileName As String, attachedFileStream As Stream, icon As Stream, iconFormat As ImageFormat )
public: AttachedFile( Document^ document, String^ fileName, Stream^ attachedFileStream, Stream^ icon, ImageFormat^ iconFormat )
new : document : Document * fileName : string * attachedFileStream : Stream * icon : Stream * iconFormat : ImageFormat -> AttachedFile
Parameters
- document
- Type: Aspose.NoteDocument
A parent document of the attached file. - fileName
- Type: SystemString
A name of the attached file. - attachedFileStream
- Type: System.IOStream
A stream which contains the attached file bytes. - icon
- Type: System.IOStream
An icon for the attached file. - iconFormat
- Type: System.Drawing.ImagingImageFormat
A format of the attached file icon.
