Skip to main content

TdxGraphicUnit Enum

Enumerates measurement units used to specify visual element dimensions and font sizes in DevExpress VCL controls.

Declaration

TdxGraphicUnit = (
    guWorld,
    guDisplay,
    guPixel,
    guPoint,
    guInch,
    guDocument,
    guMillimeter
);

Members

Name
guWorld
guDisplay
guPixel
guPoint
guInch
guDocument
guMillimeter

Remarks

Options include:

Value Description
guWorld The relative measurement unit of the world coordinate space.
guDisplay Corresponds to the display device’s measurement unit (that is, a pixel for monitors).
guPixel The unit is a single pixel. The actual pixel size depends on the display device’s DPI.
guPoint This absolute measurement unit is 1/72 of an inch or a typographic point.
guInch Visual element dimensions are measured in inches.
guDocument This absolute measurement unit corresponds to 1/300 of an inch.
guMillimeter Visual element dimensions are measured in millimeters.

Note

TdxGraphicUnit is a scoped enumeration type. Use the type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxGraphicUnit.guMillimeter (in Delphi) or TdxGraphicUnit::guMillimeter (in C++Builder) to refer to the guMillimeter value in code.

See Also