Skip to main content
All docs
V26.1
  • BarcodeOptions.Unit Property

    Gets or sets the unit of measurement for bar code settings.

    Namespace: DevExpress.Docs.Barcode

    Assembly: DevExpress.Docs.Core.v26.1.dll

    Declaration

    public DXGraphicsUnit Unit { get; set; }

    Property Value

    Type Description
    DXGraphicsUnit

    An enumeration value that indicates the measurement units.

    Available values:

    Name Description
    World

    The world coordinate system unit.

    Display

    The measurement units of the display device. Typically pixels for video displays, and 1/100 inch for printers.

    Pixel

    The device pixel.

    Point

    The printer’s point (1/72 inch).

    Inch

    The inch.

    Document

    The document unit (1/300 inch).

    Millimeter

    The millimeter.

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to Unit
    BarcodeGenerator
    .Options .Unit
    See Also