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»EAN128 barcode»SDK
Find out more how to use BestView...
A more detailed description

Full description

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

  • EAN128()

    EAN128()

    Default constructor

  • SetXResolution

    void SetXResolution (int xres);

    The function sets the horizontal resolution of the output device.

    Parameters:

    xres

    [in] - The horizontal resolution of the output device.

  • SetYResolution

    void SetYResolution (int yres);

    The function sets the vertical resolution of the output device.

    Parameters:

    yres

    [in] - The vertical resolution of the output device.

  • SetOneModuleWidth

    void SetOneModuleWidth (float fWidth);

    The function sets the width of one module in the barcode (in millimiters). According to the standart the width can not be less than 0.191 millimiters.

    Parameters:

    fWidth

    [in] - The width of one module, in millimiters.

  • GetOneModuleWidth

    float GetOneModuleWidth();

    The function returns the width of one module in the barcode.

  • Reset

    void Reset ();

    The function resets the internal list of barcode pieces. The piece here means a part of the barcode string separated by FNC1 control code.

  • AddPiece

    void AddPiece (LPCTSTRpszPiece);

    The function adds one piece to the internal list of pieces.

    Parameters:

    pszPiece

    [in] - The pointer to the piece string.

  • Draw

    void Draw ( HDC hdc, int x0, int y0, int Height, COLORREF Color );

    The function draws the barcode using the set of previously added pieces as data.

    Parameters:

    hdc

    [in] - The handle of device context where the barcode is drawn.

    x0

    [in] - The horizontal origin of the barcode.

    y0

    [in] - The vertical origin of the barcode.

    Height

    [in] - The height of the barcode, in millimiters.

    Color

    [in] - The color of the drawn barcode.

  • SetLeadIn

    void SetLeadIn (int nModules);

    The function sets the width of the LeadIn blank field before barcode. The width is set in modules.

    Parameters:

    nModules

    [in] - The number of modules in the LeadIn width.

  • SetLeadOut

    void SetLeadOut (int nModules);

    The function sets the width of the LeadOut blank field after barcode. The width is set in modules.

    Parameters:

    nModules

    [in] - The number of modules in the LeadOut width.

  • GetMetricsDescription

    CString GetMetricsDescription ();

    Return value:

    The function returns the description of the barcode for debug purposes.

  • GetLengthInModules

    int GetLengthInModules ();

    Return value:

    The function returns the total length (in modules) of the barcode.

  • SetLeadInAndLeadOutFlag

    void SetLeadInAndLeadOutFlag (BOOL bDrawLeadInAndLeadOut);

    Parameters:

    bDrawLeadInAndLeadOut

    [in] - The flag sets whether to draw or not the LeadIn and LeadOut fileds.

  • GetLeadInAndLeadOutFlag

    BOOL GetLeadInAndLeadOutFlag ();

    Return value:

    The function returns the value of an internal flag which determines whether LeadIn and LeadOut fileds are drawn.

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.