70001185 New method to disable default Screen paint

Article 70001185
Type Wish
Product Engine
Version 7011
Date Added 10/5/2017
Fixed 7.7012.0.7 (10/5/2017)
Submitted by VectorDraw Team

Summary

New method to disable default screen paint method called after all draing procedures

Solution

A new method SetDisableScreenPaint of vdLayout was added in version 70122.0.7
Example:
bool oldvalue = document.ActiveLayout.SetDisableScreenPaint(true);
//do your stuff
document.ActiveLayout.SetDisableScreenPaint(oldvalue);//restore previous value.

Disable/ Enable the Screen paint that is called after after all rendering procedures.
By default the screen paint is enabled and calls all active BaseAction.ScreenPaint overrides
By default it also draw the blue grip boxes.

Send comments on this topic.