In This Topic
The following tables list the members exposed by Utils.
Public Fields
Public Methods
| Name | Description |
| AsC1Document | Gets the IC1Document representing the passed object, If the passed document is a C1PrintDocument or C1MultiDocument, returns that object. Otherwise, if the passed document is a C1.C1Report.C1Report, returns that report's C1.C1Report.C1Report.C1Document property. Otherwise, returns null. |
| AsC1PrintDocument | Gets the C1PrintDocument representing the passed object, If the passed document is a C1PrintDocument, returns that object. Otherwise, if the passed document is a C1.C1Report.C1Report, returns that report's C1.C1Report.C1Report.C1Document property. Otherwise, returns null. |
| ConvertUnits | Converts a value from one unit of measurement to another. |
| FromWpfColor | For internal use only. |
| GetResourceImage | For internal use. |
| IsC1Document | Tests whether an object can be represented as a IC1Document. |
| IsC1DocumentType | Tests whether an object of the specified type can be represented as a IC1Document. |
| IsC1PrintDocument | Tests whether an object can be represented as a C1PrintDocument. |
| IsC1PrintDocumentType | Tests whether an object of the specified type can be represented as a C1PrintDocument. |
| IsColorBlack | Tests whether specified color is black. |
| IsColorEmpty | Tests whether the specified color is invisible (i.e. equals System.Drawing.Color.Empty or System.Drawing.Color.Transparent). |
| IsColorEquals | Tests whether specified colors are equal. |
| IsColorTransparent | Tests whether specified color is transparent. |
| IsColorWhite | Tests whether specified color is white. |
| Round | Overloaded. For internal use. |
| SamePaperSizes | Tests two sizes for equality allowing a small margin for rounding errors. |
| ToWpfColor | For internal use only. |
Top
See Also