Document Solutions for PDF
GrapeCity.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / EmbeddedFileStream Class
Properties Methods

In This Topic
    EmbeddedFileStream Class Members
    In This Topic

    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 the PDF object ID. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfDict. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfDictWrapper)
    Public PropertyGets the underlying GrapeCity.Documents.Pdf.Spec.IPdfObject. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapper<IPdfDict>)
    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 object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    Public MethodGets the GrapeCity.Documents.Pdf.Spec.PdfStreamInfo object containing the data of GrapeCity.Documents.Pdf.Spec.PdfStreamObjectBase owned by this wrapper. Note! The stream should be disposed after usage. (Inherited from GrapeCity.Documents.Pdf.Wrappers.PdfWrapperBase)
    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