Represents the prepress settings.
For a list of all members of this type, see Prepress members.
![]() ![]()
|
System.Object
ceTe.DynamicPDF.Prepress
[Visual Basic]
Public Class Prepress [C#]
public class Prepress For more details on creating PDF/X documents take a look at the PDF/X topic.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.Text
Module MyModule
Sub Main()
' Create a document and set it's properties
Dim MyDocument As ceTe.DynamicPDF.Document = New ceTe.DynamicPDF.Document
MyDocument.Title = "PDF/X-1a Document"
MyDocument.PdfVersion = PdfVersion.v1_4
' Create a page to add to the document
Dim MyPage As ceTe.DynamicPDF.Page = New ceTe.DynamicPDF.Page(PageSize.Letter, PageOrientation.Portrait, 54.0F)
MyDocument.Prepress.PdfXVersion = PdfXVersion.PDF_X_1a_2003
MyDocument.Prepress.OutputIntents.Add(OutputIntent.USWebCoatedSwop)
MyDocument.Prepress.Trapped = Trapped.False
' Create a Label using a TrueType font and CMYK color
Dim Text As String = "PDF/X 1-a Document"
Dim MyTrueTypeFont As TrueTypeFont = New TrueTypeFont("verdana.ttf")
Dim MyLabel As Label = New Label(Text, 0, 0, 504, 100, MyTrueTypeFont, 18, TextAlign.Center, CmykColor.BlueViolet)
' Add label to page
MyPage.Elements.Add(MyLabel)
' Add page to document
MyDocument.Pages.Add(MyPage)
' Save the PDF Document
MyDocument.Draw(C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:
Namespace: ceTe.DynamicPDF
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: ceTe.DynamicPDF (in ceTe.DynamicPDF.dll)
Prepress Members | ceTe.DynamicPDF Namespace
© Copyright 2007, ceTe Software