# FarPoint.Win.Spread.SmartPrintRulesCollection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_SmartPrintRulesCollection" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection" class="text-break">SmartPrintRulesCollection Class
</h1>
  <div class="markdown level0 summary"><p>Represents the set of rules that determine how best to print.</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">SmartPrintRulesCollection</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ilist">IList</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.icollection">ICollection</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.ienumerable">IEnumerable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="FarPoint.Win.Spread.html">FarPoint.Win.Spread</a></h6>
  <h6><strong>Assembly</strong>: FarPoint.Win.Spread.dll</h6>
  <h5 id="FarPoint_Win_Spread_SmartPrintRulesCollection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SmartPrintRulesCollection : IList, ICollection, IEnumerable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SmartPrintRulesCollection
    Implements IList, ICollection, IEnumerable</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="FarPoint_Win_Spread_SmartPrintRulesCollection__ctor" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.-ctor.html#FarPoint_Win_Spread_SmartPrintRulesCollection__ctor">SmartPrintRulesCollection()</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new SmartPrintRulesCollection.</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="FarPoint_Win_Spread_SmartPrintRulesCollection_Count" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Count">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Count.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Count">Count</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of rules (SmartPrintRule objects) in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_IsFixedSize" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.IsFixedSize">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.IsFixedSize.html#FarPoint_Win_Spread_SmartPrintRulesCollection_IsFixedSize">IsFixedSize</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the collection has a fixed size.
(This implementation always returns false.)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_IsReadOnly" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.IsReadOnly">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.IsReadOnly.html#FarPoint_Win_Spread_SmartPrintRulesCollection_IsReadOnly">IsReadOnly</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether the collection is read-only.
(This implementation always returns false.)</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_IsSynchronized" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.IsSynchronized">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.IsSynchronized.html#FarPoint_Win_Spread_SmartPrintRulesCollection_IsSynchronized">IsSynchronized</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether access to the collection is synchronized.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Item_System_Int32_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Item(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Item.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the rule (SmartPrintRule object) at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_SyncRoot" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.SyncRoot">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.SyncRoot.html#FarPoint_Win_Spread_SmartPrintRulesCollection_SyncRoot">SyncRoot</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a rule (SmartPrintRule object) to synchronize access to the collection.</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="FarPoint_Win_Spread_SmartPrintRulesCollection_Add_FarPoint_Win_Spread_SmartPrintRule_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Add(FarPoint.Win.Spread.SmartPrintRule)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Add.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Add_FarPoint_Win_Spread_SmartPrintRule_">Add(SmartPrintRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a rule (SmartPrintRule object) to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Add_System_Object_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Add(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Add.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Add_System_Object_">Add(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a rule (SmartPrintRule object) to the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Clear" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Clear">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Clear.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all rules (SmartPrintRule objects) from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Contains_FarPoint_Win_Spread_SmartPrintRule_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Contains(FarPoint.Win.Spread.SmartPrintRule)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Contains.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Contains_FarPoint_Win_Spread_SmartPrintRule_">Contains(SmartPrintRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains the specified rule (SmartPrintRule object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Contains_System_Object_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Contains(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Contains.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Contains_System_Object_">Contains(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the collection contains the specified rule (SmartPrintRule object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_CopyTo_System_Array_System_Int32_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.CopyTo(System.Array,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.CopyTo.html#FarPoint_Win_Spread_SmartPrintRulesCollection_CopyTo_System_Array_System_Int32_">CopyTo(Array, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the rules (SmartPrintRule objects) in the collection to the specified array.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_CopyTo_System_Collections_ArrayList_System_Int32_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.CopyTo(System.Collections.ArrayList,System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.CopyTo.html#FarPoint_Win_Spread_SmartPrintRulesCollection_CopyTo_System_Collections_ArrayList_System_Int32_">CopyTo(ArrayList, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies the rules (SmartPrintRule objects) in the collection to the specified array list.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_GetEnumerator" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.GetEnumerator">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.GetEnumerator.html#FarPoint_Win_Spread_SmartPrintRulesCollection_GetEnumerator">GetEnumerator()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an IEnumerator object for enumerating through the rules (SmartPrintRule objects) in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_IndexOf_FarPoint_Win_Spread_SmartPrintRule_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.IndexOf(FarPoint.Win.Spread.SmartPrintRule)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.IndexOf.html#FarPoint_Win_Spread_SmartPrintRulesCollection_IndexOf_FarPoint_Win_Spread_SmartPrintRule_">IndexOf(SmartPrintRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified rule (SmartPrintRule object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_IndexOf_System_Object_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.IndexOf(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.IndexOf.html#FarPoint_Win_Spread_SmartPrintRulesCollection_IndexOf_System_Object_">IndexOf(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the index of the specified rule (SmartPrintRule object).</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Insert_System_Int32_FarPoint_Win_Spread_SmartPrintRule_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Insert(System.Int32,FarPoint.Win.Spread.SmartPrintRule)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Insert.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Insert_System_Int32_FarPoint_Win_Spread_SmartPrintRule_">Insert(int, SmartPrintRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a rule (SmartPrintRule object) into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Insert_System_Int32_System_Object_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Insert(System.Int32,System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Insert.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Insert_System_Int32_System_Object_">Insert(int, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Inserts a rule (SmartPrintRule object) into the collection at the specified index.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Remove_FarPoint_Win_Spread_SmartPrintRule_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Remove(FarPoint.Win.Spread.SmartPrintRule)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Remove.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Remove_FarPoint_Win_Spread_SmartPrintRule_">Remove(SmartPrintRule)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified rule (SmartPrintRule object) from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_Remove_System_Object_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.Remove(System.Object)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.Remove.html#FarPoint_Win_Spread_SmartPrintRulesCollection_Remove_System_Object_">Remove(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the specified rule (SmartPrintRule object) from the collection.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_SmartPrintRulesCollection_RemoveAt_System_Int32_" data-uid="FarPoint.Win.Spread.SmartPrintRulesCollection.RemoveAt(System.Int32)">
          <a class="xref" href="FarPoint.Win.Spread.SmartPrintRulesCollection.RemoveAt.html#FarPoint_Win_Spread_SmartPrintRulesCollection_RemoveAt_System_Int32_">RemoveAt(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes a rule (SmartPrintRule object) from the collection at the specified index.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
