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 : Thursday, August 15, 2013 10:49:19 AM(UTC)

JamesD  
Guest

Groups: Guests
Posts: 3,049

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

Attached is a sample project that demonstrates how to modify the Font Family attributes of an AnnTextBox drawn using Annotation Automation.

The demo allows you to choose from a few predefined font families, and use the selected font family when drawing a new AnnTextBox to the AnnAutomation.

This project demonstrates usage of the Javascript Implementations of:
Leadtools.Controls.ImageViewer
Leadtools.Annotations.Automation.AnnAutomation
Leadtools.Annotations.Core.AnnTextObject
Leadtools.Annotations.Core.AnnFont
Leadtools.Annotations.Core.AnnFont.set_fontFamilyName
Leadtools.Annotations.add_selectedObjectsChanged handler

The attached project includes a Visual Studio 2012 Solution and Project.
File Attachment(s):
v18-HTML5-AnnTextBox-FontFamily-Example.zip (726kb) downloaded 22 time(s).
 

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-2017, Yet Another Forum.NET
This page was generated in 0.169 seconds.