Skip to main content
All docs
V26.1
  • BarcodeOptionsBuilder<TOptions, TBuilder>.WithUnit(DXGraphicsUnit) Method

    Specifies the measurement unit for the barcode image and returns the builder object.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public TBuilder WithUnit(
        DXGraphicsUnit unit
    )

    Parameters

    Name Type Description
    unit DXGraphicsUnit

    The measurement unit to apply to the barcode image.

    Returns

    Type Description
    TBuilder

    The builder object with the updated measurement unit.

    See Also