Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Monday, January 8, 2018 2:18:56 PM(UTC)
Anthony Northrup

Groups: Registered, Tech Support, Administrators
Posts: 199

Was thanked: 28 time(s) in 28 post(s)

Attached is a simple Javascript annotations demo using LEADTOOLS 20 that demonstrates how to set the default properties for AnnObjects by altering the ObjectTemplates:

https://www.leadtools.com/help/leadtools/v19/dh/javascript/aa/leadtools.annotations.automation~leadtools.annotations.automation.annautomationobject~objecttemplate.html

This demo changes the AnnTextObject, but you can change the default templates of all the AnnObjects in the same manner by just changing the AnnObject ID accordingly.

This demo can also help with getting started with LEADTOOLS annotations as the demo demonstrates the minimum code you need to get the Javascript annotations working properly.

This example for LEADTOOLS 19 can be found here: https://www.leadtools.com/support/forum/posts/m41941-HOW-TO--Set-the-Default-Properties-of-an-AnnObject-in-Javascript
Anthony Northrup
Developer Support Engineer
LEAD Technologies, Inc.

LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.045 seconds.