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

In This Topic
    PageContentStream Class Members
    In This Topic

    The following tables list the members exposed by PageContentStream.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the PageContentStream class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets the GcPdfDocument owning this object.  
    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 MethodReturns an instance of GcPdfGraphics that can be used to generate content of this PageContentStream.  
    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 MethodOverridden. Gets the System.IO.Stream containing the content of this ContentStream object.

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

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

    Note 2: in StartDoc/EndDoc mode this method is not supported and will throw an exception.

    Note 3: In some rare cases a page's content stream can break inside an operator, for example, some operands are in Page.ContentStreams[0] and other operands are in Page.ContentStreams[1]. This is weird but does not contradict the PDF Specification. To avoid such situations use Page.GetStream.

     
    Public MethodReturns a value indicating whether this content stream is not empty, i.e. it contains some PDF operators. (Inherited from GrapeCity.Documents.Pdf.ContentStream)
    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. (Inherited from GrapeCity.Documents.Pdf.ContentStream)
    Top
    See Also