rvico TRichView Reference | Types

TRVUnits

Top  Previous  Next

Unit RVStyle.

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 TRichView.DocParameters.Units.

Values measured in TRVUnits have type TRVLength.

See also:

Units of measurement in TRichView


RichView © Sergey Tkachenko