Represents an outline.
For a list of all members of this type, see Outline members.
![]() ![]() ![]() ![]() ![]() ![]()
|
System.Object
ceTe.DynamicPDF.Outline
.zz93c
[Visual Basic]
Public Class Outline [C#]
public class Outline See the Outlines and Bookmarks topic for more on Outlines.
This example shows how to create an outline for a PDF document.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Add three blank pages
MyDocument.Pages.Add(New Page(PageSize.Letter))
MyDocument.Pages.Add(New Page(PageSize.Letter))
MyDocument.Pages.Add(New Page(PageSize.Letter))
' Add a top level outline and set properties
Dim MyOutline1 As Outline = MyDocument.Outlines.Add("Outline1")
MyOutline1.Style = TextStyle.Bold
MyOutline1.Color = New RgbColor(255, 0, 0)
' Add child outlines
Dim MyOutline1A As Outline = MyOutline1.Outlines.Add("Outline1A", New ZoomDestination(2, PageZoom.FitPage))
MyOutline1A.Expanded = False
Dim MyOutline1A1 As Outline = MyOutline1A.Outlines.Add("Outline1A1", New XYDestination(2, 0, 0))
Dim MyOutline1A2 As Outline = MyOutline1A.Outlines.Add("Outline1A2", New ZoomDestination(2, PageZoom.FitHeight))
Dim MyOutline1B As Outline = MyOutline1.Outlines.Add("Outline1B", New ZoomDestination(2, PageZoom.FitWidth))
' Add a second top level outline
Dim MyOutline2 As Outline = MyDocument.Outlines.Add("Outline2", New XYDestination(3, 0, 300))
' Add a child outline
Dim MyOutline2A As Outline = MyOutline2.Outlines.Add("Outline2A")
' Save the PDF document
MyDocument.Draw("C:\MyDocument.pdf")
End Sub
End Module
[C#]
using System; |
This class is a DynamicPDF Generator Professional 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)
Outline Members | ceTe.DynamicPDF Namespace
© Copyright 2007, ceTe Software