[]
        
(Showing Draft Content)

C1.C1Preview.C1MultiDocumentItem

C1MultiDocumentItem Class

Represents an item (individual document or report) in a C1MultiDocument.

Inheritance
C1MultiDocumentItem
Implements
Namespace: C1.C1Preview
Assembly: C1.PrintDocument.4.8.dll
Syntax
[C1ClassSerialization(true)]
public class C1MultiDocumentItem : IDisposable

Constructors

Name Description
C1MultiDocumentItem()

Initializes a new instance of the C1MultiDocumentItem type.

Properties

Name Description

Gets the value of the ColorizeHyperlinks property of the document or report represented by the current multi-document item. This property is null the current item does not represent a C1Report.

EmfType

Gets the value of the EmfType property of the document or report represented by the current multi-document item. This property is null if no document or report is associated with the current item.

FileNames

Gets the list of file names used to store the document or report represented by the current item. If this item is stored in memory, this value is null.

FirstPageIndex

Gets the 0-based index of the first page of the document associated with the current item within the containing C1MultiDocument.

Index

Gets the index of the current item in the containing collection.

IsEmpty

Gets a value indicating whether the current item is empty.

LastPageIndex

Gets the 0-based index of the last page of the document associated with the current item within the containing C1MultiDocument.

The value is undetermined if the associated document has not been generated.

MultiDocument

Gets C1MultiDocument collection containing this object.

NestedOutlinesMode

Gets or sets a value specifying how outlines of the document or report represented by the current item will be treated when the outline for the whole multi-document is prepared. This property is ignored if OutlineNode is null.

For details, see the remarks section of the Outlines property.

OutlineNode

Gets or sets the outline node representing the current item in Outlines.

For details, see the remarks section of the Outlines property.

Outlines

Gets the collection of outlines defined on the document or report represented by the current multi-document item.

For details, see the remarks section of the Outlines property.

Owner

Gets the C1MultiDocumentItemCollection collection containing the current object.

PageCount

Gets the total number of pages in the document associated with the current item.

The value is -1 if the associated document has not been generated.

PageNumberingChange

Gets or sets the PageNumberingChange object which is applied to the first page of this C1MultiDocumentItem.

StorageFileName

Gets the name of the disk file used to store the document associated with the current item. If the item is stored in memory, this value is null.

UseGdiPlusTextRendering

Gets the value of the UseGdiPlusTextRendering property of the document or report represented by the current multi-document item. This property is null if no document or report is associated with the current item.

Methods

Name Description
Dispose()

Disposes the current multi-document item.

~C1MultiDocumentItem()

The item descturctor.

GetDocument()

Gets the document represented by the current multi-document item.

SetDocument(object)

Sets the document represented by the current item.

See Also