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

    Specifies the foreground color for the barcode and returns the builder object.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public TBuilder WithForeColor(
        Color foreColor
    )

    Parameters

    Name Type Description
    foreColor Color

    The foreground color to apply to the barcode.

    Returns

    Type Description
    TBuilder

    The builder object with the updated foreground color.

    See Also