Represents a note annotation.
For a list of all members of this type, see Note members.
![]() ![]()
|
ceTe.DynamicPDF.PageElement
ceTe.DynamicPDF.PageElements.Note
[Visual Basic]
Public Class Note
Inherits PageElement
Implements IAnnotation, IArea, ICoordinate [C#]
public class Note : PageElement, IAnnotation, IArea, ICoordinate This class can be used to place a note annotation on the PDF.
The following example will place an icon on the PDF that once clicked on will display text in a separate box.
[Visual Basic]
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements
Module MyModule
Sub Main()
' Create a PDF Document
Dim MyDocument As Document = New Document
' Create a Page and add it to the document
Dim MyPage As Page = New Page
MyDocument.Pages.Add(MyPage)
' Create a note
Dim MyNote As Note = New Note("This is my help note.", 50, 50, _
150, 50, NoteType.Help, False)
' Change the color property
MyNote.Color = RgbColor.Red
' Add the note to the page
MyPage.Elements.Add(MyNote)
MyPage.Elements.Add(New Label("Click on the above icon to view " + _
"the note.", 50, 80, 150, 72, Font.HelveticaBold, 18))
' Save the PDF
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.PageElements
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)
Note Members | ceTe.DynamicPDF.PageElements Namespace
© Copyright 2006, ceTe Software