Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxGraphicUnit Enum

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

#Declaration

Delphi
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