I'm using DashStyle.Dash
while rendering my hierarchy of objects. My application uses Graphics.Transform
extensively and I find that at some scale values (including a scale of 100%) and some angles of rotation, Graphics.DrawLine
throws OutOfMemoryException
when using a pen with DashStyle.Dash
. Using Google I found that this is a well-known problem. Microsoft tells us that this is not a blocking issue. So far, I have not found a workaround for this problem.
What are my options?