4 Answers, 1 is accepted
0
Hello Jiri,
You can set the WPF ReportViewer control's ZoomMode e.g.:
Regards,
Stef
Telerik
You can set the WPF ReportViewer control's ZoomMode e.g.:
ReportViewer1.ZoomMode = ZoomMode.PageWidth;
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Jiri
Top achievements
Rank 1
answered on 21 May 2014, 08:41 AM
Hi Stef,
thank you for your reply. I am doing it in my global style, but it doesnt work
thank you for your reply. I am doing it in my global style, but it doesnt work
<
Style
TargetType
=
"{x:Type local:ReportViewer}"
>
<
Style.Resources
>
<
Style
TargetType
=
"TextBlock"
>
<
Setter
Property
=
"TextOptions.TextRenderingMode"
Value
=
"Auto"
/>
<
Setter
Property
=
"TextOptions.TextFormattingMode"
Value
=
"Ideal"
/>
</
Style
>
</
Style.Resources
>
<
Setter
Property
=
"ViewMode"
Value
=
"PrintPreview"
/>
<
Setter
Property
=
"TextOptions.TextRenderingMode"
Value
=
"Auto"
/>
<
Setter
Property
=
"TextOptions.TextFormattingMode"
Value
=
"Ideal"
/>
<
Setter
Property
=
"ZoomMode"
Value
=
"PageWidth"
/>
<
Setter
Property
=
"Template"
>
<
Setter.Value
>
0
Hello Jiri,
I will need more time to check your your question with our development team and will get back to you with an update.
Meanwhile, setting the property in code works as expected.
Regards,
Stef
Telerik
I will need more time to check your your question with our development team and will get back to you with an update.
Meanwhile, setting the property in code works as expected.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Hello Jiri,
Currently the property is not exposed to be set through the viewer's style. We are going to change that in future release, where our aim is to include the change for Q2 2014 in June.
Your Telerik points are updated to thank you for pointing our attention to the scenario.
Regards,
Stef
Telerik
Currently the property is not exposed to be set through the viewer's style. We are going to change that in future release, where our aim is to include the change for Q2 2014 in June.
Your Telerik points are updated to thank you for pointing our attention to the scenario.
Regards,
Stef
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.