Description

Adds a Ean8, 2 digit supplement bar code object to the Page and returns a New Ean8Sup2 object.

Syntax

Public Function AddEan8Sup2( _
   ByVal CodeValue As String, _
   ByVal X As Single, _
   ByVal Y As Single _
) As Ean8Sup2

Parameters

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

Return Type

A Ean8Sup2 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() 
    ' Create a bar code 
    Dim MyBarcode 
    Set MyBarcode = MyPage.AddEan8Sup2( "1234567012", 50, 50 ) 
    ' Draw the PDF 
    MyDocument.DrawToWeb 
    Set MyPage = Nothing 
    Set MyDocument = Nothing 
%>

See Also

Page Object