D View, Save and Restore View Methods
- Last UpdatedNov 14, 2022
- 1 minute read
2D views now have 4 view stores that allow storage and retrieval of the current view state. They can be accessed by the saveview() and restoreview() methods:
!myview.SaveView( !storeNumber )
!myview.RestoreView( !storeNumber )
where !StoreNumber must be in the range 1 to 4.
If the view’s picture is deleted or changed then the view-stores are all cleared. The stored view settings should survive saving and restoring to a binary-save file.