The Utils type exposes the following members.
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 C1Report,
returns that report's 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 C1Report,
returns that report's C1Document property.
Otherwise, returns null.
|
|
ConvertUnits |
Converts a value from one unit of measurement to another.
|
|
FromWpfColor |
For internal use only.
|
|
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 Empty or Transparent).
|
|
IsColorEquals |
Tests whether specified colors are equal.
|
|
IsColorTransparent |
Tests whether specified color is transparent.
|
|
IsColorWhite |
Tests whether specified color is white.
|
|
SamePaperSizes |
Tests two sizes for equality allowing a small margin for rounding errors.
|
|
ToWpfColor |
For internal use only.
|