Telerik Forums
Telerik Document Processing Forum
5 answers
210 views
I need to take the RadScheduler printout for multiple schedules and create a single PDF document with a page for each schedule. I can create the loop to load the appointments for each schedule, and setup the RadPrintDocument. How can I get it from there into a PDF document,in code (vb.net).
Thanks
Art
Stefan
Telerik team
 answered on 30 Jan 2015
6 answers
433 views
The code I'm trying to get away from looks through a name collection to find a specific NamedRange in a workbook.  Then, I populate the NamedRange with a value.  This is a great feature because the creator can put a named range anywhere and move it around at any point.  My code doesn't care where it is... it just populates the value.  Can you tell me what options I have with SpreadProcessing?  If an Excel Workbook has a named range can I get at it with SpreadProcessing?

Excel Code:
/// <summary>
/// Get a Named Range from the given workbook.
/// </summary>
/// <param name="workbook"></param>
/// <param name="rangeName"></param>
/// <returns></returns>
public Range GetNamedRange(
    Workbook workbook,
    string rangeName)
{
    ExceptionHelper.TestNull(workbook, "workbook parameter");
    ExceptionHelper.TestStringValue(rangeName, "rangeName parameter");
 
    Range result = null;
 
    Names names = workbook.Names;
    foreach (Name name in names)
    {
        string[] nme = name.NameLocal.Split("!".ToCharArray());
 
        if (nme[nme.Length-1] == rangeName)
        {
            result = name.RefersToRange;
            break;
        }
    }
 
    return result;
}
Joel Palmer
Top achievements
Rank 2
 answered on 16 Jan 2015
1 answer
153 views
I need to populate a cell that I find using a Name.  I see that Name.RefersTo points to the range.  It gives me a string that looks like "=Data!$C$2".  I assume that somewhere I can get the cell from this string.  However, I haven't come across it anywhere in your documentation. 

Thanks for your help,
Joel
Anna
Telerik team
 answered on 16 Jan 2015
1 answer
244 views
Hello,
I have been playing around with the Mail Merge capabilities added to WordsProcessing as part of UI for WPF Q3 2014. One issue I've found is that our current Mail Merge solution allows us to specify child tables in the merge, I have been unable to figure out a way to do this in Telerik. For example we can provide a list of customers to the merge mail where each customer has a list of items they have ordered, the mail merge allows us to create a table with the list of items for each customer. I know that this is not standard mail merge functionality but are there any plans to implement this type of merging capability in the Telerik Mail Merge? Our current Mail Merge solution causes some formatting problems which don't appear to exist using your solution so I would like to be able to recommend that we transition to a full Telerik solution as we are already rendering the results in the RadRichTextEditor but without a sub-table solution I don't think this will be possible. Thanks for your time!
Mihail
Telerik team
 answered on 15 Jan 2015
1 answer
1.2K+ views
I can not change fonts of some parts of the documents.
editor.InsertLine(" message")
Some pars of lines tahoma some parts of lines are Times New Roman

Thanks..
Deyan
Telerik team
 answered on 24 Dec 2014
1 answer
335 views
Hi,

Can i get some example of the usage of the IBlockElement Split() function.

Regards,
Sandeep
Deyan
Telerik team
 answered on 02 Dec 2014
1 answer
162 views
Hi,

I am using table class for generating a grid in PDF. Can i fix the size of each cell in the table. For example suppose we have a 3X3 matrix and each cell can have different data. Can i fix the size of each cell.

Please share code sample if it is possible.

Regards,
Sandeep
Deyan
Telerik team
 answered on 02 Dec 2014
1 answer
357 views
Hi 

How can i add lines in table cell. Suppose i need to cut a triangle in table cell and need to fill different colors in triangle. 

Can you provide some sample code.

Regards,
Sandeep
Deyan
Telerik team
 answered on 02 Dec 2014
1 answer
216 views
In your demo projects, there seems to be a discrepancy between the VB Code and the CSharp Code:

            editor.Position.Translate(defaultLeftIndent * 2, page.Size.Height - 180) 
            Using stream As Stream = GetSampleResourceStream("PdfProcessing.telerik.jpg") 
                editor.DrawImage(stream, ImageFormat.Jpeg) 
            End Using

            editor.Position.Translate(defaultLeftIndent * 2, page.Size.Height - 180); 
            using (Stream stream = GetSampleResourceStream("PdfProcessing.telerik.jpg")) 
            { 
                editor.DrawImage(stream); 
            }

Your VB demo project will not compile.

It would be more friendly, if the DrawImage function had a System.Drawing.Image as argument.

 

/Brian



Dimitar
Telerik team
 answered on 02 Dec 2014
1 answer
546 views
Hi,

I was trying to to add an image in a table cell but not able to do so by using following code.

imageCell.Blocks.AddBlock().InsertImage(stream);

I am missing something here.

Regards,
Sandeep
Tanya
Telerik team
 answered on 01 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?