# GrapeCity.Documents.Imaging.CompositeMode

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Documents_Imaging_CompositeMode" data-uid="GrapeCity.Documents.Imaging.CompositeMode" class="text-break">CompositeMode Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the Porter Duff compositing method in which two pixels (source and destination) may contribute to the final color of the pixel.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Imaging.html">GrapeCity.Documents.Imaging</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Imaging_CompositeMode_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum CompositeMode</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum CompositeMode</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_BoundedCopy">BoundedCopy</td>
        <td><p>The source is copied to the destination, excluding the transparent pixels.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_Clear">Clear</td>
        <td><p>No regions are enabled.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_Copy">Copy</td>
        <td><p>Only the source will be present.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_Destination">Destination</td>
        <td><p>Only the destination will be present.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_DestinationAtop">DestinationAtop</td>
        <td><p>Destination which overlaps the source replaces the source. Source is placed elsewhere.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_DestinationIn">DestinationIn</td>
        <td><p>Destination which overlaps the source, replaces the source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_DestinationOut">DestinationOut</td>
        <td><p>Destination is placed, where it falls outside of the source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_DestinationOver">DestinationOver</td>
        <td><p>Destination is placed over the source.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_Lighter">Lighter</td>
        <td><p>Display the sum of the source image and destination image.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_SourceAtop">SourceAtop</td>
        <td><p>Source which overlaps the destination, replaces the destination. Destination is placed elsewhere.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_SourceIn">SourceIn</td>
        <td><p>The source that overlaps the destination, replaces the destination.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_SourceOut">SourceOut</td>
        <td><p>Source is placed, where it falls outside of the destination.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_SourceOver">SourceOver</td>
        <td><p>Source is placed over the destination.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Imaging_CompositeMode_XOR">XOR</td>
        <td><p>The non-overlapping regions of source and destination are combined.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
