IndexToLocation not found error
I have designed a report with some customer fonts provided to me by my client. These fonts have all been installed but when my code executes the FReport.Export(export, reportstream) command shown in the procedure below I get a 'IndexToLocation not found' error. When I change the font for the text objects in my report to the standard fonts I don't have this problem. I'm not sure what the problem is.
public Byte[] GenerateSilentToStream()
{
//Declare variables
Byte[] blob;
MemoryStream reportstream = new MemoryStream();
//Runs the report
FReport.Prepare();
//Create export instance
PDFExport export = new PDFExport();
//Export the report
FReport.Export(export, reportstream);
blob = reportstream.ToArray();
//Free resources used by the report
FReport.Dispose();
return blob;
}
public Byte[] GenerateSilentToStream()
{
//Declare variables
Byte[] blob;
MemoryStream reportstream = new MemoryStream();
//Runs the report
FReport.Prepare();
//Create export instance
PDFExport export = new PDFExport();
//Export the report
FReport.Export(export, reportstream);
blob = reportstream.ToArray();
//Free resources used by the report
FReport.Dispose();
return blob;
}