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.
|
Fields
Name | Description | |
---|---|---|
![]() ![]() |
BlackColor |
For internal use only.
|
![]() ![]() |
CmPerInch |
Centimeters per inch as double.
|
![]() ![]() |
CmPerInchF |
Centimeters per inch as float.
|
![]() ![]() |
DisplayPerInch |
Display units per inch as double.
|
![]() ![]() |
DisplayPerInchF |
Display units per inch as float.
|
![]() ![]() |
DocumentUnitsPerInch |
Document units per inch as double.
|
![]() ![]() |
DocumentUnitsPerInchF |
Document units per inch as float.
|
![]() ![]() |
MmPerInch |
Millimeters per inch as double.
|
![]() ![]() |
MmPerInchF |
Millimeters per inch as float.
|
![]() ![]() |
PicaPerInch |
Picas per inch as double.
|
![]() ![]() |
PicaPerInchF |
Picas per inch as float.
|
![]() ![]() |
PointsPerInch |
Points per inch as double.
|
![]() ![]() |
PointsPerInchF |
Points per inch as float.
|
![]() ![]() |
TransparentColor |
For internal use only.
|
![]() ![]() |
TwipsPerInch |
Twips per inch as double.
|
![]() ![]() |
TwipsPerInchF |
Twips per inch as float.
|
![]() ![]() |
WhiteColor |
For internal use only.
|