Articles in this section
Category / Section

How to set PaperSize to a word document?

1 min read

 

The PaperSize to a word document can be set by using PageSize property.

C#

// Write section properties

section.PageSetup.PageSize = PageSize.A3;

VB

' Write section properties

section.PageSetup.PageSize = PageSize.A3

Please refer the sample in the below link which illustrates the above:

http://help.syncfusion.com/support/samples/kb/dociowindows/papersize/PageSetup.zip

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied