We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Word Document Text field with 40 ° angle text

Thread ID:

Created:

Updated:

Platform:

Replies:

145734 Jul 5,2019 11:24 AM UTC Jul 10,2019 01:46 PM UTC WPF 3
loading
Tags: DocIO
Christian Stutz
Asked On July 5, 2019 11:24 AM UTC

Hi,

i want to Create Word Document with a Table.

In table headder i need a text with a 40° angel.

Is there any way to do that?

Photo

Mohanaselvam  Jothi [Syncfusion]
Replied On July 8, 2019 12:03 PM UTC

Hi Christian,

Thank you for contacting Syncfusion support.

In the Word document, it is not feasible to set rotation for text. Instead of that, you can set text inside a container (textbox) and then rotate the textbox to preserve text in required direction.
https://www.syncfusion.com/downloads/support/forum/145734/ze/GenerateWord198640019

Currently DocIO doesn’t have an API to set rotation for the textbox. We will check on this requirement to expose API for textbox rotation and we will update you more details about this on 10th July, 2019.

At present, to meet your requirement, we suggest you create image with header row contents and then apply rotation for the image using DocIO. We have prepared the sample for the same and it can be downloaded from the below link:

In this sample, we have done the follow
  1. Creates a Word document.
  2. Add table into Word document.
  3. Create an image with header row contents.
  4. Append image in cells of header row.
  5. Rotate the image to preserve the text in particular angle.
  6. Saves the Word document.

Please let us know if you have any other questions.

Regards,
Mohanaselvam J
 


Christian Stutz
Replied On July 8, 2019 12:11 PM UTC

Hello Mohanaselvam,

thanks thats works perfect.

Thanks for your help


Regards,
Christian

Poorani Rajendran [Syncfusion]
Replied On July 10, 2019 01:46 PM UTC

Hi Christian,

Thank you for your update.

We will consider this as feature request and will expose an API to set rotation for the textbox. We will implement, and it will include in 2019 Volume 3 which is expected to be available in September, tentatively.

Regards,
Poorani Rajendran

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon