Redraws a window, or windows.
Visual Basic |
---|
Public Function RedrawExtent( _ ByVal redrawcode As Integer, _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal z1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal z2 As Double _ ) As Integer |
SIS_CURRENTWINDOW
|
Redraw the current window only. |
SIS_CURRENTSWD
|
Redraw all windows which contain the current SWD. |
SIS_ALLWINDOWS
|
Redraw all windows. |
SIS_QUICK_REDRAW
|
Optional flag which makes Map windows blit their cached bitmap, instead of doing a full "regen". For instance, use ( SIS_CURRENTSWD+SIS_QUICK_REDRAW ) after moving Items in the Named List "*Sprites". |
Available: MM ME MD OD OM
Group:
Example 1:
sis.RedrawExtent (SIS_CURRENTWINDOW, 0, 0, 0, 1000, 1000, 1000)
Example 1 redraws the current window only to the specified extents.
Example 2:
sis.Redraw (SIS_CURRENTWINDOW, 0, 0, 0, 1000, 1000, 1000 Or SIS_QUICK_REDRAW)
Replace "Or" with the bitwise-or operator in your language of choice.
Example 2 causes the cached bitmap to be blitted, then the Sprites Overlays drawn, using the SIS_QUICK_REDRAW flag.
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).