help with document editor features

Hi, 
I am integrating document editor in my application. I need the following feature.

1) Set header/footer background colors.
2) Make selected images full width (width of pages).
3) Have a table/text over  a  background image.

I couldn't find the apis for above feature.

2 Replies 1 reply marked as answer

SM Suriya Murugan Syncfusion Team May 14, 2021 06:52 AM UTC

Hi kshitij, 

Syncfusion Greetings! 

Currently, we are checking your requirement and will update further details by May 17,2021. 

Regards, 
Suriya M. 



KB Kurthis Banu Abdul Majeeth Syncfusion Team May 18, 2021 03:51 AM UTC

Hi kshitij, 

I need to be able to set/change header footer background color.  
We have cross checked your requirement. In MS Word, also we don’t have any direct options to apply this. We can apply background color to whole page only.   
I need some way to make selected image fit page width margins on both sides)  
To fit image to page width, you can use below code snippet.  
  
Using section format page width, you will get page width and set it to image. (Select image and try below code snippet)  
container.documentEditor.selection.imageFormat.width = container.documentEditor.selection.sectionFormat.pageWidth;  
  
Documentation:  
 I need to place text/table on some image as background.  
   
To achieve this, you can create template document (Textbox with behind text wrapping style) from MS Word and use it in Document editor. Document Editor have preservation only support but doesn’t have support for color preservation for text box.  
  
So, it is not possible to set background color.  
  



Regards, 
Kurthis Banu A. 


Marked as answer
Loader.
Up arrow icon