Documents for PDF, .NET Edition Documentation
EmbeddedFileStream Class Members
Properties  Methods 

GrapeCity.Documents.Pdf Assembly > GrapeCity.Documents.Pdf Namespace : EmbeddedFileStream Class

The following tables list the members exposed by EmbeddedFileStream.

Public Properties
 NameDescription
Public PropertyGets or sets a 16-byte string that is the checksum of the bytes of the uncompressed embedded file. The checksum is calculated by applying the standard MD5 message-digest algorithm to the bytes of the embedded file stream. Checksum calculated automatically when EmbeddedFileStream created with FromFile or FromBytes methods.  
Public PropertyGets or sets the date and time when the embedded file was created.  
Public PropertyGets or sets the file's MIME type.  
Public PropertyGets or sets the date and time when the embedded file was last modified.  
Public PropertyGets or sets the size of the embedded file, in bytes.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)Creates a new instance of EmbeddedFileStream from the specified array of bytes.  
Public Methodstatic (Shared in Visual Basic)Creates a new instance of EmbeddedFileStream from the specified file name.

The file data will be read when the GcPdfDocument is saved.

 
Public MethodGets the System.IO.Stream containing content of this EmbeddedFileStream, stream should be disposed after usage. NOTE! Method can return null if this EmbeddedFileStream is empty.  
Top
See Also

Reference

EmbeddedFileStream Class
GrapeCity.Documents.Pdf Namespace