Report Class

Definition

包含报表的属性、数据和布局信息。Contains properties, data, and layout information for the report. Report 类是 Report 对象模型的根。The Report class is the root of the Report object model. 无法继承此类。This class cannot be inherited.

public ref class Report sealed
public sealed class Report
type Report = class
Public NotInheritable Class Report
Inheritance
Report

Properties

Author

获取报表作者的姓名。Gets the name of the author of the report.

AutoRefresh

以秒为单位指示刷新报表的频率。Indicates, in seconds, how often to refresh the report.

Body

获取矩形形式的表体。Gets the body of the report, as a rectangle.

BottomMargin

获取下边距的宽度。Gets the width of the bottom margin.

CacheState

获取或设置一个指示应缓存要呈现的对象的值。Gets or sets a value that indicates that objects to be rendered should be cached.

Columns

获取用于呈现报表的默认列数。Gets the default number of columns for rendering the report.

ColumnSpacing

获取各列之间的默认间距,包括单位指示符。Gets the default spacing between the columns, including the unit designator.

Custom

获取定义中 Custom 标记的内容。Gets the contents of the Custom tag in the definition.

CustomProperties

返回报表的自定义属性的集合。Returns a collection of custom properties for the report.

DataElementName

获取表示报表数据的顶级元素的名称。Gets the name of a top level element that represents the report data.

DataElementStyle

获取指示文本框是以元素形式还是属性形式呈现的值。Gets a value that indicates whether text boxes should render as elements or attributes.

DataSchema

获取要用于报表数据呈现的架构或命名空间。Gets the schema or namespace to use for a report data rendering.

DataSetName

获取数据集的名称。Gets the name of the dataset.

DataTransform

获取要应用于报表数据呈现的转换的位置。Gets the location to a transformation to apply to a report data rendering.

Description

获取报表的说明。Gets the description of the report.

ExecutionTime

获取生成报表的日期和时间。Gets the date and time that the report was generated.

HasBookmarks

获取指示报表是否包含书签的值。Gets a value that indicates whether the report contains bookmarks.

InDocumentMap

获取指示报表是否具有文档结构图的值。Gets a value that indicates whether the report has a document map.

LeftMargin

获取左边距的宽度。Gets the width of the left margin.

Location

如有必要,将报表的位置获取为绝对 URL,并使用ReplacementRoot进行编码。Gets the location of the report as an absolute URL, encoded with ReplacementRoot, if necessary.

Name

获取报表的名称。Gets the name of the report.

NeedsHeaderFooterEvaluation

获取一个值,该值指示在呈现过程中是否需要对此页的页眉或页脚进行求值。Gets a value that indicates whether this page header or page footer needs to be evaluated during rendering.

NumberOfPages

获取报表中的页数。Gets the number of pages in the report.

PageFooter

获取 NeedsHeaderFooterEvaluation 属性为 false 时页脚的内容。Gets the contents of the page footer when the NeedsHeaderFooterEvaluation property is false.

PageHeader

获取 NeedsHeaderFooterEvaluation 属性为 false 时页眉的内容。Gets the contents of the page header when the NeedsHeaderFooterEvaluation property is false.

PageHeight

获取页面的高度。Gets the height of the page.

Pages

获取包含分页信息的对象。Gets an object containing pagination information.

PageWidth

获取纸张页面的宽度。Gets the width of the paper page.

Parameters

获取报表的参数。Gets the parameters for the report.

RenderingInfo

获取或设置呈现扩展插件要使用的数据。Gets or sets data to be used by the rendering extension. 此数据特定于报表项的当前实例。This data is specific to the current instance of the report item.

ReportLanguage

获取报表的语言。Gets the language of the report.

RightMargin

获取左边距的宽度。Gets the width of the left margin.

SharedRenderingInfo

获取或设置供将来的呈现扩展插件使用的共享数据。Gets or sets shared data for use in future rendering extensions.

ShowHideStateChanged

获取一个值,该值指示报表快照的显示/隐藏状态是否已改变。Gets a value that indicates whether the show/hide state of the report snapshot has changed.

ShowHideToggle

获取已由用户切换的切换项的标识符。Gets the identifier of the toggle item that was toggled by the user.

SortItem

用户单击特定排序项时排序项的 ID。The ID the sort item, if the user clicks a particular sort item.

TopMargin

获取上边距的宽度。Gets the width of the top margin.

UniqueName

获取此报表的唯一名称。Gets the unique name for this report.

Width

获取报表的宽度。Gets the width of the report.

Methods

EnableNativeCustomReportItem()

配置呈现对象模型,以使自定义报表项可用。Configures the rendering object model to make custom report items available.

EnableNativeCustomReportItem(String)

配置呈现对象模型,以使给定类型的自定义报表项可用。Configures the rendering object model to make custom report items of the given type available.

Find(String)

用给定的唯一名称在报表中查找报表项。Finds the report item in the report with the given unique name.

GetReportUrlBuilder(String, Boolean, Boolean)

根据初始 URL 创建 ReportUrlBuilder,可选择使用替换 URL 根。Creates a ReportUrlBuilder from an initial URL, optionally using a replacement URL root.

GetResource(String, Byte[], String)

返回请求的资源及其 MIME 类型。Returns the requested resource and its MIME type.

StreamURL(Boolean, String)

返回从另一位置检索此流所需的 URL。Returns the URL needed to retrieve this stream from another. CreateAndRegisterStream 委托函数配合使用。Works with the CreateAndRegisterStream delegate function.

Applies to