In This Topic
The following tables list the members exposed by Utils.
Public Fields
Public Methods
| Name | Description |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | 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. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | 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. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | ConvertUnits | Converts a value from one unit of measurement to another. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | FromWpfColor | For internal use only. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | GetResourceImage | For internal use. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsC1Document | Tests whether an object can be represented as a IC1Document. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsC1DocumentType | Tests whether an object of the specified type can be represented as a IC1Document. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsC1PrintDocument | Tests whether an object can be represented as a C1PrintDocument. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsC1PrintDocumentType | Tests whether an object of the specified type can be represented as a C1PrintDocument. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsColorBlack | Tests whether specified color is black. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsColorEmpty | Tests whether the specified color is invisible (i.e. equals System.Drawing.Color.Empty or System.Drawing.Color.Transparent). |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsColorEquals | Tests whether specified colors are equal. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsColorTransparent | Tests whether specified color is transparent. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | IsColorWhite | Tests whether specified color is white. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | Round | Overloaded. For internal use. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | SamePaperSizes | Tests two sizes for equality allowing a small margin for rounding errors. |
![Public Method](template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](template/packages/core-dotnet/images/static.png) | ToWpfColor | For internal use only. |
Top
See Also