Click or drag to resize
SignDocAnnotation Class
Output of de.softpro.doc.SignDocDocument.getAttachment().
Inheritance Hierarchy
SystemObject
  de.softpro.signdocsdkSignDocAnnotation

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.6773.37566
Syntax
C#
public sealed class SignDocAnnotation : IDisposable

The SignDocAnnotation type exposes the following members.

Methods
  NameDescription
Public methodaddPoint(Point)
Add a point to the current stroke of a scribble annotation. This function can be used for annotations of type t_scribble.Each stroke must contain at least two points. This function uses document(page) coordinates
Public methodaddPoint(Double, Double)
Add a point to the current stroke of a scribble annotation. This function can be used for annotations of type t_scribble.Each stroke must contain at least two points. This function uses document(page) coordinates
Public methodDispose
Releases all resources used by the SignDocAnnotation
Public methodgetBoundingBox
Get the bounding box of the annotation. The bounding box is available for objects returned by getAnnotation() only.
Public methodgetFont
Get the font of a text annotation.
Public methodgetFontSize
Get the font size of a text annotation.
Public methodgetName
Get the name of the annotation.
Public methodgetPage
Get the page number of the annotation. The page number is available for objects returned by SignDocDocument.getAnnotation() only.
Public methodgetPlainText
Get the plain text of a text annotation.
Public methodgetType
Get the type of the annotation.
Public methodnewStroke
Start a new stroke in a scribble annotation. This function can be used for annotations of type t_scribble.Each stroke must contain at least two points.This function need not be called for the first stroke of a scribble annotation.
Public methodsetBackgroundColor
Set the background color of the annotation. This function can be used for annotations of type t_freetext. The default background color is white.
Public methodsetBorderColor
Set the border color of the annotation. This function can be used for annotations of type t_freetext.The default border color is black.
Public methodsetBorderLineWidthInPoints
Set border line width in points. This function can be used for annotations of type t_freetext.The default line width for PDF documents is 1 point.
Public methodsetColor
Set the color of the annotation. This function can be used for annotations of types t_line and t_scribble.The default color is black.
Public methodsetFlags
Set flags. This function can be used for annotations of type #t_freetext. Initially, no flag is set.
Public methodsetLineEnding
Set line ending styles. This function can be used for annotations of type t_line.The default line ending style is le_none.
Public methodsetLineWidthInPoints
Set line width in points. This function can be used for annotations of types t_line and t_scribble.The default line width for PDF documents is 1 point.
Public methodsetName
Set the name of the annotation. In PDF documents, an annotation can have a name. The names of annotations must be unique within a page. By default, annotations are unnamed.
Public methodsetOpacity
Set the opacity of the annotation. This function can be used for annotations of types t_line and t_scribble. The default opacity is 1.0.Documents conforming to PDF / A must use an opacity of 1.0.
Public methodsetPlainText
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:
"Line before empty line\n\u00A0\nLine after empty line"
Complex scripts are supported, see @ref signdocshared_complex_scripts.By default, this function uses paragraph direction LTR.Use setFlags() if you need to set a different paragraph direction.
Top
See Also