PageSetupMultiplePages Property

For multiple page documents, gets or sets how a document is printed or rendered so that it can be bound as a booklet.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.10.0


public MultiplePagesType MultiplePages { get; set; }

Property Value

Type: MultiplePagesType


Shows how to set gutter margins.
Document doc = new Document();

// Insert text spanning several pages
DocumentBuilder builder = new DocumentBuilder(doc);
for (int i = 0; i < 6; i++)
    builder.Write("Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.");

// We can access the gutter margin in the section's page options,
// which is a margin which is added to the page margin at one side of the page
PageSetup pageSetup = doc.Sections[0].PageSetup;
pageSetup.Gutter = 100.0d;

// If our text is LTR, the gutter will appear on the left side of the page
// Setting this flag will move it to the right side
pageSetup.RtlGutter = true;

// Mirroring the margins will make the gutter alternate in position from page to page
pageSetup.MultiplePages = MultiplePagesType.MirrorMargins;

doc.Save(ArtifactsDir + "PageSetup.Gutter.docx");

ExpandedSee Also