1 of 1 people found this helpful
The solution I had was to completely ignore the graphics part of the sdk and use the vanilla .net routines.
A bit of digging with a .net decompiler and I found a way to hook into the sdk's internal graphics object after it's initialisation and bypass all the sdk's graphics routines in favour of my own I can then use the word wrap and formatting built into .net
Which SDK(s) are you working with? What versions of the SDKs? What printer model and what version of firmware is installed in the printer? What version of the printer driver is installed if you are using the printer driver? What Operating System are you using?
Would it be possible for you to share your code that is causing the problem?
Zebra Global Services and Support
Not having any issues as such but this might help Adam with the issues with the zmotif graphics sdk
internal static System.Drawing.Graphics GetGraphicsObject(ref ZMTGraphics.ZMotifGraphics g)
System.Reflection.FieldInfo dynField = g.GetType().GetField("helper", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Static);
object gg = dynField.GetValue(null);
After initialising the graphics object similar to below
g.InitGraphics(0, 0, (ZMTGraphics.ZMotifGraphics.ImageOrientationEnum)pageorientation, ZMTGraphics.ZMotifGraphics.RibbonTypeEnum.Color);
pass it to the routine using
System.Drawing.Graphics gfx = ZMotifZXP78Control.GetGraphicsObject(ref g);
and you'll get a .net graphics object with which you can play to your hearts content,