Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Trying to Change SSRS Font Size with DataSet

$
0
0

I am unsuccessfully trying to dynamically change an rdl Report section header font size by using a value from a dataset.  The error warning message I am receiving is:

[rsInvalidSize] The value of the FontSize property for the textrun 'PageTitle.Paragraph[0].TextRuns[0]' is "22", which is not a valid size.  Valid sizes may not exceed 455 inches (1155.7 centimeters).

I am able to dynamically change the font family, font weight, and color but not the size.  It must be a syntax issue but I can't seem to find it.  In the font size property expression window I am calling the data set field I am using for the font size value of 22.  I have also tried with a value of 22pt.  The expression is: 

=First(Fields!h1_font_size.Value, "Parameter_ReportStyle")

If the font size is hard coded the expression window has 22pt.  Does the syntax require delimters of some sort when pulling from a dataset?

Environment:

  • Visual Studio 2012 Update 411.0.61030.00
  • SQL Server Data Tools11.1.31009.1
  • SQL SDerver Data Tools - Build Utilities 11.1.31009.1
  • Microsoft SQL Server Data-Tier Application Framework11.1.2902.0
  • Microsofto SQL Server 212 Transact-SQL ScriptDom (64-bit)11.1.3000.0

Any suggestions will be greatly appreciated.


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>