| SignDocDocumentaddText Method |
Add text to a page.
Multiple lines are not supported, the text must not contain CR
and LF characters.
Namespace: de.softpro.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic void addText(
string text,
int page,
double x,
double y,
string fontName,
double fontSize,
ISignDocColor textColor,
double opacity
)
Public Sub addText (
text As String,
page As Integer,
x As Double,
y As Double,
fontName As String,
fontSize As Double,
textColor As ISignDocColor,
opacity As Double
)
public:
void addText(
String^ text,
int page,
double x,
double y,
String^ fontName,
double fontSize,
ISignDocColor^ textColor,
double opacity
)
member addText :
text : string *
page : int *
x : float *
y : float *
fontName : string *
fontSize : float *
textColor : ISignDocColor *
opacity : float -> unit
Parameters
- text
- Type: SystemString
The text. Complex scripts are supported,
see @ref signdocshared_complex_scripts. - page
- Type: SystemInt32
The 1-based page number of the page. - x
- Type: SystemDouble
The X coordinate of the reference point of
the first character in document coordinates. - y
- Type: SystemDouble
The Y coordinate of the reference point of
the first character in document coordinates. - fontName
- Type: SystemString
The font name.
This can be the name of a standard font,
the name of an already embedded font, or
the name of a font defined by a font
configuration file. - fontSize
- Type: SystemDouble
The font size (in user space units). - textColor
- Type: de.softpro.signdocsdkISignDocColor
The text color. - opacity
- Type: SystemDouble
The opacity, 0.0 (transparent) through 1.0 (opaque).
Documents conforming to PDF/A must use an opacity
of 1.0.
See Also