The C1MultiDocument type exposes the following members.

Constructors

  Name Description
Public method C1MultiDocument()()()()
Initializes a new instance of the C1MultiDocument type.
Public method C1MultiDocument(String)

Methods

  Name Description
Public method Clear
Clears the current C1MultiDocument.
Public method ClearGeneratedPages
Clears the pages and other info created during document generation. This method does not clear the document structure/content though.
Protected method Dispose
Overridden. Disposes the current object.
(Overrides Component..::..Dispose(Boolean).)
Public method Export(String)
Exports the current multi-document to a disk file.
Public method Export(Stream, ExportProvider)
Exports the current multi-document to a stream.
Public method Export(String, Boolean)
Exports the current multi-document to a disk file.
Public method Export(Stream, ExportProvider, Boolean)
Exports the current multi-document to a stream.
Public method Export(String, OutputRange, Boolean)
Exports the current multi-document to a disk file.
Public method Export(Stream, ExportProvider, OutputRange, Boolean)
Exports the current multi-document to a stream.
Public method Export(String, ExportProvider, OutputRange, Boolean)
Exports the current multi-document to a disk file.
Public method FindAnchor
For internal use only.
Public method Generate
Generates the current C1MultiDocument.
Public method GetPageHyperlinks
Public method GetPageInfo
Retrieves extended information about a page with the specified index.
Public method GetPageSettings
Public method GetResolvedPage
Public method Load(Stream)
Loads the current document from a stream.
Public method Load(String)
Loads the current document from a file.
Public method MakeOutlines
Builds the outline tree for the current multi-document, merging the multi-document's own outlines (Outlines) and outline trees of documents and reports contained within the multi-document.

For details, see the remarks section of the property.

Protected method OnBusyStateChanged
Protected method OnDocumentEnded
Protected method OnDocumentStarting
Protected method OnItemAdded
Protected method OnItemAdding
Protected method OnItemGenerated
Protected method OnItemGenerating
Protected method OnItemLoaded
Protected method OnItemRemoved
Protected method OnItemRemoving
Protected method OnItemsClear
Protected method OnItemsClearing
Protected method OnLongOperation
Protected method OnPagesAdded
Protected method OnPagesChanged
Protected method OnPagesClear
Public method PageAsMetafile(Int32)
Gets a Metafile representing the specified page.
Public method PageAsMetafile(Int32, Boolean, SmoothingMode)
Gets a Metafile that represents the specified page.
Public method Print()()()()
Prints the current document with default printer settings, not showing the print progress dialog.
Public method Print(PrinterSettings)
Prints the current document with specified printer settings, not showing the print progress dialog.
Public method Print(PrinterSettings, OutputRange)
Prints a range of pages within the current document with specified printer settings, not showing the print progress dialog.
Public method Print(PrinterSettings, Boolean)
Prints the current document with specified printer settings, optionally showing the print progress dialog.
Public method Print(PrinterSettings, OutputRange, Boolean)
Prints a range of pages within the current document with specified printer settings, optionally showing the print progress dialog.
Public method Print(PrinterSettings, PageSettings, OutputRange)
Prints a range of pages within the current document with specified printer and default page settings, not showing the print progress dialog.
Public method Print(PrinterSettings, PageSettings, Boolean)
Prints the current document with specified printer and default page settings, optionally showing the print progress dialog.
Public method Print(PrinterSettings, PageSettings, OutputRange, Boolean)
Prints a range of pages within the current document with specified printer and default page settings, optionally showing the print progress dialog.
Public method PrintDialog()()()()
Shows the standard print dialog, allowing the user to print the current document.
Public method PrintDialog(PrinterSettings, array<Int32>[]()[][], Boolean)
Shows the standard print dialog, allowing the user to print the current document.
Public method Save(Stream)
Saves the current document to a stream.
Public method Save(String)
Saves the current document to a disk file.
Public method SetStorage(StorageType)
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 SetStorage(StorageType, String)
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.

Properties

  Name Description
Public property BusyState
Gets the current busy state of the current document.
Public property Cancel
Gets or sets a value indicating whether to cancel the generation of the current document. Note that this property is useful only if DoEvents is set to true.
Public property ColorizeHyperlinks
Gets 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 property DoEvents
Gets or sets a value indicating whether the current C1MultiDocument should handle Windows messages while generating.

The default value is false.

Public property EmfType
Gets 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 property IsDirty
Gets a value indicating whether the current C1MultiDocument has been changed since it was last generated.
Public property IsEmpty
Gets a value indicating whether the current C1MultiDocument is empty, i.e. has no C1MultiDocumentItem objects with data.
Public property IsGenerating
Indicates whether the document is currently being generated.
Public property Items
Gets the collection of C1MultiDocumentItem objects containing documents included in the current C1MultiDocument.
Public property Outlines
Gets the OutlineNodeCollection containing outline nodes specified for the multi-document.

Note that this collection does not include outlines of documents and reports contained within this multi-document. Use the MakeOutlines()()()() method to build the complete outline tree for the multi-document.

See remarks for more details.

Public property PageCount
Gets the total number of pages in the current multi-document.
Public property StoragePath
Gets the temporary directory used by the current multi-document if its temporary storage type is Disk.
Public property StorageType
Gets the temporary storage type used by the current multi-document.
Public property UseGdiPlusTextRendering
Gets 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).

Public property UserData
Gets or sets arbitrary data associated with the current document.

Events

  Name Description
Public event BusyStateChanged
Occurs when the BusyState property value has changed.
Public event DocumentEnded
Occurs when the document generation is ended.
Public event DocumentStarting
Occurs when the document generation is started.
Public event ItemAdded
Occurs when a C1MultiDocumentItem has been added to the current multi-document's Items collection.
Public event ItemAdding
Occurs when a C1MultiDocumentItem is about to be added to the current multi-document's Items collection.
Public event ItemGenerated
Occurs 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 event ItemGenerating
Occurs when the generation of a document or report associated with a C1MultiDocumentItem is about to start.
Public event ItemLoaded
Occurs 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 event ItemRemoved
Occurs when a C1MultiDocumentItem has been removed from the current multi-document's Items collection.
Public event ItemRemoving
Occurs when a C1MultiDocumentItem is about to be removed from the current multi-document's Items collection.
Public event ItemsClear
Occurs when the current multi-document's Items collection has been cleared.
Public event ItemsClearing
Occurs when the current multi-document's Items collection is about to be cleared.
Public event LongOperation
Occurs periodically during document generation. Allows to provide progress indication and the ability to cancel generation to the user.
Public event PagesAdded
Occurs when one or more pages were added to the current multi-document.
Public event PagesChanged
Occurs when one or more pages within the current multi-document were changed.
Public event PagesClear
Occurs when all pages within the current multi-document were removed.

Explicit Interface Implementations

See Also