Click or drag to resize
Pdf Library for .NET

PdfFileAttachmentElement Class

Represents a file attachment in a pdf document.
Inheritance Hierarchy
SystemObject
  SelectPdfPdfPageElement
    SelectPdfPdfFileAttachmentElement

Namespace: SelectPdf
Assembly: Select.Pdf (in Select.Pdf.dll) Version: 26.3
Syntax
public class PdfFileAttachmentElement : PdfPageElement

The PdfFileAttachmentElement type exposes the following members.

Constructors
 NameDescription
Public methodPdfFileAttachmentElement(String) Creates a file attachment without a link in the pdf page to the attachment.
Public methodPdfFileAttachmentElement(RectangleF, String) Creates a file attachment and a link in the pdf page to the attachment.
Public methodPdfFileAttachmentElement(Stream, String) Creates a file attachment from a stream without a link in the pdf page to the attachment.
Public methodPdfFileAttachmentElement(RectangleF, Stream, String) Creates a file attachment from a stream and a link in the pdf page to the attachment.
Top
Properties
 NameDescription
Public propertyActualText The exact text content represented by this element, used when the rendered content is not extractable as text (for example a text rendered as a graphic). Only used when TagType is set.
(Inherited from PdfPageElement)
Public propertyAlternateText Alternate text describing the element, used by assistive technology. Required for Figure elements in a tagged document. Only used when TagType is set.
(Inherited from PdfPageElement)
Public propertyArtifact Marks this element's content as a PDF artifact (decorative or non-semantic content such as background shapes, rules or repeated page furniture) in a tagged document. Artifact content is excluded from the logical structure tree. In a tagged document every element should either set TagType (real content) or set Artifact to true; this property takes precedence over TagType when both are set. Has no effect unless the owning Tagged is enabled.
(Inherited from PdfPageElement)
Public propertyTagType The logical-structure (tagged PDF) type for this element. When set and the owning Tagged is enabled, the element's content is wrapped in a marked-content sequence and a corresponding structure element is added to the document's logical structure tree. When null (the default), the element is not tagged.
(Inherited from PdfPageElement)
Top
Remarks
The file attachment can be linked from a pdf page or not.
See Also