# C1.Win.GanttView.Printing.PrintStyle

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_GanttView_Printing_PrintStyle" data-uid="C1.Win.GanttView.Printing.PrintStyle" class="text-break">PrintStyle Class
</h1>
  <div class="markdown level0 summary"><p>The <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.html">PrintStyle</a> class represents the single printing style for a GanttView control.</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">PrintStyle</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.GanttView.Printing.html">C1.Win.GanttView.Printing</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.GanttView.10.dll</h6>
  <h5 id="C1_Win_GanttView_Printing_PrintStyle_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class PrintStyle</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class PrintStyle</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_Win_GanttView_Printing_PrintStyle__ctor" data-uid="C1.Win.GanttView.Printing.PrintStyle.#ctor">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.-ctor.html#C1_Win_GanttView_Printing_PrintStyle__ctor">PrintStyle()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.html">PrintStyle</a> object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Printing_PrintStyle__ctor_System_String_" data-uid="C1.Win.GanttView.Printing.PrintStyle.#ctor(System.String)">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.-ctor.html#C1_Win_GanttView_Printing_PrintStyle__ctor_System_String_">PrintStyle(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes the new <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.html">PrintStyle</a> object with initial <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.StyleSource.html#C1_Win_GanttView_Printing_PrintStyle_StyleSource">StyleSource</a>.</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_Win_GanttView_Printing_PrintStyle_DocumentFormat" data-uid="C1.Win.GanttView.Printing.PrintStyle.DocumentFormat">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.DocumentFormat.html#C1_Win_GanttView_Printing_PrintStyle_DocumentFormat">DocumentFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a> value determining the format of source document.
Returns 0 for .c1d and 1 for .c1dx documents.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Printing_PrintStyle_PreviewImage" data-uid="C1.Win.GanttView.Printing.PrintStyle.PreviewImage">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.PreviewImage.html#C1_Win_GanttView_Printing_PrintStyle_PreviewImage">PreviewImage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.image">Image</a> object, representing a small preview of the style
which can be used for displaying style information in UI.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Printing_PrintStyle_StyleName" data-uid="C1.Win.GanttView.Printing.PrintStyle.StyleName">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.StyleName.html#C1_Win_GanttView_Printing_PrintStyle_StyleName">StyleName</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value, determining style display name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_GanttView_Printing_PrintStyle_StyleSource" data-uid="C1.Win.GanttView.Printing.PrintStyle.StyleSource">
          <a class="xref" href="C1.Win.GanttView.Printing.PrintStyle.StyleSource.html#C1_Win_GanttView_Printing_PrintStyle_StyleSource">StyleSource</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value determining the source of
C1PrintDocument template. It might be the name of .c1d or .c1dx file or
the name of resource.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
