How convert CMYK to UID Color?


this code set text color:

uid textcolor=13;

interfaceptr<iattrreport> attr11(snptextattrhelper::createtextattribute<itextattruid, itextattruid::valuetype>(ktextattrcolorboss,textcolor));

but if value input is cmyk (c=100,m=50,y=10,k=10), rgb (r=255,g=100,b=50),...

how convert cmyk,rgb uid color?

thanks all.

search matching color in swatch list.

if can't find in swatch list, create new color , add swatch.



More discussions in InDesign SDK


adobe

Comments

Popular posts from this blog

Reader DC

Adobe InDesign CC 2017 has stopped working

PDFMaker Office COM Addin will not stay enabled