The Utils type exposes the following members.

Methods

  Name Description
Public method Static member 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.
Public method Static member 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.
Public method Static member ConvertUnits
Converts a value from one unit of measurement to another.
Public method Static member FromWpfColor
For internal use only.
Public method Static member IsC1Document
Tests whether an object can be represented as a IC1Document.
Public method Static member IsC1DocumentType
Tests whether an object of the specified type can be represented as a IC1Document.
Public method Static member IsC1PrintDocument
Tests whether an object can be represented as a C1PrintDocument.
Public method Static member IsC1PrintDocumentType
Tests whether an object of the specified type can be represented as a C1PrintDocument.
Public method Static member IsColorBlack
Tests whether specified color is black.
Public method Static member IsColorEmpty
Tests whether the specified color is invisible (i.e. equals Empty or Transparent).
Public method Static member IsColorEquals
Tests whether specified colors are equal.
Public method Static member IsColorTransparent
Tests whether specified color is transparent.
Public method Static member IsColorWhite
Tests whether specified color is white.
Public method Static member SamePaperSizes
Tests two sizes for equality allowing a small margin for rounding errors.
Public method Static member ToWpfColor
For internal use only.

See Also