CrystalReportPartsViewer 클래스
CrystalReportPartsViewer 컨트롤이 나타나고 작동하는 방식에 대한 정보를 수정하거나 검색하는 속성, 메서드 및 이벤트를 제공합니다.
네임스페이스 CrystalDecisions.Web 어셈블리 CrystalDecisions.Web (CrystalDecisions.Web.dll)
구문
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
예제
이 예에서는 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;
}
상속 계층 구조
BaseDataBoundControl
DataBoundControl
Object
Control
WebControl
CrystalReportViewerBase
CrystalReportPartsViewer
버전 정보
Crystal Reports Basic for Visual Studio 2008
Crystal Reports .NET 9 에서부터 지원됨