How to justify text on an RDLC report on C#

2.2k Views Asked by At

I'm trying to justify the text inside a RLDC report text-box in C#.

I tried this solution but couldn't make it work.

This is what I've got inside the expression:

="<div style='text-align: justify; text-justify: inter-character;'>La empresa " +First(Fields!name.Value, "CompanyCertificate")+ " identificada con el Nit. " +First(Fields!documentNumber.Value, "CompanyCertificate")+ " se encuentra afiliada en la Caja de Compensación Familiar del Valle del Cauca - Comfamiliar Andi - Comfandi.</div>"

See screenshot

This is the PDF it generates, but the main text is left aligned, and I need it justified:

See pdf screenshot

Is that html code wrong? How could I make this work?

0

There are 0 best solutions below