[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.FileSpecification.FileInfo

Class FileSpecification.FileInfo

Namespace
GrapeCity.Documents.Pdf
Assembly
GcDocs.Pdf.dll

Represents information about a file for a particular platform.

public class FileSpecification.FileInfo
Inheritance
object
FileSpecification.FileInfo
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

EmbeddedFileStream

Gets or sets the EmbeddedFileStream associated with this file specification.

public EmbeddedFileStream EmbeddedFileStream { get; set; }

Property Value

EmbeddedFileStream

FileName

Gets or sets the file specification string of the form described in PDF Specification Section 3.10.1, “File Specification Strings”.

public string FileName { get; set; }

Property Value

string

Owner

Gets the FileSpecification object owning this object.

public FileSpecification Owner { get; }

Property Value

FileSpecification

RelatedFiles

Gets the collection of related files, see PDF Specification for details.

public FileSpecification.RelatedFileCollection RelatedFiles { get; }

Property Value

FileSpecification.RelatedFileCollection

Methods

GetStream()

Gets a System.IO.Stream containing the content of this FileSpecification.FileInfo, or null if the file specification is empty.

Important: this System.IO.Stream must be disposed after use.

public Stream GetStream()

Returns

System.IO.Stream

A System.IO.Stream with the content of this FileSpecification.FileInfo, or null if it is empty. If not null, the stream must be disposed after use!