Page 1 of 1

Font not shrink to fit while using ExportDocument function

Posted: Fri Feb 05, 2021 6:46 am
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

Re: Font not shrink to fit while using ExportDocument function

Posted: Fri Feb 05, 2021 2:45 pm
by Lech Kulikowski
Hello,

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

Thank you.