How to Remove the Gray Area around a Diagram?
29 Feb 2016 / 1 minute to read
You can remove the unnecessary gray area added around a diagram by setting the ScrollVirtualBounds property as Empty. The following code example illustrates this.
//Remove the unwanted gray area around a diagram.
diagram1.View.ScrollVirtualBounds = RectangleF.Empty;
'Remove the unwanted gray area around a diagram.
diagram1.View.ScrollVirtualBounds = RectangleF.Empty;
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page