Back to Devexpress

TdxGraphicUnit Enum

vcl-dxcoregraphics-3033ae89.md

latest1.6 KB
Original Source

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:

ValueDescription
guWorldThe relative measurement unit of the world coordinate space.
guDisplayCorresponds to the display device’s measurement unit (that is, a pixel for monitors).
guPixelThe unit is a single pixel. The actual pixel size depends on the display device’s DPI.
guPointThis absolute measurement unit is 1/72 of an inch or a typographic point.
guInchVisual element dimensions are measured in inches.
guDocumentThis absolute measurement unit corresponds to 1/300 of an inch.
guMillimeterVisual 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

dxCoreGraphics Unit