# GrapeCity.SpreadBuilder.DDSheet

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_SpreadBuilder_DDSheet" data-uid="GrapeCity.SpreadBuilder.DDSheet" class="text-break">DDSheet Class
</h1>
  <div class="markdown level0 summary"><p>Represents a WorkSheet.</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">DDSheet</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.SpreadBuilder.html">GrapeCity.SpreadBuilder</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.SpreadBuilder.dll</h6>
  <h5 id="GrapeCity_SpreadBuilder_DDSheet_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class DDSheet</code></pre>
  </div>
  <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="GrapeCity_SpreadBuilder_DDSheet_ColumnsCount" data-uid="GrapeCity.SpreadBuilder.DDSheet.ColumnsCount">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.ColumnsCount.html#GrapeCity_SpreadBuilder_DDSheet_ColumnsCount">ColumnsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Get columns count.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_DisplayGridLines" data-uid="GrapeCity.SpreadBuilder.DDSheet.DisplayGridLines">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.DisplayGridLines.html#GrapeCity_SpreadBuilder_DDSheet_DisplayGridLines">DisplayGridLines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the flag indicating whether gridlines are displayed in the sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_HasMergeAreas" data-uid="GrapeCity.SpreadBuilder.DDSheet.HasMergeAreas">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.HasMergeAreas.html#GrapeCity_SpreadBuilder_DDSheet_HasMergeAreas">HasMergeAreas</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether or not this sheet has merged areas</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_ImagesCount" data-uid="GrapeCity.SpreadBuilder.DDSheet.ImagesCount">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.ImagesCount.html#GrapeCity_SpreadBuilder_DDSheet_ImagesCount">ImagesCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of images.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Name" data-uid="GrapeCity.SpreadBuilder.DDSheet.Name">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Name.html#GrapeCity_SpreadBuilder_DDSheet_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of this DDSheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_PageBreaksHorizontal" data-uid="GrapeCity.SpreadBuilder.DDSheet.PageBreaksHorizontal">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.PageBreaksHorizontal.html#GrapeCity_SpreadBuilder_DDSheet_PageBreaksHorizontal">PageBreaksHorizontal</a>
        </td>
        <td class="markdown level1 summary"><p>Gets collection of horizontal page breaks.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_PageBreaksVertical" data-uid="GrapeCity.SpreadBuilder.DDSheet.PageBreaksVertical">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.PageBreaksVertical.html#GrapeCity_SpreadBuilder_DDSheet_PageBreaksVertical">PageBreaksVertical</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of vertical page breaks.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_PageSetup" data-uid="GrapeCity.SpreadBuilder.DDSheet.PageSetup">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.PageSetup.html#GrapeCity_SpreadBuilder_DDSheet_PageSetup">PageSetup</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a <a class="xref" href="GrapeCity.SpreadBuilder.Printing.PageSetup.html">PageSetup</a> class that represents current information about this sheet when it is printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_ParentSheets" data-uid="GrapeCity.SpreadBuilder.DDSheet.ParentSheets">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.ParentSheets.html#GrapeCity_SpreadBuilder_DDSheet_ParentSheets">ParentSheets</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.SpreadBuilder.DDSheets.html">DDSheets</a> collection that this DDSheet is a member of.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_RowsCount" data-uid="GrapeCity.SpreadBuilder.DDSheet.RowsCount">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.RowsCount.html#GrapeCity_SpreadBuilder_DDSheet_RowsCount">RowsCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets rows count.</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="GrapeCity_SpreadBuilder_DDSheet_AddHorizontalPageBreak_System_UInt16_System_UInt16_System_UInt16_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddHorizontalPageBreak(System.UInt16,System.UInt16,System.UInt16)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.AddHorizontalPageBreak.html#GrapeCity_SpreadBuilder_DDSheet_AddHorizontalPageBreak_System_UInt16_System_UInt16_System_UInt16_">AddHorizontalPageBreak(ushort, ushort, ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a horizontal page break to the sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_AddImage_System_Byte___GrapeCity_SpreadBuilder_Imaging_ImageInfo_System_Drawing_Color_System_Drawing_Color_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_System_String_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddImage(System.Byte[],GrapeCity.SpreadBuilder.Imaging.ImageInfo,System.Drawing.Color,System.Drawing.Color,System.Int32,System.Int16,System.Int32,System.Int16,System.Int32,System.Int16,System.Int32,System.Int16,System.String)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.AddImage.html#GrapeCity_SpreadBuilder_DDSheet_AddImage_System_Byte___GrapeCity_SpreadBuilder_Imaging_ImageInfo_System_Drawing_Color_System_Drawing_Color_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_System_Int32_System_Int16_System_String_">AddImage(byte[], ImageInfo, Color, Color, int, short, int, short, int, short, int, short, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds the specified image (currently saved as PNG) to this sheet at the specified location and with the specified settings.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_AddLine_GrapeCity_SpreadBuilder_Imaging_LineInfo_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddLine(GrapeCity.SpreadBuilder.Imaging.LineInfo)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.AddLine.html#GrapeCity_SpreadBuilder_DDSheet_AddLine_GrapeCity_SpreadBuilder_Imaging_LineInfo_">AddLine(LineInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a line with specified coordinates and properties.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_System_UInt16_System_UInt16_System_UInt16_" data-uid="GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak(System.UInt16,System.UInt16,System.UInt16)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.AddVerticalPageBreak.html#GrapeCity_SpreadBuilder_DDSheet_AddVerticalPageBreak_System_UInt16_System_UInt16_System_UInt16_">AddVerticalPageBreak(ushort, ushort, ushort)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds a vertical page break to the sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Cell_System_Int32_System_Int32_" data-uid="GrapeCity.SpreadBuilder.DDSheet.Cell(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Cell.html#GrapeCity_SpreadBuilder_DDSheet_Cell_System_Int32_System_Int32_">Cell(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the DDCell object located in the specified row and column.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Cells_GrapeCity_SpreadBuilder_Cells_DDCell_GrapeCity_SpreadBuilder_Cells_DDCell_" data-uid="GrapeCity.SpreadBuilder.DDSheet.Cells(GrapeCity.SpreadBuilder.Cells.DDCell,GrapeCity.SpreadBuilder.Cells.DDCell)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Cells.html#GrapeCity_SpreadBuilder_DDSheet_Cells_GrapeCity_SpreadBuilder_Cells_DDCell_GrapeCity_SpreadBuilder_Cells_DDCell_">Cells(DDCell, DDCell)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the collection of DDCells between the specified DDCells.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Clear" data-uid="GrapeCity.SpreadBuilder.DDSheet.Clear">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Clear.html#GrapeCity_SpreadBuilder_DDSheet_Clear">Clear()</a>
        </td>
        <td class="markdown level1 summary"><p>Deletes all properties and content, effectively creating a blank sheet.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Columns_System_Int16_" data-uid="GrapeCity.SpreadBuilder.DDSheet.Columns(System.Int16)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Columns.html#GrapeCity_SpreadBuilder_DDSheet_Columns_System_Int16_">Columns(short)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the DDColumn object that represents the specified column.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_FixImageOffset_System_Boolean_" data-uid="GrapeCity.SpreadBuilder.DDSheet.FixImageOffset(System.Boolean)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.FixImageOffset.html#GrapeCity_SpreadBuilder_DDSheet_FixImageOffset_System_Boolean_">FixImageOffset(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Adjusts the position of images in the sheet to ensure they align correctly with cell boundaries.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_IsMerged_System_Int32_System_Int32_" data-uid="GrapeCity.SpreadBuilder.DDSheet.IsMerged(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.IsMerged.html#GrapeCity_SpreadBuilder_DDSheet_IsMerged_System_Int32_System_Int32_">IsMerged(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets whether a cell at specified coordinates is merged, or not.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_Rows_System_Int32_" data-uid="GrapeCity.SpreadBuilder.DDSheet.Rows(System.Int32)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.Rows.html#GrapeCity_SpreadBuilder_DDSheet_Rows_System_Int32_">Rows(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a DDRow instance for the specified row number.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_SetColumnWidth_System_Int16_System_Single_" data-uid="GrapeCity.SpreadBuilder.DDSheet.SetColumnWidth(System.Int16,System.Single)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.SetColumnWidth.html#GrapeCity_SpreadBuilder_DDSheet_SetColumnWidth_System_Int16_System_Single_">SetColumnWidth(short, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the column width on the BiffRow object that represents the specified row number.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_SetRowAutoSize_System_Int32_System_Boolean_" data-uid="GrapeCity.SpreadBuilder.DDSheet.SetRowAutoSize(System.Int32,System.Boolean)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.SetRowAutoSize.html#GrapeCity_SpreadBuilder_DDSheet_SetRowAutoSize_System_Int32_System_Boolean_">SetRowAutoSize(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the AutoSize property for the row.<br>
If the value is false, the height of the row may differ from the height of the font.<br>
If the value is true, the height of the row is based directly on the size of the text in the row.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_SetRowHeight_System_Int32_System_Int16_" data-uid="GrapeCity.SpreadBuilder.DDSheet.SetRowHeight(System.Int32,System.Int16)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.SetRowHeight.html#GrapeCity_SpreadBuilder_DDSheet_SetRowHeight_System_Int32_System_Int16_">SetRowHeight(int, short)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the row height on the BiffRow object that represents the specified row number.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_SpreadBuilder_DDSheet_UnMergeCells_System_Int32_System_Int32_" data-uid="GrapeCity.SpreadBuilder.DDSheet.UnMergeCells(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.SpreadBuilder.DDSheet.UnMergeCells.html#GrapeCity_SpreadBuilder_DDSheet_UnMergeCells_System_Int32_System_Int32_">UnMergeCells(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes the MergeArea containing the cell at the specified coordinates from the MergedAreas record for this sheet.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
