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);