# C1.Document.Utils

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Document_Utils" data-uid="C1.Document.Utils" class="text-break">Utils Class
</h1>
  <div class="markdown level0 summary"><p>Contains common functions.</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">Utils</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Document.html">C1.Document</a></h6>
  <h6><strong>Assembly</strong>: C1.Document.dll</h6>
  <h5 id="C1_Document_Utils_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static class Utils</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Module Utils</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Document_Utils_IImageFromObjectProc" data-uid="C1.Document.Utils.IImageFromObjectProc">
          <a class="xref" href="C1.Document.Utils.IImageFromObjectProc.html">IImageFromObjectProc</a>
        </td>
        <td class="markdown level1 summary"><p>Delegate to create an <span class="xref">GrapeCity.Documents.Drawing.IImage</span> instance from an object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ZeroPoint" data-uid="C1.Document.Utils.ZeroPoint">
          <a class="xref" href="C1.Document.Utils.ZeroPoint.html">ZeroPoint</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ZeroRect" data-uid="C1.Document.Utils.ZeroRect">
          <a class="xref" href="C1.Document.Utils.ZeroRect.html">ZeroRect</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ZeroSize" data-uid="C1.Document.Utils.ZeroSize">
          <a class="xref" href="C1.Document.Utils.ZeroSize.html">ZeroSize</a>
        </td>
        <td class="markdown level1 summary"></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="C1_Document_Utils_AreObjectArraysEqual_System_Object___System_Object___" data-uid="C1.Document.Utils.AreObjectArraysEqual(System.Object[],System.Object[])">
          <a class="xref" href="C1.Document.Utils.AreObjectArraysEqual.html#C1_Document_Utils_AreObjectArraysEqual_System_Object___System_Object___">AreObjectArraysEqual(object[], object[])</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two object arrays using <a class="xref" href="C1.Document.Utils.AreObjectsEqual.html#C1_Document_Utils_AreObjectsEqual_System_Object_System_Object_">AreObjectsEqual(object, object)</a> method,
returns <b>true</b> if arrays have same size and contains same objects.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_AreObjectsEqual_System_Object_System_Object_" data-uid="C1.Document.Utils.AreObjectsEqual(System.Object,System.Object)">
          <a class="xref" href="C1.Document.Utils.AreObjectsEqual.html#C1_Document_Utils_AreObjectsEqual_System_Object_System_Object_">AreObjectsEqual(object, object)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two objects using Equals() methods, returns <b>true</b> if both objects are null.
Null and System.DBNull interpretted as same values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_AsNumber_System_Object_" data-uid="C1.Document.Utils.AsNumber(System.Object)">
          <a class="xref" href="C1.Document.Utils.AsNumber.html#C1_Document_Utils_AsNumber_System_Object_">AsNumber(object)</a>
        </td>
        <td class="markdown level1 summary"><p>For internal use.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_Assign__1_System_Object___0___0__" data-uid="C1.Document.Utils.Assign``1(System.Object,``0,``0@)">
          <a class="xref" href="C1.Document.Utils.Assign.html#C1_Document_Utils_Assign__1_System_Object___0___0__">Assign&lt;T&gt;(object, T, ref T)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns all from another object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_Assign__1___0___0__" data-uid="C1.Document.Utils.Assign``1(``0,``0@)">
          <a class="xref" href="C1.Document.Utils.Assign.html#C1_Document_Utils_Assign__1___0___0__">Assign&lt;T&gt;(T, ref T)</a>
        </td>
        <td class="markdown level1 summary"><p>Assigns all from another object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_BarCodeEnumToCodeType_C1_Document_BarCodeEnum_" data-uid="C1.Document.Utils.BarCodeEnumToCodeType(C1.Document.BarCodeEnum)">
          <a class="xref" href="C1.Document.Utils.BarCodeEnumToCodeType.html#C1_Document_Utils_BarCodeEnumToCodeType_C1_Document_BarCodeEnum_">BarCodeEnumToCodeType(BarCodeEnum)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts <a class="xref" href="C1.Document.BarCodeEnum.html">BarCodeEnum</a> value to <span class="xref">GrapeCity.Documents.Barcode.CodeType</span> value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_Compare_System_String_System_Int32_System_String_System_Int32_System_Int32_System_Boolean_" data-uid="C1.Document.Utils.Compare(System.String,System.Int32,System.String,System.Int32,System.Int32,System.Boolean)">
          <a class="xref" href="C1.Document.Utils.Compare.html#C1_Document_Utils_Compare_System_String_System_Int32_System_String_System_Int32_System_Int32_System_Boolean_">Compare(string, int, string, int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Compares two strings, could be used in Xaml and WinForms.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_CopyStream_System_IO_Stream_System_IO_Stream_" data-uid="C1.Document.Utils.CopyStream(System.IO.Stream,System.IO.Stream)">
          <a class="xref" href="C1.Document.Utils.CopyStream.html#C1_Document_Utils_CopyStream_System_IO_Stream_System_IO_Stream_">CopyStream(Stream, Stream)</a>
        </td>
        <td class="markdown level1 summary"><p>Copies content of one stream to another.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_DeflateHalfLine_C1_Interop_Rect_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Document.Utils.DeflateHalfLine(C1.Interop.Rect,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Document.Utils.DeflateHalfLine.html#C1_Document_Utils_DeflateHalfLine_C1_Interop_Rect_System_Double_System_Double_System_Double_System_Double_">DeflateHalfLine(Rect, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Substracts half of <code class="paramref">left</code>, <code class="paramref">top</code> etc from the appropriate edge of the <code class="paramref">rect</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_FastFind_System_Int32___System_Int32_System_Int32__" data-uid="C1.Document.Utils.FastFind(System.Int32[],System.Int32,System.Int32@)">
          <a class="xref" href="C1.Document.Utils.FastFind.html#C1_Document_Utils_FastFind_System_Int32___System_Int32_System_Int32__">FastFind(int[], int, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Search the index of specified element in array of numbers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_FindTextInstances_System_String_System_String_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_" data-uid="C1.Document.Utils.FindTextInstances(System.String,System.String,System.Int32,System.Int32,System.Int32,System.Boolean,System.Boolean,System.Boolean)">
          <a class="xref" href="C1.Document.Utils.FindTextInstances.html#C1_Document_Utils_FindTextInstances_System_String_System_String_System_Int32_System_Int32_System_Int32_System_Boolean_System_Boolean_System_Boolean_">FindTextInstances(string, string, int, int, int, bool, bool, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Finds instances of text in a string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_FromTwips_System_Double_System_Double_" data-uid="C1.Document.Utils.FromTwips(System.Double,System.Double)">
          <a class="xref" href="C1.Document.Utils.FromTwips.html#C1_Document_Utils_FromTwips_System_Double_System_Double_">FromTwips(double, double)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetFlag_System_Int32_System_Int32_" data-uid="C1.Document.Utils.GetFlag(System.Int32,System.Int32)">
          <a class="xref" href="C1.Document.Utils.GetFlag.html#C1_Document_Utils_GetFlag_System_Int32_System_Int32_">GetFlag(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the flags match the mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetImageEmbeddedResource_System_Reflection_Assembly_System_String_" data-uid="C1.Document.Utils.GetImageEmbeddedResource(System.Reflection.Assembly,System.String)">
          <a class="xref" href="C1.Document.Utils.GetImageEmbeddedResource.html#C1_Document_Utils_GetImageEmbeddedResource_System_Reflection_Assembly_System_String_">GetImageEmbeddedResource(Assembly, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image from embedded resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetImageEmbeddedResource_System_String_" data-uid="C1.Document.Utils.GetImageEmbeddedResource(System.String)">
          <a class="xref" href="C1.Document.Utils.GetImageEmbeddedResource.html#C1_Document_Utils_GetImageEmbeddedResource_System_String_">GetImageEmbeddedResource(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the image from embedded resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetInterface_System_Type_System_String_System_Boolean_" data-uid="C1.Document.Utils.GetInterface(System.Type,System.String,System.Boolean)">
          <a class="xref" href="C1.Document.Utils.GetInterface.html#C1_Document_Utils_GetInterface_System_Type_System_String_System_Boolean_">GetInterface(Type, string, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified interface, specifying whether to do a case-insensitive search for the interface name.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetMethod_System_Type_System_String_System_Reflection_BindingFlags_System_Type___" data-uid="C1.Document.Utils.GetMethod(System.Type,System.String,System.Reflection.BindingFlags,System.Type[])">
          <a class="xref" href="C1.Document.Utils.GetMethod.html#C1_Document_Utils_GetMethod_System_Type_System_String_System_Reflection_BindingFlags_System_Type___">GetMethod(Type, string, BindingFlags, Type[])</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified method whose parameters match the specified argument
types and modifiers, using the specified binding constraints.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetMinMax_System_Int32_System_Int32_System_Int32__System_Int32__" data-uid="C1.Document.Utils.GetMinMax(System.Int32,System.Int32,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.Document.Utils.GetMinMax.html#C1_Document_Utils_GetMinMax_System_Int32_System_Int32_System_Int32__System_Int32__">GetMinMax(int, int, out int, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets minimal and maximal numbers.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetNearText_System_String_System_Int32_System_Int32_System_String__System_Int32__" data-uid="C1.Document.Utils.GetNearText(System.String,System.Int32,System.Int32,System.String@,System.Int32@)">
          <a class="xref" href="C1.Document.Utils.GetNearText.html#C1_Document_Utils_GetNearText_System_String_System_Int32_System_Int32_System_String__System_Int32__">GetNearText(string, int, int, out string, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text which is &quot;near&quot; to specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetParameterlessCtor_System_Type_" data-uid="C1.Document.Utils.GetParameterlessCtor(System.Type)">
          <a class="xref" href="C1.Document.Utils.GetParameterlessCtor.html#C1_Document_Utils_GetParameterlessCtor_System_Type_">GetParameterlessCtor(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns default instance parameter-less constructor for the specified type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetProperty_System_Type_System_String_System_Reflection_BindingFlags_System_Type_System_Type___" data-uid="C1.Document.Utils.GetProperty(System.Type,System.String,System.Reflection.BindingFlags,System.Type,System.Type[])">
          <a class="xref" href="C1.Document.Utils.GetProperty.html#C1_Document_Utils_GetProperty_System_Type_System_String_System_Reflection_BindingFlags_System_Type_System_Type___">GetProperty(Type, string, BindingFlags, Type, Type[])</a>
        </td>
        <td class="markdown level1 summary"><p>Searches for the specified property whose parameters match the specified argument
types and modifiers, using the specified binding constraints.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetRelativePath_System_String_System_String_" data-uid="C1.Document.Utils.GetRelativePath(System.String,System.String)">
          <a class="xref" href="C1.Document.Utils.GetRelativePath.html#C1_Document_Utils_GetRelativePath_System_String_System_String_">GetRelativePath(string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the relative path, for example:
GetRelativePath(&quot;c:\temp&quot;, &quot;c:\temp\qq\zz.txt&quot;) returns &quot;qq\zz.txt&quot;.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetResourceImage_System_Reflection_Assembly_System_String_" data-uid="C1.Document.Utils.GetResourceImage(System.Reflection.Assembly,System.String)">
          <a class="xref" href="C1.Document.Utils.GetResourceImage.html#C1_Document_Utils_GetResourceImage_System_Reflection_Assembly_System_String_">GetResourceImage(Assembly, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the resource image.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetResourceStream_System_Reflection_Assembly_System_String_" data-uid="C1.Document.Utils.GetResourceStream(System.Reflection.Assembly,System.String)">
          <a class="xref" href="C1.Document.Utils.GetResourceStream.html#C1_Document_Utils_GetResourceStream_System_Reflection_Assembly_System_String_">GetResourceStream(Assembly, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets resource stream from specified assembly.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetStringEmbeddedResource_System_Reflection_Assembly_System_String_" data-uid="C1.Document.Utils.GetStringEmbeddedResource(System.Reflection.Assembly,System.String)">
          <a class="xref" href="C1.Document.Utils.GetStringEmbeddedResource.html#C1_Document_Utils_GetStringEmbeddedResource_System_Reflection_Assembly_System_String_">GetStringEmbeddedResource(Assembly, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Get string of embedded resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetStringEmbeddedResource_System_String_" data-uid="C1.Document.Utils.GetStringEmbeddedResource(System.String)">
          <a class="xref" href="C1.Document.Utils.GetStringEmbeddedResource.html#C1_Document_Utils_GetStringEmbeddedResource_System_String_">GetStringEmbeddedResource(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the string from embedded resource.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_GetWord_System_String_System_Int32_System_Int32__System_Int32__" data-uid="C1.Document.Utils.GetWord(System.String,System.Int32,System.Int32@,System.Int32@)">
          <a class="xref" href="C1.Document.Utils.GetWord.html#C1_Document_Utils_GetWord_System_String_System_Int32_System_Int32__System_Int32__">GetWord(string, int, out int, out int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the word in the text near to specified position.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_InflateHalfLine_C1_Interop_Rect_System_Double_System_Double_System_Double_System_Double_" data-uid="C1.Document.Utils.InflateHalfLine(C1.Interop.Rect,System.Double,System.Double,System.Double,System.Double)">
          <a class="xref" href="C1.Document.Utils.InflateHalfLine.html#C1_Document_Utils_InflateHalfLine_C1_Interop_Rect_System_Double_System_Double_System_Double_System_Double_">InflateHalfLine(Rect, double, double, double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds half of <code class="paramref">left</code>, <code class="paramref">top</code> etc to the appropriate edge of the <code class="paramref">rect</code>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsCancelled_System_AggregateException_" data-uid="C1.Document.Utils.IsCancelled(System.AggregateException)">
          <a class="xref" href="C1.Document.Utils.IsCancelled.html#C1_Document_Utils_IsCancelled_System_AggregateException_">IsCancelled(AggregateException)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if task cancelled by an exception used to communicate task cancellation.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsCulturesSame_System_Globalization_CultureInfo_System_Globalization_CultureInfo_" data-uid="C1.Document.Utils.IsCulturesSame(System.Globalization.CultureInfo,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.Document.Utils.IsCulturesSame.html#C1_Document_Utils_IsCulturesSame_System_Globalization_CultureInfo_System_Globalization_CultureInfo_">IsCulturesSame(CultureInfo, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the culture name is the same.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsEmpty_System_Object_" data-uid="C1.Document.Utils.IsEmpty(System.Object)">
          <a class="xref" href="C1.Document.Utils.IsEmpty.html#C1_Document_Utils_IsEmpty_System_Object_">IsEmpty(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether a value is null, System.DBNull or empty array.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsEnum_System_Type_" data-uid="C1.Document.Utils.IsEnum(System.Type)">
          <a class="xref" href="C1.Document.Utils.IsEnum.html#C1_Document_Utils_IsEnum_System_Type_">IsEnum(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the current Type represents an enumeration.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsNull_System_Object_" data-uid="C1.Document.Utils.IsNull(System.Object)">
          <a class="xref" href="C1.Document.Utils.IsNull.html#C1_Document_Utils_IsNull_System_Object_">IsNull(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a value indicating whether a value is null or System.DBNull.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsNumber_System_Object_" data-uid="C1.Document.Utils.IsNumber(System.Object)">
          <a class="xref" href="C1.Document.Utils.IsNumber.html#C1_Document_Utils_IsNumber_System_Object_">IsNumber(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether object represents numeric value, i.e. it is byte, integer, float etc.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsValueType_System_Type_" data-uid="C1.Document.Utils.IsValueType(System.Type)">
          <a class="xref" href="C1.Document.Utils.IsValueType.html#C1_Document_Utils_IsValueType_System_Type_">IsValueType(Type)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether the Type is a value type.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_IsWholeWord_System_String_System_String_System_Int32_" data-uid="C1.Document.Utils.IsWholeWord(System.String,System.String,System.Int32)">
          <a class="xref" href="C1.Document.Utils.IsWholeWord.html#C1_Document_Utils_IsWholeWord_System_String_System_String_System_Int32_">IsWholeWord(string, string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines if the entire word is contained in the specified string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_SamePaperSizes_C1_Interop_Size_C1_Interop_Size_" data-uid="C1.Document.Utils.SamePaperSizes(C1.Interop.Size,C1.Interop.Size)">
          <a class="xref" href="C1.Document.Utils.SamePaperSizes.html#C1_Document_Utils_SamePaperSizes_C1_Interop_Size_C1_Interop_Size_">SamePaperSizes(Size, Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Tests two sizes for equality allowing a small margin for rounding errors.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_SetFlag_System_Int32__System_Int32_System_Boolean_" data-uid="C1.Document.Utils.SetFlag(System.Int32@,System.Int32,System.Boolean)">
          <a class="xref" href="C1.Document.Utils.SetFlag.html#C1_Document_Utils_SetFlag_System_Int32__System_Int32_System_Boolean_">SetFlag(ref int, int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the flags by mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_Swap__1___0____0__" data-uid="C1.Document.Utils.Swap``1(``0@,``0@)">
          <a class="xref" href="C1.Document.Utils.Swap.html#C1_Document_Utils_Swap__1___0____0__">Swap&lt;T&gt;(ref T, ref T)</a>
        </td>
        <td class="markdown level1 summary"><p>Swaps two values.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ToBytes_GrapeCity_Documents_Drawing_IImage_" data-uid="C1.Document.Utils.ToBytes(GrapeCity.Documents.Drawing.IImage)">
          <a class="xref" href="C1.Document.Utils.ToBytes.html#C1_Document_Utils_ToBytes_GrapeCity_Documents_Drawing_IImage_">ToBytes(IImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts bytes from IImage.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ToImage_GrapeCity_Documents_Drawing_IImage_" data-uid="C1.Document.Utils.ToImage(GrapeCity.Documents.Drawing.IImage)">
          <a class="xref" href="C1.Document.Utils.ToImage.html#C1_Document_Utils_ToImage_GrapeCity_Documents_Drawing_IImage_">ToImage(IImage)</a>
        </td>
        <td class="markdown level1 summary"><p>Extracts Image from IImage.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ToTwips_System_Double_System_Double_" data-uid="C1.Document.Utils.ToTwips(System.Double,System.Double)">
          <a class="xref" href="C1.Document.Utils.ToTwips.html#C1_Document_Utils_ToTwips_System_Double_System_Double_">ToTwips(double, double)</a>
        </td>
        <td class="markdown level1 summary"><p>Converts value in pixels to the value in twips.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_TryAsNumber_System_Object_System_Double__" data-uid="C1.Document.Utils.TryAsNumber(System.Object,System.Double@)">
          <a class="xref" href="C1.Document.Utils.TryAsNumber.html#C1_Document_Utils_TryAsNumber_System_Object_System_Double__">TryAsNumber(object, out double)</a>
        </td>
        <td class="markdown level1 summary"><p>Checks whether object represents numeric value, i.e. it is byte, integer, float etc and
converts it to double. Returns false if object is not number.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_TryObjectAsDouble_System_Object_System_Globalization_CultureInfo_System_Double__" data-uid="C1.Document.Utils.TryObjectAsDouble(System.Object,System.Globalization.CultureInfo,System.Double@)">
          <a class="xref" href="C1.Document.Utils.TryObjectAsDouble.html#C1_Document_Utils_TryObjectAsDouble_System_Object_System_Globalization_CultureInfo_System_Double__">TryObjectAsDouble(object, CultureInfo, out double)</a>
        </td>
        <td class="markdown level1 summary"><p>Tries convert object to double.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Document_Utils_ValidateFileName_System_String_" data-uid="C1.Document.Utils.ValidateFileName(System.String)">
          <a class="xref" href="C1.Document.Utils.ValidateFileName.html#C1_Document_Utils_ValidateFileName_System_String_">ValidateFileName(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Check specified string and removed all characters which can not be in file name.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
