Class AnnotationSettings
Represents annotation and its selector settings
Inheritance
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class AnnotationSettings : Object
Properties
Arrow
Gets or sets the appearance of the arrow shape.
Declaration
public ArrowAnnotation Arrow { get; set; }
Property Value
Type | Description |
---|---|
ArrowAnnotation | The rectangle allows the user to change the arrow shape's appearance. |
Circle
Gets or sets the appearance of the circle shape.
Declaration
public CircleAnnotation Circle { get; set; }
Property Value
Type | Description |
---|---|
CircleAnnotation | The rectangle allows the user to change the circle shape's appearance. |
Constraints
Gets or sets a value that indicates the constraints to the annotation interactions.
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
Flatten
Gets or sets a value indicating whether the annotations should be flattened when the PDF is loaded. If the value is true, the annotations cannot be selected or moved.
Declaration
public bool Flatten { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Default value is false |
Remarks
Changing the value of this API at run time will not have any effect after the PDF has completed loading.
FreeText
Gets or sets the default appearance of text annotation.
Declaration
public FreeTextAnnotationSettings FreeText { get; set; }
Property Value
Type |
---|
FreeTextAnnotationSettings |
HandwrittenSignature
Gets or sets the customization settings of handwritten signature.
Declaration
public HandwrittenSignatureSettings HandwrittenSignature { get; set; }
Property Value
Type |
---|
HandwrittenSignatureSettings |
Ink
Gets or sets the value to customize the default values of ink annotation
Declaration
public InkAnnotationSettings Ink { get; set; }
Property Value
Type |
---|
InkAnnotationSettings |
IsLocked
Gets or sets a value that indicates whether the annotations can be edited. if this property is true, annotation selection, resizing, moving and editing actions will be disabled for the user. Default value is false.
Declaration
public bool IsLocked { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When the property is true, only the tapped event will be raised, and the selected event will not be raised.
Line
Gets or sets the appearance of the line shape.
Declaration
public LineAnnotation Line { get; set; }
Property Value
Type | Description |
---|---|
LineAnnotation | The rectangle allows the user to change the line shape's appearance. |
Polygon
Gets or sets the appearance settings of polygon annotations.
Declaration
public PolygonAnnotation Polygon { get; set; }
Property Value
Type |
---|
PolygonAnnotation |
Rectangle
Gets or sets the appearance of the rectangle shape.
Declaration
public RectangleAnnotation Rectangle { get; set; }
Property Value
Type | Description |
---|---|
RectangleAnnotation | The rectangle allows the user to change the rectangle shape's appearance. |
Selector
Gets or sets the value to customize the Annotation Selector
Declaration
public SelectorSettings Selector { get; set; }
Property Value
Type |
---|
SelectorSettings |
Stamp
Gets or sets the Appearance for the stamp
Declaration
public StampAnnotationSettings Stamp { get; set; }
Property Value
Type |
---|
StampAnnotationSettings |
TextMarkup
Gets or sets the value to customize the default values of TextMarkup Annotation
Declaration
public DefaultTextMarkupAnnotationSettings TextMarkup { get; set; }
Property Value
Type |
---|
DefaultTextMarkupAnnotationSettings |