# C1.C1Preview.ActionHandlerFileOpen

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_C1Preview_ActionHandlerFileOpen" data-uid="C1.C1Preview.ActionHandlerFileOpen" class="text-break">ActionHandlerFileOpen Class
</h1>
  <div class="markdown level0 summary"><p>Represents an action handler that loads a document (in C1DX or C1D formats) from a disk file.</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"><a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a></div>
    <div class="level2"><a class="xref" href="C1.C1Preview.ActionHandlerFile.html">ActionHandlerFile</a></div>
    <div class="level3"><span class="xref">ActionHandlerFileOpen</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.C1Preview.html">C1.C1Preview</a></h6>
  <h6><strong>Assembly</strong>: C1.PrintDocument.10.dll</h6>
  <h5 id="C1_C1Preview_ActionHandlerFileOpen_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ActionHandlerFileOpen : ActionHandlerFile</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ActionHandlerFileOpen
    Inherits ActionHandlerFile</code></pre>
  </div>
  <h5 id="C1_C1Preview_ActionHandlerFileOpen_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>If the <a class="xref" href="C1.C1Preview.ActionHandlerFile.FileName.html#C1_C1Preview_ActionHandlerFile_FileName">FileName</a> is not specified when this action handler
is invoked, a file open dialog is shown to the user.</p>
<p>
For details on the use of action handlers, see <a class="xref" href="C1.C1Preview.ActionHandlerBase.html">ActionHandlerBase</a>.
</p>
</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_ActionHandlerFileOpen__ctor" data-uid="C1.C1Preview.ActionHandlerFileOpen.#ctor">
          <a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.-ctor.html#C1_C1Preview_ActionHandlerFileOpen__ctor">ActionHandlerFileOpen()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.html">ActionHandlerFileOpen</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_C1Preview_ActionHandlerFileOpen__ctor_System_String_" data-uid="C1.C1Preview.ActionHandlerFileOpen.#ctor(System.String)">
          <a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.-ctor.html#C1_C1Preview_ActionHandlerFileOpen__ctor_System_String_">ActionHandlerFileOpen(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.C1Preview.ActionHandlerFileOpen.html">ActionHandlerFileOpen</a> class,
assigning the <a class="xref" href="C1.C1Preview.ActionHandlerFile.FileName.html#C1_C1Preview_ActionHandlerFile_FileName">FileName</a> property.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="seealso">See Also</h3>
  <div class="seealso">
      <div><a class="xref" href="C1.C1Preview.ActionHandlerFile.html">ActionHandlerFile</a></div>
      <div><a class="xref" href="C1.C1Preview.ActionHandlerFileSave.html">ActionHandlerFileSave</a></div>
  </div>

</div>
