
'宣言
Public Class SectionDocument Inherits GrapeCity.ActiveReports.Core.Document.GenericDocument(Of Page,PagesCollection) Implements GrapeCity.ActiveReports.Core.Document.IDocument(Of Page)
public class SectionDocument : GrapeCity.ActiveReports.Core.Document.GenericDocument<Page,PagesCollection>, GrapeCity.ActiveReports.Core.Document.IDocument<Page>
ActiveReportsは出力をDocumentオブジェクトのページに表示します。ドキュメントは任意のビューワコントロールで使用したり、後で使用するために保存したり、任意のActiveReportsエクスポートフィルタを使用してエクスポートしたりできます。
シリアル化可能なセクションレポートが必要な場合(アプリケーション ドメイン間で移動するため)は、以下のサンプルコードのように、単純な派生クラスを使用する必要があります。
[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
System.Object
GrapeCity.ActiveReports.Core.Document.DocumentBase<PageType>
GrapeCity.ActiveReports.Core.Document.GenericDocument<PageType,PagesCollectionType>
GrapeCity.ActiveReports.Document.SectionDocument