Skip to main content
All docs
V26.1
  • BarcodeOptionsBuilder<TOptions, TBuilder> Methods

    Builds an BarcodeOptions object. Use chained builder methods to configure barcode settings, then call the Build method to create the options object.
    Name Description
    Build() Creates a barcode options object with the specified settings.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    WithBackColor(Color) Specifies the background color for the barcode and returns the builder object.
    WithBarHeight(Single) Specifies the barcode’s bar height and returns the builder object.
    WithBorderColor(Color) Specifies the barcode border color and returns the builder object.
    WithBorderDashStyle(BorderDashStyle) Specifies the dash style for the barcode border and returns the builder object.
    WithBorderStyle(BorderStyle) Specifies the border style for the barcode and returns the builder object.
    WithBorderWidth(Single) Specifies the border width of the bar code image and returns the builder object.
    WithCodeTextHorizontalAlignment(DXStringAlignment) Specifies the horizontal alignment of the bar code text within the bar code image and returns the builder object.
    WithCodeTextVerticalAlignment(DXStringAlignment) Specifies the vertical alignment of the bar code text within the bar code image and returns the builder object.
    WithDpi(Single) Specifies the dpi value used to render the bar code.
    WithFooter(BarcodeLabel) Specifies the footer label for the barcode and returns the builder object.
    WithFooter(String) Specifies the footer text for the barcode and returns the builder object.
    WithForeColor(Color) Specifies the foreground color for the barcode and returns the builder object.
    WithHeader(BarcodeLabel) Specifies the header label for the barcode and returns the builder object.
    WithHeader(String) Specifies the header text for the barcode and returns the builder object.
    WithHeight(Single) Specifies the height of the barcode image and returns the builder object.
    WithMargin(Padding) Specifies the margin for the barcode image and returns the builder object.
    WithMargin(Int32, Int32, Int32, Int32) Specifies the margin for each side of the barcode image and returns the builder object.
    WithMargin(Int32) Specifies the same margin for all sides of the barcode image and returns the builder object.
    WithModuleSize(Single) Specifies the module size for the barcode and returns the builder object.
    WithPadding(Padding) Specifies the padding for the barcode image and returns the builder object.
    WithPadding(Int32, Int32, Int32, Int32) Specifies the padding for each side of the barcode image and returns the builder object.
    WithPadding(Int32) Specifies the same padding for all sides of the barcode image and returns the builder object.
    WithRightToLeft(Boolean) Specifies whether the barcode text is rendered from right to left and returns the builder object.
    WithRotationAngle(Single) Specifies the rotation angle for the barcode image and returns the builder object.
    WithShowText(Boolean) Specifies whether to display the barcode text and returns the builder object.
    WithSides(BorderSide) Specifies which sides of the barcode image have borders and returns the builder object.
    WithSize(SizeF) Specifies the size of the barcode image and returns the builder object.
    WithSize(Single, Single) Specifies the width and height of the barcode image and returns the builder object.
    WithSizeMode(SizeMode) Specifies the size mode for the barcode image and returns the builder object.
    WithTextFont(DXFont) Specifies the font for the barcode text and returns the builder object.
    WithTextRenderingHint(DXTextRenderingHint) Specifies the text rendering hint for the barcode and returns the builder object.
    WithUnit(DXGraphicsUnit) Specifies the measurement unit for the barcode image and returns the builder object.
    WithWidth(Single) Specifies the width of the barcode image and returns the builder object.
    WithWordWrap(Boolean) Specifies whether word wrap is enabled for the barcode text and returns the builder object.
    See Also