Get Object Location And Dimensions フォローする

0
Avatar
Legacy Poster

Hi,

 

I am currently evaluating BarTender and so far I am very impressed. What would make it perfect is if I can access the location and dimensions of each object in my label e.g. for each text field, get the name, x pos, y pos, width and height in mm programmatically.

 

I have been searching through the available functions in the SDK but I cannot see anything which will let me iterate the labels objects collection to get all of the above information.

 

Does anyone know of a way this can be done with the SDK or in another way e.g. export to a different format which would then let me get to this level of information?

 

Thanks,

 

Mark

2 コメント

0
Avatar
Ian Cummings
モデレータ
コメントアクション Permalink

From an external application this is support via the COM interface: http://help.seagullscientific.com/2016/en/#../Subsystems/ActiveX/Content/DesignObject_Object.htm

 

The same functionality is available internally to BarTender via its VB script functionality: http://help.seagullscientific.com/2016/en/#../Subsystems/BTVBScript/Content/sor_template_objects.htm

 

Unfortunately, this has not yet been implemented in the .NET SDK.

0
Avatar
Legacy Poster
コメントアクション Permalink

Perfect, thank you!

ログインしてコメントを残してください。