SSRS - Set dynamic body height

喜你入骨 提交于 2019-12-13 18:22:00

问题


I have an SSRS report that contains a number of charts.

Where a chart hits a certain amount of results it will resize dynamically using the below code:

=(1 + Count( Fields!groupedColumnName.Value, "MyDataset") / 2) & ” in”

The problem is that although the charts are resizing the body does not.

Current size parameters for the body of the report are set to A4 (Portrait):

Height: 29.7cm; Width: 21cm;

Is there a way to set these values dynamically? It doesnt look like I can enter an expression.


回答1:


The answer to this question turned out to be quite simple.

There is a report property named InteractiveSize that allows you to set the size of the report when its rendered (not printed).

You simply set either the Width or Height value to '0' depending on your need.



来源:https://stackoverflow.com/questions/42552392/ssrs-set-dynamic-body-height

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!