Accusoft PDF Xpress Control v5.0
AddText Method
See Also  Send comments on this topic.
PageNumber
The page number to which the text should be added.
AddTextOptions
An AddTextOtions structure that contains formatting and rendering information for the added text.
Text
The text to be added to the document, with new lines delimited by the character '\n' or NewLine.
PdfDocument Object : AddText Method

Glossary Item Box

Description

Adds text to a PDF document with specified formatting and rendering data.

Syntax

Visual Basic
Public Sub AddText( _
   ByVal PageNumber As Long, _
   ByVal AddTextOptions As AddTextOptions, _
   ByVal Text As String _
) 

Parameters

PageNumber
The page number to which the text should be added.
AddTextOptions
An AddTextOtions structure that contains formatting and rendering information for the added text.
Text
The text to be added to the document, with new lines delimited by the character '\n' or NewLine.

Remarks

This feature is only available in the Professional edition.

A font is chosen automatically from the parameters in the AddTextOptions structure when this is called. Currently, only Type 1 fonts are chosen, and the only guarantees of the font chosen are that it will be the correct size and that all glyphs in the text will be supported by the font. If PDF_FontFamily.Serif or PDF_FontFamily.SansSerif is chosen, a proportional width font will be preferred. Font style is given precedence over weight or decoration. Only Roman characters are currently supported.

See Also

©2012. Accusoft Corporation. All Rights Reserved.