Represents an area of text.
For a list of all members of this type, see TextArea members.
![]() ![]() ![]() ![]()
|
ceTe.DynamicPDF.PageElement
ceTe.DynamicPDF.PageElements.RotatingPageElement
ceTe.DynamicPDF.PageElements.TextArea
[Visual Basic]
Public Class TextArea
Inherits RotatingPageElement
Implements IArea, ICoordinate [C#]
public class TextArea : RotatingPageElement, IArea, ICoordinate This class can be used to place text on a page. Using the methods GetOverflowText or GetOverflowTextArea and HasOverflowText, users can control the pagination of TextAreas that come from a source of unknown length. See the Text Continuation topic for more on text continuation.
The following example will display text on the page.
[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 text area
Dim MyTextArea As TextArea = New TextArea("This is the " + _
"underlined text of a TextArea", 100, 100, 400, 30, _
ceTe.DynamicPDF.Font.HelveticaBoldOblique, 18)
' Change the underline property to true
MyTextArea.Underline = True
' Add the text to the page
MyPage.Elements.Add(MyTextArea)
' 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)
TextArea Members | ceTe.DynamicPDF.PageElements Namespace
© Copyright 2006, ceTe Software