FR.Net Textobject differs from FR Studio TfrxMemoView

pinbotpinbot Texas
edited 7:09PM in FastReport .NET
I have an invoice report I've converted from .fr3 to .frx

Which by the way is wonderful (except it'd be nice if it removed the quotes from the field names)!

I'm displaying the mailing address as
[Query.FullName]
[Query.CompanyName]
[Query.BillingAddress]


In FR Studio, the carriage returns in the billing address wrap correctly, but the same report on the same fields looks different in Fr.Net

Is there some simple setting I'm missing?

Images attached.
Img1 is from FR Studio
Img2 is from FR.Net

Same Report, Same Data

Comments

  • edited 7:09PM
    The difference is GDI+ in FastReport.Net and GDI in FastReport Studio. They use different text output and measurement mechanisms, so the result is different.
  • pinbotpinbot Texas
    edited 7:09PM
    Any easy way to make FR.net TextObject show multiple lines like FR Studio?

    I'm assuming there are cr/lf in the field since they show correctly in FR Studio.
  • edited 7:09PM
    It seems to me that instead of CR+LF your field contains CR symbol only, which is not recognized by .Net DrawString method.
  • pinbotpinbot Texas
    edited 7:09PM

    You might be right.

    I looked at another record and it displayed correctly. I probably have CR in some and CR+LF in others.

    yuk.

    Thanks for the quick reply.

Leave a Comment