how i can change prepared report.

edited August 2018 in FastReport .NET
i am save my prepared report on database. but sometimes i need to change texts in report.
my code like this.

ms = new MemoryStream(varArray);
Rapor.LoadPrepared(ms);
FastReport.Preview.PreparedPages pages = Rapor.PreparedPages;
ReportPage P = pages.GetPage(pages.Count - 1);
FastReport.TextObject Tqq = (TextObject)P.FindObject("TextEimza");
if (Tqq != null)
{
Tqq.Visible = false;
Tqq.Text = "bla bla bla.";
}
PDFExport export = new PDFExport();
export.OpenAfterExport = false;
export.AllowCopy = false;
export.AllowModify = false;
export.AllowAnnotate = false;
export.PdfA = true;
MemoryStream ge = new MemoryStream();
Rapor.Export(export, ge);

i found object TextEimza and change Text properties and save to database again or export. but text is not changed. how i can fix this.

Comments

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.