Aspose.Note for .Net
AttachedFile Constructor (Document, String, 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 path, Stream icon, ImageFormat iconFormat )
Public Sub New ( document As Document, path As String, icon As Stream, iconFormat As ImageFormat )
public: AttachedFile( Document^ document, String^ path, Stream^ icon, ImageFormat^ iconFormat )
new : document : Document * path : string * icon : Stream * iconFormat : ImageFormat -> AttachedFile
Parameters
- document
- Type: Aspose.NoteDocument
A parent document of the attached file. - path
- Type: SystemString
A string that contains the path to the file from which to create the AttachedFile. - icon
- Type: System.IOStream
An icon for the attached file. - iconFormat
- Type: System.Drawing.ImagingImageFormat
A format of the attached file icon.
