Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

How to group rectangle and textFrames

$
0
0

Hi all,

 

I am trying To group one rectangle And textframe In Indesign Server And executing the below code:

 

Dim mygroup As InDesignServer.Group
Dim gparray(1)
gparray.SetValue(CaptionFrame, 0)
gparray.SetValue(rect, 1)
mygroup = IndDoc.Groups.Add(CType(gparray, InDesignServer.Objects))

 

Above line throwing the following exception
'Unable to cast object of type 'System.Object[]' to type 'InDesignServer.Objects'.

 

Regards,

Suresh

 


Viewing all articles
Browse latest Browse all 20709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>