Giter Club home page Giter Club logo

Comments (2)

pedroivobraga avatar pedroivobraga commented on July 28, 2024

I had added those contructors locally:

    /// <summary>
    /// Initializes a new instance of the <see cref="Barcode" /> class.
    /// </summary>
    /// <param name="data">The data to encode as a barcode.</param>
    /// <param name="type">The type of barcode. Defaults to Code128</param>
    /// <param name="showLabel">if set to <c>true</c> show the data as a label. Defaults to false.</param>
    /// <param name="width">The width in pixels. Defaults to 300.</param>
    /// <param name="height">The height in pixels. Defaults to 150.</param>
    public Barcode(string data, Type type, bool showLabel, int width, int height)
    {
        _autoSize = false;
        _data = data;
        _type = type;
        _showLabel = showLabel;
        _width = width;
        _height = height;

        InitializeType();
    }

    /// <summary>
    /// Initializes a new instance of the <see cref="Barcode" /> class.
    /// </summary>
    /// <param name="data">The data to encode as a barcode.</param>
    /// <param name="type">The type of barcode. Defaults to Code128</param>
    /// <param name="showLabel">if set to <c>true</c> show the data as a label. Defaults to false.</param>
    /// <param name="width">The width in pixels. Defaults to 300.</param>
    /// <param name="height">The height in pixels. Defaults to 150.</param>
    /// <param name="labelFont">The label font. Defaults to Font("Microsoft Sans Serif", 10, FontStyle.Bold)</param>
    public Barcode(string data, Type type, bool showLabel, int width, int height, Font labelFont)
    {
        _autoSize = false;
        _data = data;
        _type = type;
        _showLabel = showLabel;
        _width = width;
        _height = height;
        _labelFont = labelFont;

        InitializeType();
    }

from netbarcode.

Tagliatti avatar Tagliatti commented on July 28, 2024

Tks, added new version 1.0.8 https://www.nuget.org/packages/NetBarcode/1.0.8

from netbarcode.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.