# GrapeCity.Documents.Svg.SvgViewBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Svg_SvgViewBox" data-uid="GrapeCity.Documents.Svg.SvgViewBox" class="text-break">SvgViewBox Struct
</h1>
  <div class="markdown level0 summary"><p>Represents a rectangle in user space that should be mapped to the bounds of the SVG viewport established by the given element.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.html">SvgViewBox</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Svg.html">GrapeCity.Documents.Svg</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Imaging.dll</h6>
  <h5 id="GrapeCity_Documents_Svg_SvgViewBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct SvgViewBox : IEquatable&lt;SvgViewBox&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure SvgViewBox
    Implements IEquatable(Of SvgViewBox)</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="GrapeCity_Documents_Svg_SvgViewBox__ctor_System_Drawing_RectangleF_" data-uid="GrapeCity.Documents.Svg.SvgViewBox.#ctor(System.Drawing.RectangleF)">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.-ctor.html#GrapeCity_Documents_Svg_SvgViewBox__ctor_System_Drawing_RectangleF_">SvgViewBox(RectangleF)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.html">SvgViewBox</a> struct from a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox__ctor_System_Single_System_Single_System_Single_System_Single_" data-uid="GrapeCity.Documents.Svg.SvgViewBox.#ctor(System.Single,System.Single,System.Single,System.Single)">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.-ctor.html#GrapeCity_Documents_Svg_SvgViewBox__ctor_System_Single_System_Single_System_Single_System_Single_">SvgViewBox(float, float, float, float)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.html">SvgViewBox</a> struct.</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="GrapeCity_Documents_Svg_SvgViewBox_Height" data-uid="GrapeCity.Documents.Svg.SvgViewBox.Height">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.Height.html#GrapeCity_Documents_Svg_SvgViewBox_Height">Height</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the height of the viewport.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_MinX" data-uid="GrapeCity.Documents.Svg.SvgViewBox.MinX">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.MinX.html#GrapeCity_Documents_Svg_SvgViewBox_MinX">MinX</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position where the viewport starts horizontally.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_MinY" data-uid="GrapeCity.Documents.Svg.SvgViewBox.MinY">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.MinY.html#GrapeCity_Documents_Svg_SvgViewBox_MinY">MinY</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the position where the viewport starts vertically.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_Width" data-uid="GrapeCity.Documents.Svg.SvgViewBox.Width">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.Width.html#GrapeCity_Documents_Svg_SvgViewBox_Width">Width</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the width of the viewport.</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_Documents_Svg_SvgViewBox_Equals_GrapeCity_Documents_Svg_SvgViewBox_" data-uid="GrapeCity.Documents.Svg.SvgViewBox.Equals(GrapeCity.Documents.Svg.SvgViewBox)">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.Equals.html#GrapeCity_Documents_Svg_SvgViewBox_Equals_GrapeCity_Documents_Svg_SvgViewBox_">Equals(SvgViewBox)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.html">SvgViewBox</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_Equals_System_Object_" data-uid="GrapeCity.Documents.Svg.SvgViewBox.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.Equals.html#GrapeCity_Documents_Svg_SvgViewBox_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified object is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_GetHashCode" data-uid="GrapeCity.Documents.Svg.SvgViewBox.GetHashCode">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.GetHashCode.html#GrapeCity_Documents_Svg_SvgViewBox_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this struct.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_ToRectangleF" data-uid="GrapeCity.Documents.Svg.SvgViewBox.ToRectangleF">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.ToRectangleF.html#GrapeCity_Documents_Svg_SvgViewBox_ToRectangleF">ToRectangleF()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.drawing.rectanglef">RectangleF</a> corresponding to the current <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.html">SvgViewBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Svg_SvgViewBox_ToString" data-uid="GrapeCity.Documents.Svg.SvgViewBox.ToString">
          <a class="xref" href="GrapeCity.Documents.Svg.SvgViewBox.ToString.html#GrapeCity_Documents_Svg_SvgViewBox_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current struct.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
