ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Document Assembly / GrapeCity.ActiveReports.Document Namespace / SectionDocument Class
Members Example

In This Topic
    SectionDocument Class
    In This Topic
    The Document object represents the generated output of a report.
    Object Model
    SectionDocument Class
    Syntax
    'Declaration
     
    Public Class SectionDocument 
    public class SectionDocument 
    Remarks

    ActiveReports renders its output to the pages of a document object.  The document can be used with any of the viewer controls, saved for later retrieval or exported using any of ActiveReports export filters.

    If you need to have a serializable section document (to move it between application domains), then you should use the  simple derived class. See the example of code below.

    Example
    [Serializable]
    public class SerializableSectionDocument : SectionDocument, ISerializable
    {
       public SerializableSectionDocument()
       {
       }
    
       protected SerializableSectionDocument(SerializationInfo info, StreamingContext context) : base (info, context)
       {
       }
    }
    <Serializable>
    Public Class SerializableSectionDocument
        Inherits SectionDocument
        Implements ISerializable
    
        Public Sub New()
        End Sub
    
        Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext)
            MyBase.New(info, context)
        End Sub
    End Class
    Inheritance Hierarchy

    System.Object
       GrapeCity.ActiveReports.Document.SectionDocument

    See Also