ComponentOne FlexReport for WinForms
C1.Win.C1Document.4.5.2 Assembly / C1.Win.C1Document Namespace / Utils Class
Fields Methods


In This Topic
    Utils Class Members
    In This Topic

    The following tables list the members exposed by Utils.

    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Compares two object arrays using AreObjectsEqual method, returns true if arrays have same size and contains same objects.  
    Public Methodstatic (Shared in Visual Basic)Compares two objects using Equals() methods, returns true if both objects are null. Null and System.DBNull interpretted as same values.  
    Public Methodstatic (Shared in Visual Basic)For internal use.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)Converts BarCodeEnum value to C1.BarCode.CodeType value.  
    Public Methodstatic (Shared in Visual Basic)Compares two strings, could be used in Xaml and WinForms.  
    Public Methodstatic (Shared in Visual Basic)Copies content of one stream to another.  
    Public Methodstatic (Shared in Visual Basic)Substracts half of left, top etc from the appropriate edge of the rect.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Finds instances of text in a string.  
    Public Methodstatic (Shared in Visual Basic)Gets the resolution for the specified device context.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Gets the text which is "near" to specified position.  
    Public Methodstatic (Shared in Visual Basic)Returns default instance parameter-less constructor for the specified type.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Returns the relative path, for example: GetRelativePath("c:\temp", "c:\temp\qq\zz.txt") returns "qq\zz.txt".  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Gets resource stream from specified assembly.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.   
    Public Methodstatic (Shared in Visual Basic)Gets the word in the text near to specified position.  
    Public Methodstatic (Shared in Visual Basic)Adds half of left, top etc to the appropriate edge of the rect.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Returns a value indicating whether a value is null, System.DBNull or empty array.  
    Public Methodstatic (Shared in Visual Basic)Gets a value indicating whether the current Type represents an enumeration.  
    Public Methodstatic (Shared in Visual Basic)Returns a value indicating whether a value is null or System.DBNull.  
    Public Methodstatic (Shared in Visual Basic)Checks whether object represents numeric value, i.e. it is byte, integer, float etc.  
    Public Methodstatic (Shared in Visual Basic)Gets a value indicating whether the Type is a value type.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Reads a System.Drawing.Imaging.Metafile from a byte array.  
    Public Methodstatic (Shared in Visual Basic)Tests two sizes for equality allowing a small margin for rounding errors.  
    Public Methodstatic (Shared in Visual Basic)  
    Public Methodstatic (Shared in Visual Basic)Swaps two values.  
    Public Methodstatic (Shared in Visual Basic)Converts value in pixels to the value in twips.  
    Public Methodstatic (Shared in Visual Basic)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.  
    Public Methodstatic (Shared in Visual Basic)Tries convert object to double.  
    Public Methodstatic (Shared in Visual Basic)Check specified string and removed all characters which can not be in file name.  
    Public Methodstatic (Shared in Visual Basic)Writes specified image to file.  
    Public Methodstatic (Shared in Visual Basic)Writes specified image to stream.  
    Public Methodstatic (Shared in Visual Basic)Serializes a System.Drawing.Imaging.Metafile to a disk file.  
    Public Methodstatic (Shared in Visual Basic)Writes a System.Drawing.Imaging.Metafile to a byte array.  
    Public Methodstatic (Shared in Visual Basic)Serializes a System.Drawing.Imaging.Metafile to a System.IO.Stream.  
    Top
    See Also