TdxGraphicUnit Enum
In This Article
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 |
---|
gu
|
gu
|
gu
|
gu
|
gu
|
gu
|
gu
|
#Remarks
Options include:
Value | Description |
---|---|
gu |
The relative measurement unit of the world coordinate space. |
gu |
Corresponds to the display device’s measurement unit (that is, a pixel for monitors). |
gu |
The unit is a single pixel. The actual pixel size depends on the display device’s DPI. |
gu |
This absolute measurement unit is 1/72 of an inch or a typographic point. |
gu |
Visual element dimensions are measured in inches. |
gu |
This absolute measurement unit corresponds to 1/300 of an inch. |
gu |
Visual element dimensions are measured in millimeters. |
Note
Tdx
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 Tdx
(in Delphi) or Tdx
(in C++Builder) to refer to the gu
value in code.
See Also