Help with SizeToText Problem on Windows 7


Author
Message
Brian Kennedy
Brian Kennedy
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
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 (164 views, 3.00 KB)
DraggingPreviewLayer.gif (161 views, 6.00 KB)
GeneratedImage.gif (185 views, 14.00 KB)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search