Image in wordreport tabale cell

Hi,
I m trying to insert image into my desired  cell of my wordreport table,it is being inserted but into cells other than my described cell.How can i insert it in any cell   that in which i  want.I am going into my desired cell by Gotocell number function and Gotonext cell functions than after reaching into my desired cell of the table  i insert image with the function insertimageincell,it is being inserted but not in that cell where i reside at that time.
How can i fix this problem please?
Imran from lovely pakistan.
Solved!
Go to Solution.

Hi Emran,
I am sorry that I did not see this post earlier, but I have been away from the forums for a few weeks. I actually know the exact issue you are facing and it is a bug that we fixed in CVI 2012. The problem is with the GoToCell function working correctly in newer version of Microsoft Word. If you cannot upgrade to CVI 2012, there are a couple of options to work around it. 1) Use a Word doc with the 97-2003 file format. You can create a blank Word document and select Save As >> Word 97-2003 Document. If you load this Word doc instead of creating a new one, the GoToCell function will work properly. Likely, you do not need the features of the later version of Word anyway. 2) Alternatively, you can use the WriteToCell function with a blank string instead of GoToCell. WriteToCell lets you specify which cell to write to. Once it writes the string, it leaves the cursor there which allows you to then place your image.
This is related to known issue with bug ID 335556.
National Instruments
Product Support Engineer

Similar Messages

  • Help needed to add an image to a datagrid cell in actionscript

    Morning all,
    I am still quite new to flex development and I have an application which uses xml to populate a datagrid. One of the row columns should display a small image but I don't know how to do that.
    Can anyone show me how to add an image to a datagrid cell in actionscript?
    I've added a sample of the code I have written already below. Any help would be much appreciated.
    Thanks in advance,
    Xander
    My XM
    <?xml version="1.0" encoding="UTF-8"?>
    <dataset>
    <modules>
    <module id="1">
    <icon>assets/sample_image1.png</icon>
    <key>core</key>
    <name>Core</name>
    <description>Description of module</description>
    <installed>Wednesday, 24th June 2009 @ 15:59 UK</installed>
    </module>
    <module id="2">
    <icon>assets/sample_image2.png</icon>
    <key>webproject</key>
    <name>Web Project</name>
    <description>Description of module</description>
    <installed>Wednesday, 24th June 2009 @ 17:32 UK</installed>
    </module>
    </modules>
    </dataset>
    My Actionscript
    private function dataSetHandler(event:Event):void {
        var ds:XML = new XML(event.target.data);
        var rows:XMLList = ds.elements('modules').elements('module') as XMLList;
        var columns:Array = new Array();
        for (var i:int=0; i<rows[0].elements().length(); i++) {
            var column:DataGridColumn = new DataGridColumn();
            var tag:String = rows.*[i].name();
            column.headerText = rows.*[i].name();
            column.dataField = rows.*[i].name();
            if (tag == 'icon') {
                var img:Image = new Image();
                img.id = "iconpath";
                img.width = 23;
                img.height = 20;
                img.source = rows.*[i].name();
               column.itemRenderer = img;   <-- this line shows as an error when I try to compile
            columns[i] = column;
        mydatagrid.columns = columns;
        mydatagrid.dataProvider = rows;

    you cant just set image object to itemrenderer, you need to use classfactory.
    http://livedocs.adobe.com/flex/3/html/help.html?content=cellrenderer_4.html

  • Scaling of images in a table cell

    Hi,
    I have an issue aboute the scaling of images in a table cell. The table layout is fixed but the images can vary. I tried to transform the images but every time the transformation matrix has a scaling != 1.0 the function results in an error.
    The following code is used.
    PageItem pi = myCell.getNthChildPageItem(0);
    TransformationMatrix[] matrix = pi.transformValuesOf(kCoordinateSpacesInnerCoordinates.value);
    TransformationMatrix scalemat = matrix[0].scaleMatrix(OptArg.makeDouble(0.5), OptArg.makeDouble(0.5));
    Unit[] matValues = UnitUtils.createDouble(scalemat.getMatrixValues());
    pi.transform(
    enums.kCoordinateSpacesInnerCoordinates.value,
    VariableTypeUtils.createEnumeration(enums.kAnchorPointCenterAnchor.value),
    VariableTypeUtils.createUnitList(matValues),
    OptArg.makeVariableType(VariableTypeUtils.createEnumeration( enums.kMatrixContentScaleValues.value ) ),
    OptArg.noBoolean()
    Any suggestions?
    Regards,
    tom

    Hi!
    You may try to vary the settings for property "type"
    navigation
    function
    reporting
    result
    If this does not help to solve your issue open a ticket at SAP Support.
    There are several UIElements which show such a behaviour and you have no (documented) chance to change this.
    Hope this helps.
    Regards,
    Volker

  • 2 questions - change image size within print cell, and saving print template w/ specific images

    Hi,
    Searched the forums for the answer to these but couldn't find much.
    1. Is there a way to change the image size within a cell (under print module). For example, zoom in 140% on a a specific image but still have it within the original cell size?
    2. Say I create and fill in an elaborate print template with my images - is there a way to save the FILLED IN version of the template to edit at a later time? For example if I wanted to load it back up w/ all the original images layed out in the print template, but maybe change a few and resave as jpeg?
    Thank you!

    Hi
    I'm not sure but maybe you can use a rectangle to hold the .ai image, resize the rectangle and fit proportionally the image inside it
    hope this help
    Eli

  • How to insert an in-line image into a table cell using Pages on OS X?

    How can I insert an image into a table cell using Pages (OS X) without it becoming the cell background? I want it to be a regular in-line image, but can't figure out how to do this for the life of me. Thanks!

    Welcome to Discussions.
    To insert an image into a cell, select the cell, then go to the Graphics Inspector and from the Fill drop down choose Image Fill and then select then image you want. You can now select from a new drop down how you want the image to fit.
    Walt

  • How do I import multiple images into single individual cells?

    Hi folks,
    I'm new to the Mac (yeah!) and imagine there just has to be a way to import a bunch of images into separate cells in Mac "Numbers" ... am I right?
    Essentially what I'd like to do is a file folder with 600 images in it, and import those directly into Mac Numbers with one picture being assigned to it's own cell. So if below were a spreadsheet it would look like this:
    Actual Picture - Picture Name - Item Description ... and so on.
    I'm trying to work with inventory items, and this is the only way I can think of doing it. Suggestions!?!?
    Here is a link to creating a macro in Excel to do a similar thing:
    http://en.kioskea.net/forum/affich-269046-adding-a-loop-to-macro-to-insert-pictu res
    Thanks for your help.
    D

    D,
    I guess you're taking another shot at getting a response. You risk getting parallel discussions going with the same content.
    What you are contemplating seems logical enough, but I think you will find that it is impractical in Numbers. Given the size of photograph files these days, you will choke Numbers in short order. You will have to be careful that you embed only photos large enough to be of use/viewable, and keep your full-sized copies elsewhere. You might find that an Apple Script can do the import for you, but otherwise it's drag and drop from the Media Browser.
    Jerry

  • How to show image in a datagridview cell called from a URL stored in an SQL database

    I am using Visual Studio 2008 creating a Windows Form to display a datagrid with real estate information. The SQL database record contains a dozen fields of text which I have no problem displaying. My problem is one of the columns contains
    a url which links to a picture on a remote third party server. I need to display a thumb nail picture on the grid row based on the stored url. When I edit the gridview column I see there is a "column type" setting and
    in the dropdown is DataGridViewImageColumn. I don't see any URL setting where I can bind the sql field to. 
    Any help would be greatly appreciated.

    Hi ikeni,
    I think you could do as below:
    1.Set the ColumnType as “DataGridViewImageColumn”
    2.For each row of the datagridview, and set the Value of datagridview cells like  “dataGridView1[2, 0].Value = Image.FromFile(@"\\1.168.1.1\C$\Users\Desktop\3.JPG")”
    You could turn to the links below for more information:
    setting an Image column in a datagrid view based on a value in the database c#
    https://social.msdn.microsoft.com/Forums/windows/en-US/62f5b477-5311-4de5-bc18-fbd29bbfc9e2/setting-an-image-column-in-a-datagrid-view-based-on-a-value-in-the-database-c?forum=winformsdatacontrols
    Check if file exists on remote server and various drive
    http://stackoverflow.com/questions/26432688/check-if-file-exists-on-remote-server-and-various-drive
    If you have any further questions, please feel free to post in this forum.
    Best Regards,
    Edward
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

  • Re: How to display an image in a  grid cell and drag and drop

    hi all,
    i have the code to create cells in the rectangular box and it will display the positions of each cell on mouse click.
    can we place an image in one cell and drag that image to other cells. can we do this,,
    can any one know about this,
    reply's are appreciated,
    regards,
    hari

    This was given in reply 3 on this thread.

  • How to display images in a Jtable cell-Urgent

    Hay all,
    Can anybody tell me that can we display images to JTable' cell,If yes the how do we do that(with some code snippet)? Its very urgent .Plz reply as soon as possible.

    Here is an example
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    class SimpleTableExample extends JFrame
         private     JPanel  topPanel;
         private     JTable  table;
         private     JScrollPane scrollPane;
         public SimpleTableExample()
              setTitle( "Table With Image" );
              setSize( 300, 200 );
              setBackground( Color.gray );
              topPanel = new JPanel();
              topPanel.setLayout( new BorderLayout() );
              getContentPane().add( topPanel );
              // Create columns names
              String columnNames[] = { "Col1", "Col2", "Col3" };
              // Create some data
              Object data[][] =
                   { (ImageIcon) new ImageIcon("User.Gif"), (String) "100", (String)"101" },
                   { (String)"102", (String)"103", (String)"104" },
                   { (String)"105", (String)"106", (String)"107" },
                   { (String)"108", (String)"109", (String)"110" },
              // Create a new table instance
    DefaultTableModel model = new DefaultTableModel(data, columnNames);
              JTable table = new JTable( model )
                   public Class getColumnClass(int column)
                        return getValueAt(0, column).getClass();
              };          // Add the table to a scrolling pane
              scrollPane = new JScrollPane( table );
              topPanel.add( scrollPane, BorderLayout.CENTER );
         public static void main( String args[] )
              SimpleTableExample mainFrame     = new SimpleTableExample();
              mainFrame.setVisible( true );
    }

  • Placing text beside image in a table cell?

    I'm creating business cards (using a Printworks template), and I want to place text to the right of the inserted picture.
    I've copied and pasted the jpg fine onto the left side of the cell, yet when I try to type text, the cursor only lets me begin typing at the bottom right side of the photo, not up at the top right side, where I want the info to start.
    Further, when I try to insert a Text Box into the cell, it won't go inside.
    So, my question: *How do I get image and text together inside a table cell?*

    I made an ultimate test.
    I grouped a jpeg picture and a shape in which I inserted a piece of text. You may see it on the screenshot.
    I inserting the group in the cell hoping that the group will be correctly displayed.
    Nada, only the picture appears.
    If I select the object embedded in the cell, copy it, paste it in an other location, I may ungroup it but the now separated shape no longer contains the original text
    Yvan KOENIG (VALLAURIS, France) lundi 7 juin 2010 17:55:18

  • Can I Place an Image in a Table Cell?

    I have a table in ID CS3. Can I place an image in one, or more than one, table cell? I see a place to manage fills, but don't see an option for images.

    I am working on a calendar project and variously want to: (1) put an individual image in a box, (2) put a continuous image behind more than one box like two dates side by side, (3) put a continuous image in multiple boxes that although they constitute a multiple of boxes, might not be rectangular, (4) put text over any or all of the preceeding.
    I can places gridlines on the page, create text and image boxes for for each date, and the join the images boxes as necessary. Then for the box lines I could use an empty table or I could draw them individually and group them. This would get me what I want. I just thought this might be done easier with a table.

  • Background Image repeating for table cells

    I am trying to put different images as the background to all
    the cells in a table, so I can put text over the top of them, but I
    cant have an image without it repeating. Ive tried going into the
    code and adding background-image: "no-repeat" but that hasn't
    worked. I know nothing of CSS and it seems really confusing - so if
    this is the answer please give me CSS for dummies instructions.
    Layers drive me bonkers as no 2 browsers display them in the same
    place.
    URL is:
    http://www.visionsportsmedia.com/BillyTestSite/test
    At the moment only cell one is a background image, the rest
    are images inserted normally.
    Hope you can help.
    Thanks.

    Your question reflects the confusing mess your life will be
    if you persist
    with web authoring without taking the time to learn some HTML
    and CSS.
    You have -
    <th height="351" colspan="6" "scope="col">
    Note the extra doublequote just before 'scope'.
    Also note that your preloads (look at the body tag) as well
    as your image
    swaps (look elsewhere - everywhere you see 'file:///') are
    all broken -
    pointing to files on your hard drive. Finally, you might want
    to just think
    about making a page where there is no readable content
    (everything here is
    in images). It will get a zero search engine ranking....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "little bob" <[email protected]> wrote in
    message
    news:gqo8jh$ejo$[email protected]..
    >I am trying to put different images as the background to
    all the cells in a
    > table, so I can put text over the top of them, but I
    cant have an image
    > without
    > it repeating. Ive tried going into the code and adding
    background-image:
    > "no-repeat" but that hasn't worked. I know nothing of
    CSS and it seems
    > really
    > confusing - so if this is the answer please give me CSS
    for dummies
    > instructions. Layers drive me bonkers as no 2 browsers
    display them in the
    > same
    > place.
    >
    > URL is:
    http://www.visionsportsmedia.com/BillyTestSite/test
    >
    > At the moment only cell one is a background image, the
    rest are images
    > inserted normally.
    >
    > Hope you can help.
    >
    > Thanks.
    >

  • Center image vertically in a cell

    New to DW....
    I have an image in a cell that I want to center vertically -
    can't figure
    out how. Is this done through CSS? If so, what property and
    value to I
    use?
    Thanks!

    On Tue, 9 Jan 2007 09:40:14 -0600, "Beverly"
    <[email protected]>
    wrote:
    >New to DW....
    >
    >I have an image in a cell that I want to center
    vertically - can't figure
    >out how. Is this done through CSS? If so, what property
    and value to I
    >use?
    >
    >Thanks!
    >
    does this help ?
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8" />
    <title>Untitled Document</title>
    <style>
    .table img {vertical-align:middle; }
    </style>
    </head>
    <body>
    <p> </p>
    <table width="95%" border="1" cellspacing="1"
    cellpadding="1"
    class="table">
    <tr>
    <td ><img src="images/image1.jpg" width="184"
    height="275"
    alt="alt text" /></td>
    <td><img src="images/image2.jpg" width="139"
    height="181" alt="alt
    text 2" /></td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td> </td>
    <td> </td>
    </tr>
    </table>
    </body>
    </html>
    ~Malcolm N....
    ~

  • Problem with images inside of table cells

    I've run into a problem on this web page:
    http://www.solidrocknet.org/index2.html
    The the background of the table cells which contain an image
    is showing
    through in the form of a strip at the bottom of the cell. You
    can see
    this as a black strip in the cells which contain the logo
    graphic,
    centerpiece photo, and the photo strip and as a blue strip
    under the 4
    separate photos on the bottom.
    These problems are appearing in Firefox. It almost looks
    correct in
    IE6/7 except that the blue strip appears under the bottom
    photos.
    Can anyone see what I am doing wrong?

    The best practice is to include -
    a img { border:none; }
    in your CSS so that any image inside an anchor tag is
    prevented from having
    the border.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "K0rrupt" <[email protected]> wrote in
    message
    news:f5i5fc$bhp$[email protected]..
    > sometimes browsers like to display a blue lines around
    pictures. So as
    > good practice you should add it.
    >

  • Image does not fit cell exactly? Entire site changes width and there are boaders.

    I am trying to help a friend modify their site with a new header. There is an existing header cell that is set to autostretch when I click the fixed radio button I get the dimensions 1381x132. In Photoshop I made the new banner 1381x132. I have tried to insert the image into the cell everyway I can find and I continue to get boarders or the entire website changes size, the whole site stretches to the right. I was able to find the "Table Cellpadding" code and set to zero but that throws off other cells. I am ready to give up and tell them I just can't figure it out. I have searched the web and wasn't able to find a solution.
    Any help appreciated!
    Thanks in advance.

    OK change your code from <body> downwards to look like this:
    <BODY BGCOLOR="#CCCCCC" LINK="#336600" VLINK="436600">
    <TABLE CELLPADDING=10  CELLSPACING=0 BORDER=0 width="100%">
      <TR ALIGN="center">
        <TH width="140" valign="top" height="132" BGCOLOR="709AC8" colspan="6" >
         <img src="Header_GSP_Fnl_4_test.jpg" />
        </TH>
      </TR>
    Make sure the path to your header logo is at the correct location.  I have used it as root (i.e. at the same place as your home page) but you might want to put it in images folder.
    Also, the logo is a bit large for average screen so you might want to reduce the width.  The easiest way is to put the image in a <td>image.gif</td> but it is your choice.  Let us see how it looks when online.
    hth

Maybe you are looking for

  • HT5085 Gathering Info About your iTunes Library - Keep getting Network error

    I bought iTunes Match yesterday, and so far have not been able to use it. It gets to Stage 1: Gathering Info About Your iTunes Library and makes progress, but right at the end an error box appears saying: "We could not complete your iTunes request. T

  • MIME Version in Mail Adapter

    Hi, I'm trying to figure out what version of MIME XI uses when I send an htmlb email. I'm also wondering if I can change the MIME version. Here is the XI payload xml file generated: <?xml version="1.0" encoding="UTF-8"?> <ns:Mail xmlns:ns="http://sap

  • Not able to Create TABLESPACE PSAPROLL|PSAPUNDO    with 728 MB

    Hi Experts,                When i an trying to upgrade PI 7.0 to pi 7.1 with EHP1 in checks roadmap in abap it throws error like ERROR> Insufficient free space in the database as follows: Create TABLESPACE PSAPROLL|PSAPUNDO    with 728 MB INFO> To ad

  • Exchange 2010 accepted domain and email address policy

     So I need some help as to which accepted domain is right for us. We are a single forest single domain that is subbed to a parent domain. sub.domain.com We run our own exchange 2010 separate from domain.com.  We want all mail to show up as @domain.co

  • My pc said ...not a win 32  ... ?

    i downloaded the latest adobe flash 11.1  but when i try to install a error window comes up and says it cant install because this is not a win 32 application what can i do to correct this