How can we Export the Image columns also in PDF and Excel

Apr 23, 2014 at 10:57 AM
Hi,

How can we Export the Image columns containing Images in PDF and Excel. Also how can we export the Selected number of rows in PDF and Excel.
Coordinator
Apr 23, 2014 at 3:22 PM

You will have do it manually after normal export is done using interop.

Apr 24, 2014 at 8:55 PM
Can you please provide a small sample for the same say only with one Image
Coordinator
Apr 26, 2014 at 9:15 PM
Apr 29, 2014 at 10:36 AM
Edited Apr 29, 2014 at 10:57 AM
Hi ,

My requirement is to export the data grid data to a PDF File. Which Is there in the dll. But my concern is I am having an Images in Image Column in Data grid Which I am able to view in Data Grid.

but while exporting it is exporting all the Columns to PDF but the Images I am not able to see Images in PDf and Excel as well .

So what should I do to see the images in PDF File and Excel File.

The Link which You had provided that i was able to do with Xaml

<ExtendedColumn:ExtendedDataGridTextBoxColumn Width="100">
 <ExtendedColumn:ExtendedDataGridTextBoxColumn.CellTemplate>
     <DataTemplate>
          <Button x:Name="btnDelete" BorderThickness="0" Background="Transparent" ToolTip="Delete the Record" Height="17" Width="17" IsEnabled="True" Command="{Binding DataContext.simpleCommand, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type ExtendedGridControl:ExtendedDataGrid}}}">
                <Image x:Name="btnImage" Source="Images/close.png" Height="15" Width="15" />
          </Button>
     </DataTemplate>
 </ExtendedColumn:ExtendedDataGridTextBoxColumn.CellTemplate>
</ExtendedColumn:ExtendedDataGridTextBoxColumn>

I am able to view the Image in Data Grid ...
but I am not able to export the Images to PDF and EXCEL. Its making the Column in PDF and Excel but the Images does not get displayed. What should I do to View the Images in PDF and EXCEL
Coordinator
May 1, 2014 at 7:50 PM
Export to excel
out your code to add image to excel via iterop
See my code how i convert to pdf
Call that code
May 5, 2014 at 4:04 PM
Hi,

But in PDF also I am not able get the Image.

Can you share me the code for the same to get Images. It would be great for me