Description

Adds the Ean13, 2 digit supplement bar code object to the TransformationGroup 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" )  
    ' Create a Page and add it to the document 
    Dim MyPage  
    Set MyPage = MyDocument.AddPage() 
    Dim MyTransGroup 
    Set MyTransGroup = MyPage.AddTransformationGroup( 30, 30, 400, 300 ) 
    ' Create a bar code 
    Dim MyBarcode 
    Set MyBarcode = MyTransGroup.AddEan13Sup2( "12345678901212", 50, 50 ) 
    MyBarcode.SupplementalValue = "34" 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing         
%> 

See Also

TransformationGroup Object