ComponentOne Reports for WPF
C1.C1Preview Namespace / C1MultiDocument Class
Properties Methods Events

In This Topic
    C1MultiDocument Class Members
    In This Topic

    The following tables list the members exposed by C1MultiDocument.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the C1MultiDocument type.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether hyperlinks in the report are colorized. This property only affects C1.C1Report items of the multi-document.

    The default is null (the property is not defined at the multi-document level).

     
    Public PropertyGets or sets the name of the document (used to identify documents in print tasks and so on).  
    Public PropertyGets or sets a value indicating whether the current C1MultiDocument should handle Windows messages while generating.

    The default value is false.

     
    Public PropertyGets or sets the type of metafiles created by the current document.

    The default is null (the property is not defined at the multi-document level).

     
    Public PropertyGets or sets a value indicating whether text in the current document is rendered using GDI+ text API.

    The default is null (the property is not defined at the multi-document level).

     
    Top
    Public Methods
     NameDescription
    Public MethodClears the current C1MultiDocument.  
    Public MethodClears the pages and other info created during document generation. This method does not clear the document structure/content though.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.ComponentModel.Component)
    Public MethodOverloaded. Exports the current multi-document to a disk file.  
    Public MethodFor internal use only.  
    Public MethodGenerates the current C1MultiDocument.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Retrieves extended information about a page with the specified index.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Loads the current document from a stream.  
    Public MethodBuilds the outline tree for the current multi-document, merging the multi-document's own outlines (C1MultiDocument.Outlines) and outline trees of documents and reports contained within the multi-document.

    For details, see the remarks section of the property.

     
    Public MethodOverloaded. Gets a System.Drawing.Imaging.Metafile that represents the specified page.  
    Public MethodOverloaded. Prints the current document with default printer settings, not showing the print progress dialog.  
    Public MethodOverloaded. Shows the standard print dialog, allowing the user to print the current document.  
    Public MethodOverloaded. Saves the current document to a stream.  
    Public MethodOverloaded. Sets the temporary storage type used by the current multi-document. Note that document items are actually moved from old storage to new by this method.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Public Events
     NameDescription
    Public EventOccurs when the C1MultiDocument.BusyState property value has changed.  
    Public EventOccurs when the document generation has ended.  
    Public EventOccurs when the document generation is starting.  
    Public EventOccurs when a C1MultiDocumentItem has been added to the current multi-document's C1MultiDocument.Items collection.  
    Public EventOccurs when a C1MultiDocumentItem is about to be added to the current multi-document's C1MultiDocument.Items collection.  
    Public EventOccurs when the generation of a document associated with a C1MultiDocumentItem has completed. On some systems garbage collection does not always work correctly without explicit calls to GC. Use this event to call GC.Collect() to ensure that multi-document generation does not cause an out of memory exception.  
    Public EventOccurs when the generation of a document or report associated with a C1MultiDocumentItem is about to start.  
    Public EventOccurs when a C1MultiDocumentItem has been loaded, parameters (if any) have been prepared, but the report or document represented by the item has not been generated yet. Allows to adjust the properties of the report or document prior to generation (e.g. the data source of a C1Report may be assigned here).  
    Public EventOccurs when a C1MultiDocumentItem has been removed from the current multi-document's C1MultiDocument.Items collection.  
    Public EventOccurs when a C1MultiDocumentItem is about to be removed from the current multi-document's C1MultiDocument.Items collection.  
    Public EventOccurs when the current multi-document's C1MultiDocument.Items collection has been cleared.  
    Public EventOccurs when the current multi-document's C1MultiDocument.Items collection is about to be cleared.  
    Public EventOccurs periodically during document generation. Allows to provide progress indication and the ability to cancel generation by the user.  
    Public EventOccurs when one or more pages were added to the current multi-document.  
    Public EventOccurs when one or more pages within the current multi-document were changed.  
    Public EventOccurs when all pages within the current multi-document were removed.  
    Top
    See Also