i want to keep a position of a component in the report relative to the page size , i mean when i re size the page i want the component to remain in the same position , is there a way to do this
Thank You.
anchoring feature in stimulsoft?
-
- Posts: 2
- Joined: Tue May 22, 2012 5:17 am
anchoring feature in stimulsoft?
Hello.
Thank you.
You could do it with Scale Content and Rebuild Report properties at the Page Size dialog of the Viewer.marconi1222 wrote:i want to keep a position of a component in the report relative to the page size , i mean when i re size the page i want the component to remain in the same position , is there a way to do this
Thank you.
- Attachments
-
- 1879.ScaleContent.png (55.98 KiB) Viewed 724 times
-
- Posts: 2
- Joined: Tue May 22, 2012 5:17 am
anchoring feature in stimulsoft?
Hello Aleksey ,
Thank you for the answer . but how can i do that using code in .net ?
Thank you.
Thank you for the answer . but how can i do that using code in .net ?
Thank you.
anchoring feature in stimulsoft?
Hello,
Please try to use the following code:
Thank you.
Please try to use the following code:
Code: Select all
StiResizeReportHelper.ResizeReport(stiReport,
StiPageOrientation.Portrait,
newSize.Kind,
stiReport.Pages[0].Margins,
stiReport.Unit.ConvertFromHInches(newSize.Width),
stiReport.Unit.ConvertFromHInches(newSize.Height),
StiResizeReportOptions.RescaleContent | StiResizeReportOptions.ProcessAllPages,
0);