Page 1 of 1
Font Rotation In conventional Jade controls
Posted: Fri Aug 07, 2009 1:09 pm
by ConvertFromOldNGs
by Martin Breitland >> Mon, 6 Aug 2007 5:09:00 GMT
Does anyone know if it possible to rotate text using any of the standard Jade controls? (JadeRichText, label etc..)
The requirement is to use a barcode font (Intel code39) and allow the barcode to be printed down the side of the page.
Re: Font Rotation In conventional Jade controls
Posted: Fri Aug 07, 2009 1:09 pm
by ConvertFromOldNGs
by Allistar >> Mon, 6 Aug 2007 6:23:41 GMT
You can use the drawing primitives to rotate the text you draw. You could create a subclass from BaseControl to wrap this up in a reusable control.
Allistar.
Re: Font Rotation In conventional Jade controls
Posted: Fri Aug 07, 2009 1:09 pm
by ConvertFromOldNGs
by Martin Breitland >> Tue, 7 Aug 2007 5:13:44 GMT
Thanks Allistar, I found the methods you were referring to and they were exactly what I needed. Much easier than trying to manipulate the standard label control...
My first implementation was done using a new control class and the window level primitive methods. It was working ok but I then realised the same drawing methods were also present on the printer class, and that resulted in a solution less dependent on frame placement when melded onto a report 'controller' class.
Thanks again.