Possible To Add New Designobject Programmatically? 追蹤

0
Avatar
Legacy Poster

A label design requires multiple lines of information which are different depending on what is on the preceding line.

 

Before I design a horrendous label with overlapping objects that will get hidden/made visible and moved programmatically as needed, could someone confirm that neither the ActiveX object (Bartender application format objects) or the .NET LabelFormat classes permit adding new design objects.

 

Regards, Ira

3 意見

0
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.

登入寫評論。