PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview 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)For internal use only.  
    Public FieldCentimeters per inch as double.  
    Public FieldCentimeters per inch as float.  
    Public FieldDIP (device independent pixel 1/96inch) per inch as double.  
    Public FieldDisplay units per inch as double.  
    Public FieldDisplay units per inch as float.  
    Public FieldDocument units per inch as double.  
    Public FieldDocument units per inch as float.  
    Public FieldMillimeters per inch as double.  
    Public FieldMillimeters per inch as float.  
    Public FieldPicas per inch as double.  
    Public FieldPicas per inch as float.  
    Public FieldPoints per inch as double.  
    Public FieldPoints per inch as float.  
    Public Fieldstatic (Shared in Visual Basic)For internal use only.  
    Public Fieldstatic (Shared in Visual Basic)The field of class of the static methods for comparing the float and double numbers with specified precision.  
    Public FieldTwips per inch as double.  
    Public FieldTwips per inch as float.  
    Public Fieldstatic (Shared in Visual Basic)For internal use only.  
    Top
    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Gets the IC1Document representing the passed object, If the passed document is a C1PrintDocument or C1MultiDocument, returns that object. Otherwise, returns null.  
    Public Methodstatic (Shared in Visual Basic)Gets the C1PrintDocument representing the passed object, If the passed document is a C1PrintDocument, returns that object. Otherwise, returns null.  
    Public Methodstatic (Shared in Visual Basic)Converts a value from one unit of measurement to another.  
    Public Methodstatic (Shared in Visual Basic)For internal use only.  
    Public Methodstatic (Shared in Visual Basic)For internal use.  
    Public Methodstatic (Shared in Visual Basic)Tests whether an object can be represented as a IC1Document.  
    Public Methodstatic (Shared in Visual Basic)Tests whether an object of the specified type can be represented as a IC1Document.  
    Public Methodstatic (Shared in Visual Basic)Tests whether an object can be represented as a C1PrintDocument.  
    Public Methodstatic (Shared in Visual Basic)Tests whether an object of the specified type can be represented as a C1PrintDocument.  
    Public Methodstatic (Shared in Visual Basic)Tests whether specified color is black.  
    Public Methodstatic (Shared in Visual Basic)Tests whether the specified color is invisible (i.e. equals System.Drawing.Color.Empty or System.Drawing.Color.Transparent).  
    Public Methodstatic (Shared in Visual Basic)Tests whether specified colors are equal.  
    Public Methodstatic (Shared in Visual Basic)Tests whether specified color is transparent.  
    Public Methodstatic (Shared in Visual Basic)Tests whether specified color is white.  
    Public Methodstatic (Shared in Visual Basic)Overloaded. 

    For internal use only.

    Rounds a float value to the nearest integer.  
    Public Methodstatic (Shared in Visual Basic)Tests two sizes for equality allowing a small margin for rounding errors.  
    Public Methodstatic (Shared in Visual Basic)For internal use only.  
    Top
    See Also