Home Search Sitemap Legal Notice Contact
 

 

List & Label

Programming Example



 "Create a new project including a report container and table, called Products, and fields:", here in C#:

 

Proj.Open( @“c:\Reports\artikel.lst”LlDomFileMode .Create,
      LlDomAccessMode .ReadWrite, true );

ListLabelDomObjectReportContainer container= new
      ListLabelDomObjectReportContainer (Proj.Objects);

container.Position.Left = “0” ;
container.Position.Top = “0” ;
container.Position.Width = “150000” ;
container.Position.Height = “200000” ;

ListLabelDomSubItemTable table = new ListLabelDomSubItemTable
      (container.SubItems);
table.TableID = “Products” ;

ListLabelDomTableLineData dataLineNew = new
      ListLabelDomTableLineData (table.Lines.Data);
dataLineNew.Name = “Created dynamically” ;

ListLabelDomTableFieldText textCol = new
      ListLabelDomTableFieldText (dataLineNew.Fields);
textCol.Contents = “Product.No” ;

ListLabelDomTableFieldBarcode barcodeCol = new
      ListLabelDomTableFieldBarcode (dataLineNew.Fields);
barcodeCol.Contents = “Barcode(Product.No, ‘PDF417’)” ;

Proj.Save();
Proj.Close ();

 
 
© 2008 combit GmbH. All rights reserved. Please read our Notes on Data Protection. Changes and errors may occur.
Mr. Wong Del.icio.us Oneview StumbleUpon Technorati