Skip to main content

VerticalAlign Enum

Version: 1.0

VerticalAlign Enum

  • Namespace: ceTe.DynamicPDF.Printing
  • Assemblies: ceTe.DynamicPDF.Printing.40.x64.dll, ceTe.DynamicPDF.Printing.40.x86.dll

Represents the vertical alignment to use when printing pages.

public enum VerticalAlign
Public Enum VerticalAlign

Inheritance: Object → ValueType → Enum → VerticalAlign

Fields​

VerticalAlign.Bottom3Bottom vertical alignment.
VerticalAlign.Middle2Middle vertical alignment.
VerticalAlign.Top1Top vertical alignment.

Licensing​

This class is a DynamicPDF PrintManager feature. The following license is required for non-evaluation usage:

  • DynamicPDF PrintManager for .NET

Examples​

The following examples creates a print job, sets the vertical align to top 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 vertical alignment
MyPrintJob.PrintOptions.VerticalAlign = VerticalAlign.Top

' 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 vertical alignment
printJob.PrintOptions.VerticalAlign = VerticalAlign.Top;

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

See Also​

ceTe.DynamicPDF.Printing