| SignDocAnnotationsetPlainText Method |
Set the text of a text annotation.
This function can be used for annotations of type t_freetext.
Any sequence of CR and LF characters in the text starts a new paragraph(ie, text following such a sequence will be placed at the beginning of the next output line).In consequence, empty lines in the input do not produce empty lines in the output.To get an empty line in the output, you have to add a paragraph containing a non - breaking space(0xa0) only:
Namespace: de.softpro.signdocsdkAssembly: SPSignDoc_4.1_DotNetLibd (in SPSignDoc_4.1_DotNetLibd.dll) Version: 1.0.5882.21462
Syntaxpublic void setPlainText(
string text,
string font,
double fontSize,
HorizontalAlignment horizAlign
)
Public Sub setPlainText (
text As String,
font As String,
fontSize As Double,
horizAlign As HorizontalAlignment
)
public:
void setPlainText(
String^ text,
String^ font,
double fontSize,
HorizontalAlignment horizAlign
)
member setPlainText :
text : string *
font : string *
fontSize : float *
horizAlign : HorizontalAlignment -> unit
Parameters
- text
- Type: SystemString
The text. Allowed control characters are CR and LF. Any sequence of CR and LF characters starts a new paragraph. - font
- Type: SystemString
The name of the font to be used. The font substitition rules of the loaded font configuration files will be used. The resulting font must be a standard PDF font or a font for which a file is specified in the font configuration files. - fontSize
- Type: SystemDouble
The font size in user space units. - horizAlign
- Type: de.softpro.signdocsdk.Enums.EAnnotationHorizontalAlignment
Horizontal alignment of the text
See Also