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

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.

CodeSnippetRunner has the answer:
Utils<IPathUtils>()->CreateLineSpline

Similar Messages

  • How to draw vertical lines in SMART FORMS

    Hi Guys,
    Can anyone please let me know how to draw vertical and horizontal lines in smart forms, i have to do this in the secondary window.
    thanks,
    Ramesh

    Hi Ramesh,
    In the window output options you have option of check box to get lines.
    Then you need to give the spacing for vertical and horizontal.
    Another option is putting a template on window and getting the boxes, but it is quite little bit complex.
    Put the cursor on the WINDOW in which the lines you want.
    Right click on it>create>complex section.
    In that select the TEMPLATE radio button.
    Goto TAB TEMPLATE.
    Name: give some name of line.
    From: From coloumn.
    To: To coloumn
    Height: specify the height of the line.
    Next give the coloumn widths.
    Like this you can draw the vertical and horzontal lines.
    If the above option doesnot workout then u can try the below option also
    any how you can draw vertical and horizontal lines using Template and Table.
    for Template First define the Line and divide that into coloumns and goto select patterns and select the required pattern to get the vertical and horizontal lines.
    For table, you have to divide the total width of the table into required no.of columns and assign the select pattern to get the vertical and horizontal lines.
    if this helps, reward with points.
    Regards,
    Naveen

  • How to have vertical lines in NSTableView?

    how to draw vertical lines in NSTableView? thanks.

    Where do you want to draw them? If you're referring to vertical lines where two columns meet, it's just a setting in Interface Builder, though you can do it programmatically too. Select the NSTableView in Interface Builder and click the checkbox for "Vertical Lines".
    You can do it programmatically as follows:
    to have vertical lines:
    [tableView setGridStyleMask: NSTableViewVerticalGridLineMask];
    to remove vertical and have no lines:
    [tableView setGridStyleMask: NSTableViewGridNone];
    Hope this helps....
    Dual 2.7 GHz PowerPC G5 w/ 2.5 GB RAM   Mac OS X (10.4.6)  

  • How to draw a line of sin x and its area under the line?

    Hi,
    I know how to draw a line from two points. However, I do not know how to draw a line of function sin(x) and its area under the line. Anyone know where to read or how can I draw it, please help me. Thanks !!
    Calvin

    use Graphics2D:: draw(Shape)
    create a class that implements Shape, and specifically the getPathIterator methods, in these methods you should return a path iterator that follows the sin/cos curve.
    All fairly simple to do.
    rob,

  • How to type vertical line on macbook pro keyboards?

    Please tell me how to type vertical line on macbook pro keyboards?

    (1) It sounds like you might be using a Spanish keyboard. You should specify this to begin with. Unless you do, the default assumption is that you're using a US keyboard. The advice you received is correct for the US keyboard.
    (2) To see how to enter any character available with your current keyboard, enable Keyboard Viewer, as described here
    <http://docs.info.apple.com/article.html?path=Mac/10.7/en/mh35878.html>
    (3) There is no "alt" key on a Mac keyboard. You are talking about the Option (⌥) key. See (search for "Alt key" in)
    What's it called on my Mac?
    <http://docs.info.apple.com/article.html?path=Mac/10.7/en/cpmh0038.html>
    Switch 101: On Windows, I used to...
    <http://support.apple.com/kb/HT2514>
    (4) My advice is move on from Fraise. AFAIK, it's dead. Try TextWrangler, which is free and more capable.

  • How to draw a line using JSP?

    Does anyone know how to draw a line using a JSP? Any help is much appreciated.
    Regards,
    Navin Pathuru.

    Graphics classes are useless in JSP files; you can only output HTML tags to the client browser.
    You should be able to give just about any presentation look that you need with HTML and CSS. Have you played with styles? Here's a simple example that works in IE 5+ and Netscape 4.7:
    <HTML>
    <HEAD>
    <STYLE>
    .box {
    border-style:solid;
    border-color:black;
    border-right-width: 1px;
    border-top-width: 1px;
    border-left-width: 1px;
    border-bottom-width: 1px;
    .line {
    border-right-width: 1px;
    border-top-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-style: solid;
    border-color: red;
    width:1pt;
    height:100%;
    </STYLE>
    </HEAD>
    <BODY>
    <TABLE CELLPADDING=1 CELLSPACING=0 WIDTH=100>
    <TR><TD ALIGN=CENTER><SPAN CLASS="box">Field One</SPAN></TD></TR>
    <TR HEIGHT=50><TD ALIGN=CENTER><SPAN CLASS="line">�</SPAN></TD></TR>
    <TR><TD ALIGN=CENTER><SPAN CLASS="box">Field Two</SPAN></TD></TR>
    <TR HEIGHT=50><TD ALIGN=CENTER WIDTH=50%><SPAN CLASS="line">�</SPAN></TD></TR>
    <TR><TD ALIGN=CENTER><SPAN CLASS="box">Field Three</SPAN></TD></TR>
    </TABLE>
    </BODY>
    </HTML>
    Have fun!

  • How to stop vertical line between columns repeating in 2nd column

    Hi there,
    I have a report in which the details sections are repeated over 2 columns. I want to have a vertical line going down between the columns, however I don't seem to be able to place the line in the "dead space" between the sections, so I end up with the line repeated at the right hand side of the second column.
    Can anyone suggest how to draw the line independently of the columning format?
    thanks
    -KarenB

    oh duh! of course! The problem only started when I shortened the line to the last details section while trying to fix another problem... thanks for the tip! All fixed.
    cheers
    -KB

  • How to draw horizontal line in smartform after end of the all line items

    Hi Friends,
    I am working on the smartform. I have created TABLE node in Main window.
    i want to draw a horizontal line after end of the main window table node. i mean after printing all the line items of the table, I need to print one horizontal line.
    Could you please help me how to resolve this issue.
    FYI: I tried with the below two options. But no use.
    1. desinged footer area in the table node of the main window.
    2. tried with uline and system symbols.
    please correct me if i am wrong. please explain in detail how to draw horizontal line after end of the main window table.
    this is very urgent.
    Thanks in advance
    Regards
    Raghu

    Hello Valter Oliveira,
    Thanks for your answer. But I need some more detail about blank line text. i.e thrid point.
    Could you please tell me how to insert blank line text.
    1 - in your table, create a line type with only one column, with the same width of the table
    2 - in table painter, create a line under the line type
    3 - insert a blank line text in the footer section with the line type you have created.

  • ICal events that are visible in Week/Month views but not day view!

    I manage our iCal services for 10 users via iCal server. Everyone has their own calendar and then delegates read/write access as appropriate. In what seems to be a very random and not very reproducible problem we have a few events that are visible from week view and month view, but the event doesn't show up in day view. This is a huge problem when scheduling if we don't see other events in day view and it's a real pain to have to switch views to double check.
    Anyone else have this problem?
    Anyone know the specifics that cause it, so I can prevent it?
    Any fix for said issue?
    Thanks!

    If they are in photos view then they are in an event unless you have a corrupted library
    How are you"merging" the photos?
    most common issue is either bad sort (view menu ==> sort events) or bad camera dates
    select one and show event to see the event
    LN

  • How to draw horizontal line at the end of table for multiple line items

    Dear Experts,
                       Pls can anyone help me how to draw horizontal line at the end of table for multiple line items . kindly help me regarding this
    Thanks
    Ramesh Manoharan

    Hi
       I tried as per your logic but it is not solving my problem .  when i am gone to table painter it is showing line type 1 and line type 2
      is below format.. if u see here line type 1 bottom line and line type 2 top line both are same..  so how to avoid this ?
                              line type 1
                             line type 2

  • How to print vertical lines for line items?

    hi experts,
                    can any one tell me how to print vertical lines for line items in ascript?
    ive tried using sy-vline but its printing jus one line each for each item .i want it in columns ?if there are any control commands plz let me know how to print?
    thanks &regards
    narendar

    hi narendar,
    Welcome to SDN.
       u can go for box command.
    Use the box command with zero width for vertical lines.
    Position the line by x position and y postion.
    syntax :
    BOX <xpos> <ypos>
           <width>
          <height>
          <thickness in twips> twips.
    Regards,
    Arun.
    Reward points if useful.

  • Screen has a vertical line that flickers sometimes... please help

    My screen suddenly had a vertical line that flickers (sometimes), it's green. I don't know how it got there and where did it come from. It just suddenly appear. I left my computer running (and at that time the line wasn't there) as I was waiting for an email to come through but when I got back to it, it had the line. I've restarted my computer but it was still there. What could be the problem and how to fix it? Please help. Thanks.

    Open up your OS Help Menu. In the search field type display.
    Search among the troubleshooting topics & click on the one(s) that pertain to your issue.
    If you have AppleCare you may wish to take advantage of same and/or Chat with a Support Agent. The online chat support is available 24 hours a day, 7 days a week.

  • Need help forming randomly colored lines, that are equidistant(ex included)

    My assignment: The
    top-right cell requires horizontal lines that are equidistant in the cell. Each line is 10 pixels apart. Additionally, the lines need to be colored randomly in any possible red, green and blue range.
    example: http://i68.photobucket.com/albums/i35/stxda/example.jpg
    (example of what I need to do)
    what I have now: http://i68.photobucket.com/albums/i35/stxda/current.jpg
    I have all the lines coded for the top right cell, but I do not know how to get the colors random. I only know how to set all the lines to one single color.
    Below is my coding:
    (please try this out and help me code it)
    my AIM screen name is sTxDa if there are any questions/comments
    import java.awt.*;
    import java.applet.*;
    import java.util.*;
    public class Lab06G90 extends Applet
    public void paint(Graphics g)
    // BELOW is for the top left cell and box (which is int a and the box's frame)
    int width = 800;
    int height = 600;
    g.drawRect(10,10,width,height);
    g.drawLine(410,10,410,610);
    g.drawLine(10,310,810,310);
    for (int a = 20; a <= 400; a += 10)
    g.drawLine(a,20,a,290);
    // BELOW is for the top right cell, which is int b. so far
    // i've only done the lines, and not yet the random colors
    for (int b = 10; b <= 290; b += 10)
    g.drawLine(420,b,800,b);
    }

    but I do not know how to get the colors randomUse the Random class.

  • Read sql error log, skip lines that are in a exception list

    Could someone help, I am creating a nice powershell script to read a sql server log file but to skip lines that are normal in a sql server. the "normal lines are held in a SQL table.
    To expand.
    I run a query to get the list of exception lines using invoke-sqlcmd  this creates $TextEXP
    this will contain things like "Microsoft Corporation", "All rights reserved", "Starting up Database"
    I then connect to a sql server using SMO and want to read in the error log where the text is not matched the values in $textExpI want to avoid reading extra data and process it. I have a work round but its not a nice clean as its hardcoded the match.
    $ENV =$srv.ReadErrorLog()
    |? {  $_.text
    -notmatch'This
    is an informational message only'-and$_.text
    -notmatch'No
    user action is required'-and$_.text
    -notmatch'found
    0 errors'-and$_.text
    -notmatch'Microsoft
    Corporation.'-and$_.text
    -notmatch'All
    rights reserved.'-and$_.text
    -notmatch'Server
    process ID is'-and$_.text
    -notmatch'System
    Manufacturer: '-and$_.text
    -notmatch'Starting
    up database'-and$_.text
    -notmatch'Using
    ''dbghelp.dll'' version'-and$_.text
    -notmatch'Authentication
    mode is'-and$_.text
    -notmatch'Logging
    SQL Server messages in file '-and$_.text
    -notmatch'Setting
    database option'-and$_.text
    -notmatch'The
    error log has been reinitialized. See the previous log for older entries'-and$_.text
    -notmatch'Server
    is listening on '-and$_.text
    -notmatch'Registry
    startup parameters:'-and$_.text
    -notmatch'Clearing
    tempdb database'-and$_.text
    -notmatch'Service
    Broker manager has started'-and$_.text
    -notmatch'The
    Service Broker protocol transport is disabled or not configured'`
    -and$_.ProcessInfo
    -notmatch"Logon"-and$_.logdate
    -ge$Sdate}

    So after some looking about on the web I found that you can use the | in a string
    the following will give an idea of how to use this (this is not a clean bit of code but will give you a starting point)
    $TextEXP  this is a data table from sql server with the list of values I want to skip
    The field name (col name) is extext
    Set the string to be empty
    $exclusions = ""
    #Create a string with the values in $TextExp
    Foreach($value in $TextExp){
    $exclusions = $exclusions + "$($value.extext)|"
    #remove the last pipe from the string
    $exclusions = $exclusions.substring(0,$exclusions.length-1)
    ##This will create a long string value|value|value###
    $err = $srv.readerrorLog() | ?{$_.text - notmatch $exclusions}
    ###end
    May need bit of a clean up and may be a better way but seems to do what I need for now.
    Thanks all for the help

  • HT1751 how do i move songs that are in separate albums into the same album?

    how do i move songs that are in separate albums into the same album?

    Of course it should, but if it doesn't do you want fix it or leave it broken? iTunes draws on the CDDB database for track details. That database is incomplete, contains errors, and isn't explicitly designed to be "iTunes friendly". If you download an album from the iTunes store then the tracks should normally be grouped together, although there are ways of sorting the Songs view that will always break things up. If you purchase from Amazon, elsewhere, or rip your CDs then you may sometimes need to make a minor update to the tags to tidy things up. Which workaroud is needed depends on context, but the most common one of setting an Album Artist takes a few seconds.
    tt2

Maybe you are looking for

  • Partially restoring data

    I want to reinstall my macbook pro. with this new install i want to restore some information from my time machine backup, but not all. Is it possible to "go back in time" from the fresh installation and collect some of the the files from the last ins

  • Abap_Session_in_background

    I have an ABAP program that creates a batch input session. I need to submit the program and the batch session in background. How to do it? Thank You

  • Table data  transfer question

    Hello, Hi, There are 2 tables accounts and rpt_accounts ( Notice that table names are different ) Accounts                     id name 1 vishal 2 gufran 3 mazil Rpt_accounts id name 1 vishal 2 ibrahim (Notice that id 2 has different name and there is

  • My iMac is running very slowly when trying to retrieve data from the internet.

    Safari hangs on all web pages, take at least 15mins to download a single page.  Connecting iTunes Store hangs indefinitely. I am running OS X 10.7.5. All other devices connected to my router have no problems accessing the web including NetFlix throug

  • Safari/Mail crashing after upgrading to Mountain Lion

    safari crashes frequently, especially after trying to save passwords in the upgrade.  mail when i try to add my gmail account crashes as well.  any fixes, or is this a bug that will updated shortly?