ImageGear .NET v25.2 - Updated
ImageGear.Formats.Office Assembly / ImageGear.Formats.Office Namespace / ImGearExcelSheetDocument Class
Members




In This Topic
    ImGearExcelSheetDocument Class
    In This Topic
    A document object that contains pages which represent an Excel sheet that has been split into one or more pages.
    Object Model
    ImGearExcelSheetDocument ClassImGearDocument ClassImGearDocumentPageArray ClassImGearPage Class
    Syntax
    'Declaration
     
    Public Class ImGearExcelSheetDocument 
       Inherits ImageGear.Core.ImGearDocument
    'Usage
     
    Dim instance As ImGearExcelSheetDocument
    public class ImGearExcelSheetDocument : ImageGear.Core.ImGearDocument 
    public __gc class ImGearExcelSheetDocument : public ImageGear.Core.ImGearDocument 
    public ref class ImGearExcelSheetDocument : public ImageGear.Core.ImGearDocument 
    Remarks

    A new instance of this class is returned by the Repaginate(Double,Double) method. This method is particularly helpful when the sheets of an Excel document are large and displaying or printing each one as a single page is impractical or impossible.

    The document can be created and processed in any thread with any apartment state - STA or MTA. But if it should be displayed as well, then there are some concepts which should be taken into account.

    • In WPF display scale mode the document must be created in UI thread, otherwise System.InvalidOperationException will be thrown, stating that "The calling thread cannot access this object because a different thread owns it". This is requirement of Windows Presentation Foundation.
    • In Native display scale mode, which is the default for ImageGear, there are no restrictions for displaying Excel documents in a multi-threaded environment.

    Inheritance Hierarchy

    System.Object
       ImageGear.Core.ImGearDocument
          ImageGear.Formats.Office.ImGearExcelSheetDocument

    See Also