PdfFileAddTextCenter Method |
Adds text centered horizontally
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
Syntax Dim instance As PdfFile
Dim text As String
Dim size As Short
Dim bold As Boolean
Dim italic As Boolean
Dim color As String
instance.AddTextCenter(text, size, bold,
italic, color)
Parameters
- text
- Type: SystemString
Text - size (Optional)
- Type: SystemInt16
Font size - bold (Optional)
- Type: SystemBoolean
Font wigth - italic (Optional)
- Type: SystemBoolean
Font italic - color (Optional)
- Type: SystemString
Name or hexa value. Ex: "red", "FF0000"
See Also