Print next to image text or char (251) in Report Builder

I am drawing a check mark next to some text in the Datagrid Devexpress column, now I need to print it. Any idea?

+2


a source to share


1 answer


It depends on your printing mechanism. You can usually hook up an event to make your own drawing (for example, if you are using DevExpress Printing System TdxComponentPrinter

, then you have OnCustomDrawPage

).

In other presses, you have finer-grained events (one per print object). You can add your checkbox using a special font and a special character (for example, Wingdings - 0xFC or 0xFE) or even a special object for this, if your report module has one (for example, FastReport has one).

OTOH, why don't you use a separate column for your checkbox? In any case, this is a separate bit of information, and usually it should be in a separate column. And then, as a rule, the reporting mechanisms will handle it much easier.



NTN

UPDATE . I saw that you are using ReportBuilder. I have no experience with ReportBuilder, but the above principles should (still) apply.

+1


a source







All Articles