Click or drag to resize

PdfPrintSettings SelectSinglePageLayout Method (PdfSinglePageScalingMode, Boolean, Single)

Select one page to one paper layout.

Namespace: Spire.Pdf.Print
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public PdfSinglePageLayout SelectSinglePageLayout(
	PdfSinglePageScalingMode pageScalingMode,
	bool autoPortraitOrLandscape,
	float customScaling
)

Parameters

pageScalingMode
Type: Spire.Pdf.Print PdfSinglePageScalingMode
Page scaling mode.
autoPortraitOrLandscape
Type: System Boolean
Indicating whether automatic portrait and landscape.
customScaling
Type: System Single
Custom scaling(unit:percent),default value 100f.Valid only if pageScalingMode== PdfSinglePageScalingMode.CustomScale.

Return Value

Type: PdfSinglePageLayout
See Also