LEADTOOLS Support
Document
Document SDK Questions
HOW TO: Set the Default Properties of an AnnObject in Javascript
#1
Posted
:
Wednesday, April 27, 2016 11:33:15 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 71
Was thanked: 4 time(s) in 3 post(s)
Attached is a simple Javascript annotations demo using LEADTOOLS 19 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.
Aaron Brasington
Developer Support Engineer
LEAD Technologies, Inc.
![LEAD Logo LEAD Logo](https://www.leadtools.com/images/new-site-images/leadtools-logo-header.png)
LEADTOOLS Support
Document
Document SDK Questions
HOW TO: Set the Default Properties of an AnnObject in Javascript
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.