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

    Specifies the margin for each side of the barcode image and returns the builder object.

    Namespace: DevExpress.Docs.Barcode

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

    Declaration

    public TBuilder WithMargin(
        int left,
        int top,
        int right,
        int bottom
    )

    Parameters

    Name Type Description
    left Int32

    The left margin.

    top Int32

    The top margin.

    right Int32

    The right margin.

    bottom Int32

    The bottom margin.

    Returns

    Type Description
    TBuilder

    The builder object with the updated margins.

    See Also