Page.PaperKind property is used to set page size; it allows you to choose one of the standard page formats, e.g. A4 (default size), B5, Letter, etc. Page layout can be set for those page sizes – vertical or horizontal. In this case Size and TemplateSize properties gain chosen format settings and the properties cannot be edited.

Select “Custom” value of the Page.PaperKind property and set page size parameters of the Page.CustomSize property if you want to create a non-standard paper size.

Add Feedback