PdfDocument Object : AddText Method |
Visual Basic |
---|
Public Sub AddText( _ ByVal PageNumber As Long, _ ByVal AddTextOptions As AddTextOptions, _ ByVal Text As String _ ) |
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.