# FarPoint.Win.Spread.ZoomStatusBarElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="FarPoint_Win_Spread_ZoomStatusBarElement" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement" class="text-break">ZoomStatusBarElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents the status bar element that displays the zoom level.</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="FarPoint.Win.Spread.FpBaseStatusBarElement.html">FpBaseStatusBarElement</a></div>
    <div class="level2"><span class="xref">ZoomStatusBarElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="FarPoint.Win.Spread.IFpStatusBarElement.html">IFpStatusBarElement</a></div>
    <div><a class="xref" href="../FarPoint.Win/FarPoint.Win.ISerializeSupport.html">ISerializeSupport</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_ZoomStatusBarElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(ZoomStatusBarElement._a))]
public class ZoomStatusBarElement : FpBaseStatusBarElement, IFpStatusBarElement, ISerializeSupport</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(ZoomStatusBarElement._a))&gt;
Public Class ZoomStatusBarElement
    Inherits FpBaseStatusBarElement
    Implements IFpStatusBarElement, ISerializeSupport</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_ZoomStatusBarElement__ctor" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.#ctor">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.-ctor.html#FarPoint_Win_Spread_ZoomStatusBarElement__ctor">ZoomStatusBarElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Instantiate a new ZoomStatusBarElement object.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement__ctor_System_Boolean_FarPoint_Win_Spread_ElementAlign_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.#ctor(System.Boolean,FarPoint.Win.Spread.ElementAlign)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.-ctor.html#FarPoint_Win_Spread_ZoomStatusBarElement__ctor_System_Boolean_FarPoint_Win_Spread_ElementAlign_">ZoomStatusBarElement(bool, ElementAlign)</a>
        </td>
        <td class="markdown level1 summary"><p>Instantiate a new ZoomStatusBarElement object.</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_ZoomStatusBarElement_ActiveSheetChangeHandler_System_Object_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.ActiveSheetChangeHandler(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.ActiveSheetChangeHandler.html#FarPoint_Win_Spread_ZoomStatusBarElement_ActiveSheetChangeHandler_System_Object_System_EventArgs_">ActiveSheetChangeHandler(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the active sheet changed event.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_CalculateValue" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.CalculateValue">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.CalculateValue.html#FarPoint_Win_Spread_ZoomStatusBarElement_CalculateValue">CalculateValue()</a>
        </td>
        <td class="markdown level1 summary"><p>Calculate value of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.Dopaint(System.Drawing.Graphics,System.Drawing.Rectangle)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.Dopaint.html#FarPoint_Win_Spread_ZoomStatusBarElement_Dopaint_System_Drawing_Graphics_System_Drawing_Rectangle_">Dopaint(Graphics, Rectangle)</a>
        </td>
        <td class="markdown level1 summary"><p>Paints element to the graphics object using the rectangle.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_GetPreferedWidth" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.GetPreferedWidth">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.GetPreferedWidth.html#FarPoint_Win_Spread_ZoomStatusBarElement_GetPreferedWidth">GetPreferedWidth()</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the preferred width of the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_GetTextTip_System_Drawing_Point_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.GetTextTip(System.Drawing.Point)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.GetTextTip.html#FarPoint_Win_Spread_ZoomStatusBarElement_GetTextTip_System_Drawing_Point_">GetTextTip(Point)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the element text tip.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnAttachSpreadContext" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnAttachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnAttachSpreadContext.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnAttachSpreadContext">OnAttachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls this function when attaching the spread context to the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnDetachSpreadContext" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnDetachSpreadContext">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnDetachSpreadContext.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnDetachSpreadContext">OnDetachSpreadContext()</a>
        </td>
        <td class="markdown level1 summary"><p>Calls this function when detaching the spread context from the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseDown_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseDown(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseDown.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseDown_System_Windows_Forms_MouseEventArgs_">OnMouseDown(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse down event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseLeave_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseLeave(System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseLeave.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseLeave_System_EventArgs_">OnMouseLeave(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse leave event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseMove(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseMove.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseMove_System_Windows_Forms_MouseEventArgs_">OnMouseMove(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse move event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseUp_System_Windows_Forms_MouseEventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseUp(System.Windows.Forms.MouseEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.OnMouseUp.html#FarPoint_Win_Spread_ZoomStatusBarElement_OnMouseUp_System_Windows_Forms_MouseEventArgs_">OnMouseUp(MouseEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Processes the mouse up event for the element.</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_SheetViewEndInitHandler_System_Object_System_EventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.SheetViewEndInitHandler(System.Object,System.EventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.SheetViewEndInitHandler.html#FarPoint_Win_Spread_ZoomStatusBarElement_SheetViewEndInitHandler_System_Object_System_EventArgs_">SheetViewEndInitHandler(object, EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Sheet view end init handler</p>
</td>
      </tr>
      <tr>
        <td id="FarPoint_Win_Spread_ZoomStatusBarElement_ZoomChanged_System_Object_FarPoint_Win_Spread_SheetViewPropertyChangeEventArgs_" data-uid="FarPoint.Win.Spread.ZoomStatusBarElement.ZoomChanged(System.Object,FarPoint.Win.Spread.SheetViewPropertyChangeEventArgs)">
          <a class="xref" href="FarPoint.Win.Spread.ZoomStatusBarElement.ZoomChanged.html#FarPoint_Win_Spread_ZoomStatusBarElement_ZoomChanged_System_Object_FarPoint_Win_Spread_SheetViewPropertyChangeEventArgs_">ZoomChanged(object, SheetViewPropertyChangeEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Handles the zoom changed event.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
