PageScaling
Represents the scaling for the page to be printed.
public abstract class PageScaling
Public MustInherit Class PageScaling
Inheritance: ObjectPageScaling
Derived: ActualSizePageScaling, AutoPageScaling, MultipagePageScaling, PercentagePageScaling
Licensing Info
This class is a DynamicPDF PrintManager feature. One of the following is required for non-evaluation usage:
- An active DynamicPDF Subscription
- An active DynamicPDF Professional or Professional Plus Subscription with DynamicPDF PrintManager selected.
- A DynamicPDF PrintManager for .NET v4.X Developer license.
Examples
The following examples creates a print job, sets the scaling property to actual size and prints the job.Imports System
Imports ceTe.DynamicPDF.Printing
Module MyModule
    Sub Main()
        ' Create a print job
        Dim MyPrintJob As PrintJob = New PrintJob("PrinterName", "C:\MyDocument.pdf")
        ' Set the scaling
        MyPrintJob.PrintOptions.Scaling = PageScaling.ActualSize	
        ' Print the job
        MyPrintJob.Print()
    End Sub
End Module
using System;
using ceTe.DynamicPDF.Printing;
class MyClass
{
    static void Main()
    {
        // Create a print job
        PrintJob printJob = new PrintJob("PrinterName", @"C:\MyDocument.pdf");
        // Set the scaling
        printJob.PrintOptions.Scaling = PageScaling.ActualSize;
        // Print the job
        printJob.Print();
    }
}
Properties
| ActualSize | Gets the actual scaling size for the page to be print. | 
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) |