跳至主內容

搜尋

搜尋

Possible To Add New Designobject Programmatically?

評論

4 條評論

  • Avatar
    Domingo Rodriguez
    版主

    This is correct, you currently cannot create new BarTender objects programmatically. You can modify the properties for existing BarTender objects using the DesignObject object in ActiveX Automation, but creating them from scratch isn't possible.

     

    You would better look into our multiple templates per document (10.0 Version of BT or higher) or the multiple layers per template (v10.1) features, as both templates and layers can be conditionally printed.

     

    Furthermore, if a certain BarTender object contains several data sources, some of these data sources can be supressed depending on the previous or next data source or even depending on a different condition. You can find this option in BT v10.1 by opening the object properties, selecting the data source on the left node, then the "Transforms" tab on the right node and finally the "Suppression" option.

    0
  • Avatar
    Legacy Poster

    This is for a template whose content and formatting varies based on the data at runtime (using automation in a web application, 10.1 enterprise). There are 14 rows of information with either 9 or 5 columns of data all of which need shrink to fit.

     

    I have explored RTF (mostly works, cumbersome to maintain), XML (the JavaScript is not running reliably when the label is formatted), and XAML (TextBlock just does not let auto sizing work as I need it) as possible alternatives. None of these work reliably with the need to have a tabular grid with column headers.

     

    I already use layers to keep the design manageable. If the designer could be automated, then creating 63 template in the label would be ok. Doing that manually is not reasonable. The label is proprietary to my client, but I can send it directly to support if someone wishes to tell me a better way.

     

    Regards and thanks for the response, Ira

    0
  • Avatar
    Domingo Rodriguez
    版主

    You can try and contact your corresponding Seagull office by email and refer to this forum question when you attach your BarTender document and also the end-user (and yours) registration detail, including the product key code for their BarTender license: http://www.seagullscientific.com/label-software/technical-support.aspx#contact

     

    We might be able to come up with a better suggestion.

    0
  • Avatar
    Ettore Maronese

    Hello,

    It has been 8 years and I would like to know if now with the new version 2022 it is possible to create objects programmatically

    Thanks 

    Ettore

    0

登入寫評論。