Skip to main content

MultipagePageScaling

Version: 4.0

cete.dynamicpdf.printing.multipagepagescaling

MultipagePageScaling​

Represents multi page scaling size for the job page .

public class MultipagePageScaling : PageScaling
Public Class MultipagePageScaling
Inherits PageScaling

Inheritance: Object → PageScaling → MultipagePageScaling

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 MyModuleSub 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.

public MultipagePageScaling(int row, int column)
Public Sub New (row As Integer, column As Integer)

Parameters​

The Number of rows in the print page.

The number of columns in the print page.

Licensing Info​

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

Properties​

Border​

Gets or sets the Border of the PDF pages in the print page.

public Border Border { get; set; }
Public Property Border As Border

Property Value​

Border

Licensing Info​

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

BottomPadding​

Gets or sets the bottom padding to the printable area on physical paper. (Inherited from PageScaling)

public float BottomPadding { get; set; }
Public Property BottomPadding As Single

Property Value​

Single

Licensing Info​

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

Remarks​

The value is in points.

ColumnCount​

Gets or sets number of columns in the print page.

public int ColumnCount { get; set; }
Public Property ColumnCount As Int32

Property Value​

Int32

Licensing Info​

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

LeftPadding​

Gets or sets the left padding to the printable area on physical paper. (Inherited from PageScaling)

public float LeftPadding { get; set; }
Public Property LeftPadding As Single

Property Value​

Single

Licensing Info​

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

Remarks​

The value is in points.

Margin​

Gets or sets the Margin of the print page.

public Margin Margin { get; set; }
Public Property Margin As Margin

Property Value​

Margin

Licensing Info​

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

PageFlow​

Gets or sets the direction in which pdf pages will be laid out in rows and columns.

public PageFlow PageFlow { get; set; }
Public Property PageFlow As PageFlow

Property Value​

PageFlow

Licensing Info​

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

RightPadding​

Gets or sets the right padding to the printable area on physical paper. (Inherited from PageScaling)

public float RightPadding { get; set; }
Public Property RightPadding As Single

Property Value​

Single

Licensing Info​

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

Remarks​

The value is in points.

RowCount​

Gets or sets number of rows in the print page.

public int RowCount { get; set; }
Public Property RowCount As Int32

Property Value​

Int32

Licensing Info​

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

Spacing​

Gets or sets the Spacing between the PDF pages in the print page.

public Spacing Spacing { get; set; }
Public Property Spacing As Spacing

Property Value​

Spacing

Licensing Info​

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

TopPadding​

Gets or sets the top padding to the printable area on physical paper. (Inherited from PageScaling)

public float TopPadding { get; set; }
Public Property TopPadding As Single

Property Value​

Single

Licensing Info​

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

Remarks​

The value is in points.

UniformScaling​

Gets or sets a value indicating weather all pages should be scaled uniformly.

public bool UniformScaling { get; set; }
Public Property UniformScaling As Boolean

Property Value​

Boolean

Licensing Info​

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

Methods​

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

Licensing Info​

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

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

Licensing Info​

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

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

Licensing Info​

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

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

Licensing Info​

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

See Also​

ceTe.DynamicPDF.Printing