Home|Download|Buy online|Affiliates|Search|Feedback|Site Map|ReviewsUse our online RSS & XML news feeds to get the latest news about our products delivered to your desktop... RSS feed    04.02.2012
Home»Code128 .NET Control»SDK
Find out more how to use BestView...
A more detailed description

A more detailed description

Here is the detailed description of the member functions of the class:

  • Code128()

    Code128()

    Default constructor

  • Draw

    public void Draw(System.Drawing.Graphics graphics,int xOffset, int yOffset, int height, System.Drawing.Color foregroundColor, System.Drawing.Color backgroundColor);

    This function is used for output of the barcode.

    Parameters:

    graphics

    [in] - The context where to render.

    xOffset

    [in] - Horisontal offset, in logical units.

    yOffset

    [in] - Vertical offset, in logical units.

    height

    [in] - Height of the barcode, in logical units.

    foregroundColor

    [in] - Color of the drawn barcode.

    backgroundColor

    [in] - Color of the background of the barcode.

  • DrawLeadInAndLeadOut

    public bool DrawLeadInAndLeadOut

    This property is used to set the need of drawing of LeadIn and LeadOut fields.

  • LeadIn

    public int LeadIn

    This property is used to set the width of the LeadIn field. It is measused in modules.

  • LeadOut

    public int LeadOut

    This property is used to set the width of the LeadOut field. It is measused in modules.

  • LengthInModules

    public int LengthInModules

    This read only property is used for debugging purposes and returns the total length of the barcode in modules.

  • MetricsDescription

    public string MetricsDescription

    This read only property is used for debugging purposes and returns an internal description of the barcode.

  • OneModuleWidth

    public double OneModuleWidth

    This property is used to set the width of one module. Module is the elementary unit of the barcode.

  • Text

    public string Text

    This property is used to set the value of the drawn barcode.

  • XResolution

    public int XResolution

    This property is used to set the horizontal resolution of the output device. This value is used to calculate the width of the barcode module. In case this value is not set the class will consider that one module width is equal to the one logical unit of the output device.

Valid HTML 4.01 Transitional© PVL team, 2004-2012, all rights reserved. This Web site and its entire contents are for personal use only and may not be copied, reproduced, modified, published or distributed in any way,without PVL team's prior written permission.