AttachedFile Class

Aspose.Note for .NET API

AttachedFile Class

Represents an attached file.
Inheritance Hierarchy
SystemObject  Aspose.NoteNode
    Aspose.NoteAttachedFile

Namespace:  Aspose.Note
Assembly:  Aspose.Note (in Aspose.Note.dll) Version: 18.1
Syntax
public class AttachedFile : Node, 
	IPageChildNode, INode, IOutlineElementChildNode
Public Class AttachedFile
	Inherits Node
	Implements IPageChildNode, INode, IOutlineElementChildNode
public ref class AttachedFile : public Node, 
	IPageChildNode, INode, IOutlineElementChildNode
type AttachedFile =  
    class
        inherit Node
        interface IPageChildNode
        interface INode
        interface IOutlineElementChildNode
    end

The AttachedFile type exposes the following members.

Constructors
  NameDescription
Public methodAttachedFile(Document, String)
Initializes a new instance of the AttachedFile class.
Public methodAttachedFile(Document, String, Stream)
Initializes a new instance of the AttachedFile class.
Public methodAttachedFile(Document, String, Stream, ImageFormat)
Initializes a new instance of the AttachedFile class.
Public methodAttachedFile(Document, String, Stream, Stream, ImageFormat)
Initializes a new instance of the AttachedFile class.
Top
Properties
  NameDescription
Public propertyAlignment
Gets or sets the alignment.
Public propertyBytes
Gets the binary data for an embedded file.
Public propertyDocument
Gets the document of the node.
(Inherited from Node.)
Public propertyExtension
Gets the extension of an embedded file.
Public propertyFileName
Gets the name of the embedded file.
Public propertyFilePath
Gets the path to the original file.
Public propertyHeight
Gets the original height of the embedded file icon.
Public propertyHorizontalOffset
Gets or sets the horizontal offset.
Public propertyIcon
Gets the binary data for the icon that is associated with the embedded file.
Public propertyIconExtension
Gets the extension of the icon.
Public propertyIsComposite
Gets a value indicating whether this node is composite. If true the node can have child nodes.
(Inherited from Node.)
Public propertyIsPrintout
Gets or sets a value indicating whether the view of the file is printout.
Public propertyIsSizeSetByUser
Gets or sets a value indicating whether the value of the size of the icon was explicitly updated by the user.
Public propertyLastModifiedTime
Gets or sets the last modified time.
Public propertyMaxHeight
Gets or sets the maximum height to display the embedded file icon.
Public propertyMaxWidth
Gets or sets the maximum width to display the embedded file icon.
Public propertyNextSibling
Gets the next node at the same node tree level.
(Inherited from Node.)
Public propertyNodeType
Gets the node type.
(Inherited from Node.)
Public propertyParentNode
Gets the parent node.
(Inherited from Node.)
Public propertyPreviousSibling
Gets the previous node at the same node tree level.
(Inherited from Node.)
Public propertyTags
Gets the list of tags of an attached file.
Public propertyText
Gets or sets the text representation of the embedded file. The string MUST NOT contain any characters of the value 10 (line feed) or 13 (carriage return).
Public propertyVerticalOffset
Gets or sets the vertical offset.
Public propertyWidth
Gets the original width of the embedded file icon.
Top
Methods
  NameDescription
Public methodAccept
Accepts the visitor of the node.
(Overrides NodeAccept(DocumentVisitor).)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also