MultiPageLayout.Vertical

MultiPageLayout Vertical method. Creates a layout where all specified pages are rendered vertically one below the other in a single output.

MultiPageLayout.Vertical method

Creates a layout where all specified pages are rendered vertically one below the other in a single output.

public static MultiPageLayout Vertical(float verticalGap)
ParameterTypeDescription
verticalGapSingleThe vertical gap between pages in points.

Examples

Shows how to render pages of the document to one image placing pages one by one vertically.

ImageSaveOptions imgSaveOptions = new ImageSaveOptions(SaveFormat.Png);
imgSaveOptions.PageLayout = MultiPageLayout.Vertical(10);

Converter.Create()
    .From(MyDir + "Simple.docx")
    .To(ArtifactsDir + "MultiPageLayout.Vertical.png", imgSaveOptions)
    .Execute();

See Also