rvico TRichView Reference | Types

TRVUnits

Top  Previous  Next

Unit RVStyle.

Units of measurement.

type

  TRVUnits = (rvuInches, rvuCentimeters, rvuMillimeters, rvuPicas, rvuPixels, rvuPoints);

Value

Meaning

rvuInches

Inches. 1 inch = 2.54 cm.

rvuCentimeters

Centimeters.

rvuMillimeters

Millimeters.

rvuPicas

Picas (used in typography). 1 pica = 1/6 inch = 12 points.

rvuPixels

Screen pixels (see below).

rvuPoints

Points (used in typography). 1 point = 1/72 inch.

If RichViewPixelsPerInch is positive, it is used for calculation of number of screen pixels in one inch. Otherwise, Screen.PixelsPerInch is used. In the latter case, values in rvuPixels depend on the screen resolution and cannot be used in WYSIWYG editors.

This is a type of the following properties:

TRichView.DocParameters.Units.

TRVPrint.Units

Values measured in TRVUnits have the type TRVLength.

See also:

Units of measurement in TRichView


TRichView © trichview.com