Documentation? And Printing Position?
Everything I try to search for says "Consult the .NET SDK Documentation!"
Where is that installed to? I checked my documents folder and my program files folder, and can't find documentation.
Anyway, What is the best way to control modifying the x & y printing position of a format through VB.net? I have almost everything else already functioning as needed by calling the format, modifying the query prompts, etc. And I have gotten a bit of position adjustment by changing the page margins, but it's not an ideal solution. Thanks,
Edit: I was able to ForEach through the objects on my format... and change the position, HOWEVER, this only appeared to apply to template 1 on my design. I have 5 templates in the document and the loop For Each btObject As BarTender.DesignObject In btFormat.Objects only cycled through the objects on the first template. How can I get it to go to every template?
-
Shotaro Ito
★ BarTender Hero ★
BarTender .net SDK document can be installed via custom install or modify installation.
From Control panel > Programs, select BarTender and modify it, to add BarTender .net SDK.
Usually that's installed in "C:\Program Files\Seagull\BarTender Suite\Help\BTSDK.chm" or "C:\Program Files (x86)\Seagull\BarTender Suite\Help\BTSDK.chm"
As of BarTender 10.1, There's limitation on accessing objects over multiple templates. That should be fixed in future version.
Not the exact same thing, however try add / reduce margins of document from PageSetup object, instead.
0 -
Legacy Poster
★ BarTender Hero ★
I apologize for the delay in responding to this thread > year end vacation.
I was able to get a SMALL amount of adjustment using the margins. Left-right is no issue obviously, but up-down I cannot get much adjustment or the printer just cuts the format off, thinking it's going to go off the physical label. Unfortunately unless I can work around that, I am going to need more top-bottom adjustment for the project I'm working on...
0 -
Legacy Poster
★ BarTender Hero ★
Does not look like I even have access to btFormat.Objects in the newest "examples" of the SDK? Meaning I'm just importing Seagull.BarTender.Print as a reference.
If I instead import BarTender 10.1 as a reference, I can launch a BarTender.Application, open the BarTender.Format, and access some object properties in the format...
0 -
Shotaro Ito
★ BarTender Hero ★
You're right - BarTender .net SDK (Seagull.BarTender.Print) does not support DesignObject - that means you don't have control on object position, color and font in .net SDK. At the moment that can only be done by BarTender ActiveX automation. We have number of requests to enable that in .net SDK and we hope to implement that in future version.
0 -
Legacy Poster
★ BarTender Hero ★
Well thanks for clearing it up so at least I know I'm not missing something.
I must have been doing my previous .NET project "Wrong", as instead of starting the print engine I had starting lines like:
Dim btapp As BarTender.Application Dim btFormat As BarTender.Format
Then I could use For Each btObject As BarTender.DesignObject In btFormat.Objects and at least get through all the objects.
Edit: Okay I see that I was using the ActiveX options from inside VB... maybe I'll just go back to doing that as I really need position adjustments in this project.
So in the recommended .NET implementation (using the print engine), there is no good way to change the x/y print position of the format? I do not consider changing margins to be flexible enough at the moment.
0
請登入寫評論。
評論
5 條評論