Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

26.6. Drawing Lines

When you want to draw a rule on a page, you make an object of the graphic line class. Graphic lines have a lot of properties in common with other page items, so you could do something like this:

tell application "Adobe InDesign CS4"
   tell document 1
      make new graphic line at page 1 with properties { ¬
            stroke weight:1, geometric bounds:{"1i", "1i", "1i", "7i"}}
      make new graphic line at page 1 with properties { ¬
            stroke weight:1, geometric bounds:{"1i", "1i", "10i", "1i"}}
   end tell
end tell


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint