Search Results for

    Show / Hide Table of Contents

    Class BitmapRenderer

    Renders a ZXing.Common.BitMatrix to a System.Drawing.Bitmap image

    Inheritance
    System.Object
    BitmapRenderer
    Namespace: ZXing.Rendering
    Assembly: IronPdf.dll
    Syntax
    public class BitmapRenderer : Object

    Constructors

    BitmapRenderer()

    Initializes a new instance of the BitmapRenderer class.

    Declaration
    public BitmapRenderer()

    Properties

    Background

    Gets or sets the background color.

    Declaration
    public Color Background { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The background color.

    DpiX

    Gets or sets the resolution which should be used to create the bitmap If nothing is set the current system settings are used

    Declaration
    public Nullable<float> DpiX { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Single>

    DpiY

    Gets or sets the resolution which should be used to create the bitmap If nothing is set the current system settings are used

    Declaration
    public Nullable<float> DpiY { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Single>

    Foreground

    Gets or sets the foreground color.

    Declaration
    public Color Foreground { get; set; }
    Property Value
    Type Description
    System.Drawing.Color

    The foreground color.

    TextFont

    Gets or sets the text font.

    Declaration
    public Font TextFont { get; set; }
    Property Value
    Type Description
    System.Drawing.Font

    The text font.

    Methods

    Render(, BarcodeFormat, String)

    Declaration
    public Bitmap Render( matrix, BarcodeFormat format, string content)
    Parameters
    Type Name Description
     matrix
    ZXing.BarcodeFormat format
    System.String content
    Returns
    Type Description
    System.Drawing.Bitmap

    Render(, BarcodeFormat, String, EncodingOptions)

    Declaration
    public Bitmap Render( matrix, BarcodeFormat format, string content, EncodingOptions options)
    Parameters
    Type Name Description
     matrix
    ZXing.BarcodeFormat format
    System.String content
    ZXing.Common.EncodingOptions options
    Returns
    Type Description
    System.Drawing.Bitmap
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.