Skip navigation
Currently Being Moderated

How to draw vertical lines that are visible in preview mode?

Jun 21, 2012 10:16 AM

Tags: #indesign #plugin #lines #line_tool #spline #preview_mode #line_spline

Hi all,

 

I need to draw vertical lines on a document. The lines must be same as we draw using line tool.

I could draw the line using CreateLineSpline() method of IPathUtils.

The problem is that these lines are not visible in preview mode. Please tell how can we make lines that are visible in preview mode.

Please help, I'm running out of time.

 
Replies
  • Currently Being Moderated
    Jun 22, 2012 5:10 AM   in reply to Daves61

    CodeSnippetRunner has the answer:

     

    Utils<IPathUtils>()->CreateLineSpline

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 23, 2012 4:48 AM   in reply to Daves61

    As I understand it, this command should create a regular path which you can stroke, fill, select etc.

     

    If it's visible in normal mode but not in Preview, did you forget to set a stroke or fill to it?

    Can you select it and *then* set a stroke or fill to it?

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points