Font not shrink to fit while using ExportDocument function

Stimulsoft Reports.NET discussion
Post Reply
longgie
Posts: 1
Joined: Fri Feb 05, 2021 6:32 am

Font not shrink to fit while using ExportDocument function

Post by longgie »

Hi:
I made a report which contains textbox , set "Shrink to fit" property to "True", it works fine when i preview the report, the font can be resize to fit the textbox area, but if i do it programmatically, using code like below:

Code: Select all


var stiReport = new StiReport();
var setting = new Stimulsoft.Report.Export.StiBmpExportSettings
{
    ImageResolution = 300
};

stiReport.ExportDocument(Stimulsoft.Report.StiExportFormat.ImageBmp, bmpFilePath, setting);

Font can not be resize to fit the textbox area, could someone help me, thanks
Lech Kulikowski
Posts: 7341
Joined: Tue Mar 20, 2018 5:34 am

Re: Font not shrink to fit while using ExportDocument function

Post by Lech Kulikowski »

Hello,

We couldn't reproduce the issue.
Please clarify which version are you use?

Thank you.
Post Reply