MultipagePageScaling

Represents multi page scaling size for the job page .

public class MultipagePageScaling : PageScaling
Public Class MultipagePageScaling
    Inherits PageScaling

Inheritance: ObjectPageScalingMultipagePageScaling

Licensing Info

This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:

Examples

The following examples creates a print job, sets the scaling property to multi page scaling and prints the job.
Imports ceTe.DynamicPDF.Printing
Imports System.Drawing

Module MyModule
	Sub Main()
		' Create a print job containing the first four pages of the PDF.
		Dim printJob As New PrintJob(Printer.[Default], "C:\MyDocument.pdf", 1, 4)

		' Creating the object of MultipagePageScaling.
		Dim multipagePageScaling As New MultipagePageScaling(4, 2)

		' Setting the border and its color.
		multipagePageScaling.Border = New Border(Color.Green, 2)

		' Setting the top,left,bottom and right margins.
		multipagePageScaling.Margin = New ceTe.DynamicPDF.Printing.Margin(5, 5, 5, 5)

		' Setting the spacing between pages.
		multipagePageScaling.Spacing = New Spacing(2, 2)

		' If UniformScaling is true then same scaling percentage will be applied to all pages.
		multipagePageScaling.UniformScaling = True

		' Applying the multipage scaling.
		printJob.PrintOptions.Scaling = multipagePageScaling

		' Print the job.
		printJob.Print()
	End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;
using System.Drawing;

class MyClass
{
	static void Main()
	{
		// Create a print job containing the first four pages of the PDF.
		PrintJob printJob = new PrintJob(Printer.Default, @"C:\MyDocument.pdf", 1, 4);

		// Creating the object of MultipagePageScaling.
		MultipagePageScaling multipagePageScaling = new MultipagePageScaling(4, 2);

		// Setting the border and its color.
		multipagePageScaling.Border = new Border(Color.Green, 2);

		// Setting the top,left,bottom and right margins.
		multipagePageScaling.Margin = new ceTe.DynamicPDF.Printing.Margin(5, 5, 5, 5);

		// Setting the spacing between pages.
		multipagePageScaling.Spacing = new Spacing(2, 2);

		// If UniformScaling is true then same scaling percentage will be applied to all pages.
		multipagePageScaling.UniformScaling = true;

		// Applying the multipage scaling.
		printJob.PrintOptions.Scaling = multipagePageScaling;

		// Print the job.
		printJob.Print();
	}
}

Constructors

MultipagePageScaling(Int32, Int32)Initializes a new instance of the MultipagePageScaling class.

Properties

BorderGets or sets the Border of the PDF pages in the print page.
ColumnCountGets or sets number of columns in the print page.
MarginGets or sets the Margin of the print page.
PageFlowGets or sets the direction in which pdf pages will be laid out in rows and columns.
RowCountGets or sets number of rows in the print page.
SpacingGets or sets the Spacing between the PDF pages in the print page.
UniformScalingGets or sets a value indicating weather all pages should be scaled uniformly.

Methods

Equals(Object)Determines whether the specified Object is equal to the current Object .
(Inherited from Object)
GetHashCode()Serves as a hash function for a particular type.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ToString()Returns a String that represents the current Object .
(Inherited from Object)

See Also

ceTe.DynamicPDF.Printing

In this topic