# C1.C1Preview.C1MultiDocumentItem

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_C1MultiDocumentItem" data-uid="C1.C1Preview.C1MultiDocumentItem" class="text-break">C1MultiDocumentItem Class
</h1>
  <div class="markdown level0 summary"><p>Represents an item (individual document or report) in a <a class="xref" href="C1.C1Preview.C1MultiDocument.html">C1MultiDocument</a>.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">C1MultiDocumentItem</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.WPF.PrintDocument.4.6.2.dll</h6>
  <h5 id="C1_C1Preview_C1MultiDocumentItem_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[C1ClassSerialization(true)]
public class C1MultiDocumentItem : IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;C1ClassSerialization(True)&gt;
Public Class C1MultiDocumentItem
    Implements IDisposable</code></pre>
  </div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem__ctor" data-uid="C1.C1Preview.C1MultiDocumentItem.#ctor">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.-ctor.html#C1_C1Preview_C1MultiDocumentItem__ctor">C1MultiDocumentItem()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.html">C1MultiDocumentItem</a> type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_ColorizeHyperlinks" data-uid="C1.C1Preview.C1MultiDocumentItem.ColorizeHyperlinks">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.ColorizeHyperlinks.html#C1_C1Preview_C1MultiDocumentItem_ColorizeHyperlinks">ColorizeHyperlinks</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the <b>ColorizeHyperlinks</b> property of the C1.C1Report.C1Report
represented by the current multi-document item.
This property is <b>null</b> the current item does not represent a <b>C1Report</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_EmfType" data-uid="C1.C1Preview.C1MultiDocumentItem.EmfType">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.EmfType.html#C1_C1Preview_C1MultiDocumentItem_EmfType">EmfType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the <b>EmfType</b> property of the document or report
represented by the current multi-document item.
This property is <b>null</b> if no document or report is associated
with the current item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_FileNames" data-uid="C1.C1Preview.C1MultiDocumentItem.FileNames">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.FileNames.html#C1_C1Preview_C1MultiDocumentItem_FileNames">FileNames</a>
        </td>
        <td class="markdown level1 summary"><p>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 <b>null</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_FirstPageIndex" data-uid="C1.C1Preview.C1MultiDocumentItem.FirstPageIndex">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.FirstPageIndex.html#C1_C1Preview_C1MultiDocumentItem_FirstPageIndex">FirstPageIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 0-based index of the first page of the document associated
with the current item within the containing <a class="xref" href="C1.C1Preview.C1MultiDocument.html">C1MultiDocument</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_Index" data-uid="C1.C1Preview.C1MultiDocumentItem.Index">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.Index.html#C1_C1Preview_C1MultiDocumentItem_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the current item in the containing collection.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_IsEmpty" data-uid="C1.C1Preview.C1MultiDocumentItem.IsEmpty">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.IsEmpty.html#C1_C1Preview_C1MultiDocumentItem_IsEmpty">IsEmpty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current item is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_LastPageIndex" data-uid="C1.C1Preview.C1MultiDocumentItem.LastPageIndex">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.LastPageIndex.html#C1_C1Preview_C1MultiDocumentItem_LastPageIndex">LastPageIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the 0-based index of the last page of the document associated
with the current item within the containing <a class="xref" href="C1.C1Preview.C1MultiDocument.html">C1MultiDocument</a>.</p>
<p>
The value is undetermined if the associated document has not been generated.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_MultiDocument" data-uid="C1.C1Preview.C1MultiDocumentItem.MultiDocument">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.MultiDocument.html#C1_C1Preview_C1MultiDocumentItem_MultiDocument">MultiDocument</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.C1Preview.C1MultiDocument.html">C1MultiDocument</a> collection containing this object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_NestedOutlinesMode" data-uid="C1.C1Preview.C1MultiDocumentItem.NestedOutlinesMode">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.NestedOutlinesMode.html#C1_C1Preview_C1MultiDocumentItem_NestedOutlinesMode">NestedOutlinesMode</a>
        </td>
        <td class="markdown level1 summary"><p>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 <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.OutlineNode.html#C1_C1Preview_C1MultiDocumentItem_OutlineNode">OutlineNode</a> is <b>null</b>.</p>
<p>
For details, see the remarks section of the <a class="xref" href="C1.C1Preview.C1MultiDocument.Outlines.html#C1_C1Preview_C1MultiDocument_Outlines">Outlines</a> property.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_OutlineNode" data-uid="C1.C1Preview.C1MultiDocumentItem.OutlineNode">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.OutlineNode.html#C1_C1Preview_C1MultiDocumentItem_OutlineNode">OutlineNode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the outline node representing the current item in <a class="xref" href="C1.C1Preview.C1MultiDocument.Outlines.html#C1_C1Preview_C1MultiDocument_Outlines">Outlines</a>.</p>
<p>
For details, see the remarks section of the <a class="xref" href="C1.C1Preview.C1MultiDocument.Outlines.html#C1_C1Preview_C1MultiDocument_Outlines">Outlines</a> property.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_Outlines" data-uid="C1.C1Preview.C1MultiDocumentItem.Outlines">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.Outlines.html#C1_C1Preview_C1MultiDocumentItem_Outlines">Outlines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the collection of outlines defined on the document or report
represented by the current multi-document item.</p>
<p>
For details, see the remarks section of the <a class="xref" href="C1.C1Preview.C1MultiDocument.Outlines.html#C1_C1Preview_C1MultiDocument_Outlines">Outlines</a> property.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_Owner" data-uid="C1.C1Preview.C1MultiDocumentItem.Owner">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.Owner.html#C1_C1Preview_C1MultiDocumentItem_Owner">Owner</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="C1.C1Preview.C1MultiDocumentItemCollection.html">C1MultiDocumentItemCollection</a> collection containing the current object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_PageCount" data-uid="C1.C1Preview.C1MultiDocumentItem.PageCount">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.PageCount.html#C1_C1Preview_C1MultiDocumentItem_PageCount">PageCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the total number of pages in the document associated
with the current item.</p>
<p>
The value is <b>-1</b> if the associated document has not been generated.
</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_PageNumberingChange" data-uid="C1.C1Preview.C1MultiDocumentItem.PageNumberingChange">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.PageNumberingChange.html#C1_C1Preview_C1MultiDocumentItem_PageNumberingChange">PageNumberingChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.PageNumberingChange.html#C1_C1Preview_C1MultiDocumentItem_PageNumberingChange">PageNumberingChange</a> object which is
applied to the first page of this <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.html">C1MultiDocumentItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_StorageFileName" data-uid="C1.C1Preview.C1MultiDocumentItem.StorageFileName">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.StorageFileName.html#C1_C1Preview_C1MultiDocumentItem_StorageFileName">StorageFileName</a>
        </td>
        <td class="markdown level1 summary"><p>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 <b>null</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_UseGdiPlusTextRendering" data-uid="C1.C1Preview.C1MultiDocumentItem.UseGdiPlusTextRendering">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.UseGdiPlusTextRendering.html#C1_C1Preview_C1MultiDocumentItem_UseGdiPlusTextRendering">UseGdiPlusTextRendering</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value of the <b>UseGdiPlusTextRendering</b> property of the document or report
represented by the current multi-document item.
This property is <b>null</b> if no document or report is associated
with the current item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_Dispose" data-uid="C1.C1Preview.C1MultiDocumentItem.Dispose">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.Dispose.html#C1_C1Preview_C1MultiDocumentItem_Dispose">Dispose()</a>
        </td>
        <td class="markdown level1 summary"><p>Disposes the current multi-document item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_Finalize" data-uid="C1.C1Preview.C1MultiDocumentItem.Finalize">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.Finalize.html#C1_C1Preview_C1MultiDocumentItem_Finalize">~C1MultiDocumentItem()</a>
        </td>
        <td class="markdown level1 summary"><p>The item descturctor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_GetDocument" data-uid="C1.C1Preview.C1MultiDocumentItem.GetDocument">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.GetDocument.html#C1_C1Preview_C1MultiDocumentItem_GetDocument">GetDocument()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the document represented by the current multi-document item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_C1MultiDocumentItem_SetDocument_System_Object_" data-uid="C1.C1Preview.C1MultiDocumentItem.SetDocument(System.Object)">
          <a class="xref" href="C1.C1Preview.C1MultiDocumentItem.SetDocument.html#C1_C1Preview_C1MultiDocumentItem_SetDocument_System_Object_">SetDocument(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the document represented by the current item.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.C1MultiDocumentItemCollection.html">C1MultiDocumentItemCollection</a></div>
  </div>

</div>
