Partager via


CrystalReportPartsViewer Classe

Fournit des propriétés, des méthodes et des événements permettant de modifier ou d'extraire les informations sur la manière dont fonctionne et s'affiche le contrôle CrystalReportPartsViewer.

Espace de noms CrystalDecisions.Web Assembly CrystalDecisions.Web (CrystalDecisions.Web.dll)

Syntaxe

Public Class CrystalReportPartsViewer
    Inherits CrystalReportViewerBase
    Implements IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer
public class CrystalReportPartsViewer : CrystalReportViewerBase, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IPostBackEventHandler, INamingContainer

Exemple

Cet exemple illustre l'initialisation de CrystalReportPartsViewer.

    Private Sub InitializeWebReportPartsViewer(ByVal myBatchSize As Integer)
      CrystalReportPartsViewer.BatchSize = myBatchSize
      CrystalReportPartsViewer.EnableDrillDown = True
      CrystalReportPartsViewer.EnableParameterPrompt = True
      CrystalReportPartsViewer.EnableToolTips = True
      CrystalReportPartsViewer.HasBorder = True
      CrystalReportPartsViewer.HasPageNavigationLinks = True
      CrystalReportPartsViewer.IsDisplayHeadings = True
      CrystalReportPartsViewer.IsDisplayTitle = True
      CrystalReportPartsViewer.PreserveLayout = True
      CrystalReportPartsViewer.ReuseParameterValuesOnRefresh = True
      CrystalReportPartsViewer.RotateSections = True
      CrystalReportPartsViewer.ZoomFactor = 100
    End Sub
    private void InitializeWebReportPartsViewer(int batchSize)
    {
      crystalReportPartsViewer.BatchSize = batchSize;
      crystalReportPartsViewer.EnableDrillDown = true;
      crystalReportPartsViewer.EnableParameterPrompt = true;
      crystalReportPartsViewer.EnableToolTips = true;
      crystalReportPartsViewer.HasBorder = true;
      crystalReportPartsViewer.HasPageNavigationLinks = true;
      crystalReportPartsViewer.IsDisplayHeadings = true;
      crystalReportPartsViewer.IsDisplayTitle = true;
      crystalReportPartsViewer.PreserveLayout = true;
      crystalReportPartsViewer.ReuseParameterValuesOnRefresh = true;
      crystalReportPartsViewer.RotateSections = true;
      crystalReportPartsViewer.ZoomFactor = 100;
    }

Hiérarchie d'héritage

BaseDataBoundControl
   DataBoundControl
      Object
         Control
            WebControl
               CrystalReportViewerBase
                  CrystalReportPartsViewer

Informations de version

Crystal Reports Basic for Visual Studio 2008

Pris en charge depuis : Crystal Reports .NET 9

Voir aussi

Référence

CrystalReportPartsViewer Membres
CrystalDecisions.Web Espace de noms