Friday, July 04, 2008  



 FarPoint Technologies
 (800) 645-5913

 fpsales@fpoint.com



     
 »Spread for Windows Forms » Product Tour » Models » Span

Previous Understanding the Span Model Next

  Back to Top
 Span Model
The span model includes the objects needed to handle cell spans and automatic merging of cells.

To use the underlying span model, use the Add, Clear, and Remove methods of the span model.

The default implementation of the span model (DefaultSheetSpanModel) uses an array to stored the cell spans. If there is modest number of spans in the sheet (for example, a thousand or less) then the default implementation works fine. If there is a very large number of spans in the sheet (for example, a hundred thousand or more) then the default implementation slows dramatically. In scenarios where you have a very large number of spans that repeat on a regular interval, you should consider writing a custom span model. By writing a custom span model, you can significantly increase the speed and decrease the memory usage.



    
 Have a question?
Have a Question? Ask Us!
Subscribe to the RSS feed!RSS Subscribe
 

 
SD Times 'TOP 100' Industry Innovator - Read the press release (pdf)

Tour Home
Overview
Appearance
User Interaction
Cell Types
Formulas
Managing Data
Data Binding
Import/Export
Printing
Keyboard Interaction
Shapes
Models
Spread Designer
 
Map

Copyright © 1991-2007 FarPoint Technologies, Inc. All rights reserved. All names are property of their respective owners.