Telerik Forums
Telerik Document Processing Forum
9 answers
482 views
Hi,
.
I need to rotate the text in a table cell while using RadFixedDocument. I have created a table and added the Block in table cell.

table.Rows.AddTableRow().Cells.AddTableCell().Blocks.AddBlock().InsertText("MyTest");

Now i want to rotate this by 90 degree. 

Can you guide me how i can achieve this.

Regards,
Sandeep
Tanya
Telerik team
 answered on 21 Jun 2018
1 answer
164 views

     I have C# collections object data and I want to update excel rows automatically and bind data to the rows 

How can I achieve the above requirement using telerik document spread processing libraries?

Boby
Telerik team
 answered on 12 Jun 2018
2 answers
853 views

Hello,

I am creating a RadFixedDocument from a byte array, and removing a single page.If I save the original byte array to a PDF document the file size is 214 KB, but the files size of the document after removing the first page is 563 KP. Any recommendations on how I can reduce the file size?

Utility.RemovePages(polDocResponse);

public static void RemovePages(PolicyDocument polDocResponse, int numPages = 1)
{
            PdfFormatProvider provider = new PdfFormatProvider();
            RadFixedDocument srcDocument = provider.Import(new MemoryStream(polDocResponse.DocumentValue));

            if (numPages >= srcDocument.Pages.Count)
                throw new ArgumentException(
                    string.Format("Utility.RemovePages: Number of pages to remove {0} is greater than or equal to the number of pages in the document {1}.",
                    numPages.ToString(), srcDocument.Pages.Count.ToString()));

            for (int i = 0; i < numPages; i++)
            {
                srcDocument.Pages.RemoveAt(i);
            }

            polDocResponse.DocumentValue = provider.Export(srcDocument);
}

Tanya
Telerik team
 answered on 06 Jun 2018
3 answers
154 views

 

I was trying to apply MinionPro-Bold to a block  using the followign statement. 

_TABlock.TextProperties.TrySetFont(new System.Windows.Media.FontFamily("MinionPro-Bold"));

 

But the text isnt converting to bold. Is there anything that i am missing here. 

 

Regards,

JP

Deyan
Telerik team
 answered on 29 May 2018
1 answer
141 views

I'm wondering if I purchased a global certificate for the Digital Signature feature and followed the example below, will the digital certificate show to be valid when opening in Adobe Acrobat.  I'm currently using a certificate I've created through Adobe which comes back valid on my machine but not on others since it's not been stored in the Adobe store on the other machines.  

 

https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/features/digital-signature

Georgi
Telerik team
 answered on 22 May 2018
3 answers
184 views

Hi,

  Have a batch PDF template job and part of its requirement is to update legacy templates.

  Anyone know of a way to rename an existing form field in a PDF file?

 

Thanks,

- K

Polya
Telerik team
 answered on 16 May 2018
1 answer
220 views

Hello,

 

I have requirement where user will provide multiple files that may of type (.doc, .docx, .xls, .xls, .jpg, .bmp, .png, .pdf and .txt) so I have to merge all this document into one pdf file and save that pdf file on system.

Problem is with .doc and .xls. I am  not able to import this files.

 

Any suggestion ?

 

Thank You

Karan Bodhani

Tanya
Telerik team
 answered on 10 May 2018
1 answer
366 views

Hi,

We have a requirement where we allow the user to browse a word file.

Then from that word file we fetch all the form fields and display it to the user.

We came across telerik word processor , but even using that we couldn't find a way to achieve our requirement.

The Telerik Word Processor mentions inserting new field using 'FieldInfo' is this Field Info same as the Form Field in word.

We would like to know using Telerik word processor can we read and update the Form Fields of a word document, if not then is there anything else from Telerik that can help us.

 

Any help in this matter would be appreciated.

Thanks

 

 

Tanya
Telerik team
 answered on 08 May 2018
2 answers
215 views

I am Importing a pretty simple Excel file with one date and two time columns (beside some other text and number columns).

I go trough the rows and columns of the used cell range to extract their values. Most of the Date and Time cells got the correct CellValueType number and the correct FormatType and FormatString. Some of them however come with a CellValueType.Text and a Value of "error" or "string". Actually 1 of 60 rows is affected where i can not retrieve the date and one of the two time cell values.

The strange thing here: Creating a Telerik.Web.Spreadsheet.Workbook from the Model.Workbook and adding the worksheet in question to a RadSpreadsheet the RadSpreadSheet will show no problems at all and all the cell formatting also is correct.

Now is there something fishy with the cell.GetValue()? And is there something i can do to hopefully avoid errors like that. Yes, i could just delete the row and add it again and maybe solve the problem for now. But i will keep the file as it is for Science.

Lars
Top achievements
Rank 1
 answered on 02 May 2018
1 answer
917 views

Hi,

 

Is there an easy way to set the format of a cell to bold, without going to the procedure with styles?

 

Something like selection.Bold()

In Vba we have:

Range("A1").Characters(8, 5).Font.Bold = True

 

Cheers

Geir

 

 

Tanya
Telerik team
 answered on 26 Apr 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?