Is there any way to get the width of a string when using a WebCanvas graphics object?
I am drawing text in columns and want to truncate the string if it is wider than the column.
Is there any way to get the width of a string when using a WebCanvas graphics object?
I am drawing text in columns and want to truncate the string if it is wider than the column.
You could use a scratch Picture for the measurements. Picture has all the properties of the regular Graphics object.
Perfect! I will give that a shot. Thanks!