MultiPageLayout.Horizontal

MultiPageLayout Horizontal method. Creates a layout in which all specified pages are rendered horizontally side by side left to right in a single output.

MultiPageLayout.Horizontal method

Creates a layout in which all specified pages are rendered horizontally side by side, left to right, in a single output.

public static MultiPageLayout Horizontal(float horizontalGap)
ParameterTypeDescription
horizontalGapSingleThe horizontal gap between pages in points.

Examples

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

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

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

See Also