Right align text


i'm inserting text textframe using inserttext() of snptextmodelhelper.h , how can right align text right,

or there other api call ?

consider creating para style (or character style) have text right align set.

you can process kapplytextstylecmdboss apply style.

 

use iapplystyledata , irangedata(for text range)

 

using iapplystyledata should set style uid.

data->set(strandclassid, styleuid)

 

strandclassid = kcharattrstrandboss or kparaattrstrandboss

styleuid = para or char style uid



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Illustrator CS6 Ocurrío un error E/S en el archivo.

Why is os_ViewContainer running?

Animate - problem with duplicating scripts after loop