DIView Sample
Source code for DIView sample is available in Samples\NET\VB 
folder of the installation directory.  
Description 
Implementation
All the work is done inside DIViewForm class. The OnSizeChanged() method 
synchronizes size and position of the view and of the control.  
Background manipulation is implemented in a set of methods called from 
DIViewForm.InitBackground(). It is using
IRectangleColor_KC
interface to access and modify arrays of colors assigned to four sides of the 
window rectangle. 
Printing is handled by DIViewForm.OnFilePrint(), which uses
IPrint_KC
to print the scene. 
See also: 
C# DIView Sample, 
C++ DIView sample, 
VB 6.0 DIView Sample,  
All samples  
                 |