DrawTextFormat: GxDrawTextFormat;
The DrawTextFormat property determines the mode of text rendering in report sheets, report shapes and report charts.
The property is set to Default_ by default, the GDI+editor is used.
For details about working with WPF editor see the Using Formatted Text article.
To execute an example, add links to the Metabase, Drawing and Report system assemblies. The repository must contain a regular report with the Report identifier.
Sub UserProc;
Var
MB: IMetabase;
Report: IPrxReport;
Options: IPrxReportOptions;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Edit As IPrxReport;
Options := Report.Options;
Options.DrawTextFormat := GxDrawTextFormat.Wpf;
Report.MetabaseObject.Save;
End Sub UserProc;
After executing the example the text rendering mode is changed in the regular report with the Report identifier.
See also: