LayoutType Pages - size

Hello,

How I can define page size, when LayoutType is set to Pages? I don't want to have A4 size, only have custom height.


1 Reply 1 reply marked as answer

KG Kalaivannan Ganesan Syncfusion Team June 1, 2022 04:19 PM UTC

Hi Andrzej,

Thank you for contacting Syncfusion support.

In our SfRichTextBoxAdv control, page size properties are available in section format class. Please find the following API links to change the  page size.


API Link:

https://help.syncfusion.com/cr/wpf/Syncfusion.Windows.Controls.RichTextBoxAdv.SectionFormat.html#Syncfusion_Windows_Controls_RichTextBoxAdv_SectionFormat_PageSize

We have also created a sample to demonstrate how to change page size and page margin after loading the document. The sample can be downloaded from the following link.

https://www.syncfusion.com/downloads/support/forum/175361/ze/RTE_Pages1563957142.zip

Please let us know if you need any further assistance.

Regards,
Kalaivannan Ganesan


Marked as answer
Loader.
Up arrow icon