CodeGuru Forums -
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic Newsletters VB Forums Developer.com


Newest CodeGuru.com Articles:

  • Installing SQL Server 2008
  • Writing UDFs for Firebird Embedded SQL Server
  • [Updated] Shutdown Manager
  • Building Windows Azure Cloud Service Applications with Azure Storage and the Azure SDK

  • Search CodeGuru:
     



    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports
    FAQ Members List Calendar Search Today's Posts Mark Forums Read

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1    
    Old March 29th, 2005, 06:50 AM
    tiagoml tiagoml is offline
    Junior Member
     
    Join Date: Mar 2005
    Posts: 1
    tiagoml is an unknown quantity at this point (<10)
    Question Problem displaying dynamic images in runtime

    Hi,

    My problem is that when i make a preview or print the report on runtime, using crviewer, the pictures that i inserted dynamicaly appear shrunk on the top left side of the picture box. Its not the picture box that shrinks its only the image.

    The only way to make the image use all the box is by enabling the can grow option but thats not what i need, i need all the pics of the same size.

    PS: by the tests i made it seems that crystal is making the stretch in wrong way, calculating how mutch it should shrink the image right but using it on the size of the box instead of using it on the size of the image :P.

    If any one has this problem or the solution ...


    THANKS!!!
    Reply With Quote
      #2    
    Old April 11th, 2005, 03:38 AM
    lalit_20 lalit_20 is offline
    Junior Member
     
    Join Date: Apr 2005
    Posts: 3
    lalit_20 is an unknown quantity at this point (<10)
    Re: Problem displaying dynamic images in runtime

    Even I have a similar issue. I am using CR XI for .Net.

    I have .XSD file as a datasource to my CR at design time. This TypedDataset(.XSD) has got a column. ImageBinary. which holds the binary data of the image and two more columns which have the height and the width of the image.

    I drag and drop this ImageBinary column at design time.

    At runtime I am able to display the image in this CR's blob field, but I am unable to resize it as per the height and width provided.

    It will be of great help if any one could please let me know in Crystal Report how to resize the BLOB field at runtime.

    Regards
    Lalit
    Reply With Quote
    Reply

    Bookmarks
    Go Back   CodeGuru Forums > Visual Basic Programming > Crystal Reports


    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 09:53 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy


    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
    Copyright WebMediaBrands Inc. 2002-2009