[]
        
(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
FileSpecification.FileInfo
Inherited Members

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 Stream containing the content of this FileSpecification.FileInfo, or null if the file specification is empty.

Important: this Stream must be disposed after use.

public Stream GetStream()

Returns

Stream

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