Profile Picture

Help with SizeToText Problem on Windows 7

Posted By Brian Kennedy 11 Years Ago
Author
Message
Brian Kennedy
explanationmark Posted 11 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 4, Visits: 17

We have a feature where we create a NTextShape and fill it with some text and then call SizeToText.

On XP it was working as expected.  When we tried on a Windows 7 client we encountered some odd behavior when text size is Medium (125%). 

After the SizeToText, the desired text is clipped.  (see attached image SizeToTextBug.gif)

If I start dragging the NTextShape, its preview layer is showing it correctly sized (see attached image DraggingPreviewLayer.gif)

Finally, we use ImageExporter to generate a bitmap of the result and the resulting image is magically fixed again! (see attached image GeneratedImage.gif)

Can you tell us how to force the DiagramView to show the text not clipped in the first case?  We are in the final stages of a release so time is critical.

We are currently using version 10.6.23.12.

Thanks in advance,
Jason Irby

 



Attachments
SizeToTextBug.gif (150 views, 3.00 KB)
DraggingPreviewLayer.gif (148 views, 6.00 KB)
GeneratedImage.gif (172 views, 14.00 KB)


Similar Topics


Reading This Topic