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

In This Topic
    ContentStream Class Members
    In This Topic

    The following tables list the members exposed by ContentStream.

    Public Properties
     NameDescription
    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>)
    Top
    Public Methods
     NameDescription
    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 object containing the content of this ContentStream.

    It is the caller's responsibility to dispose the returned stream after usage.

    Important: this method returns null if the current ContentStream object is empty.

     
    Public MethodReturns a value indicating whether this content stream is not empty, i.e. it contains some PDF operators.  
    Public MethodFor internal use. Sets the content of this ContentStream from the specified System.IO.MemoryStream. If copyStream is true then stream content will be copied and it should be disposed; otherwise (copyStream is false) the content stream will use passed stream.  
    Top
    See Also