Description

Adds a Ean13, 2 digit supplement bar code object to the AreaGroup object and returns a New Ean13Sup2 object.

Syntax

Public Function AddEan13Sup2( _
   ByVal CodeValue As String, _
   ByVal X As Single, _
   ByVal Y As Single _
) As Ean13Sup2

Parameters

CodeValue
The value stored in the bar code.
X
The X Coordinate of the Ean13, 2 digit supplement bar code.
Y
The Y Coordinate of the Ean13, 2 digit supplement bar code.

Return Type

A Ean13Sup2 object.

Example

[ASP - VBScript] 

<% 
    ' Create a PDF Document 
    Dim MyDocument  
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )  
    Dim MyDocTemplate 
    Set MyDocTemplate = MyDocument.SetEvenOddTemplate() 
    ' Create the Group for Even Page in the Template 
    Dim EvenGroup 
    Set EvenGroup = MyDocTemplate.EvenElements 
    ' Create 3 Pages and add it to the document 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    MyDocument.AddPage() 
    ' Create a bar code 
    Dim MyBarcode 
    Set MyBarcode = MyDocTemplate.AddEan13Sup2( "12345678901212", 20, 20 ) 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyDocument = Nothing         
%>

See Also

EvenOddTemplate Object