Class InkAnnotationSettings
Represents the customization of ink annotation
Namespace: Syncfusion.SfPdfViewer.Android
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class InkAnnotationSettings : Object
Properties
Color
Gets and sets default color of ink annotation.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Android.Graphics.Color | Default ink color is red. |
Constraints
Gets or sets a value that indicates the constraints to the annotation interactions.
Declaration
public AnnotationConstraints Constraints { get; set; }
Property Value
Type |
---|
AnnotationConstraints |
EnableSeparateAttributesForEachStroke
Gets or sets a value that indicates whether each ink stroke's properties or attributes can be changed separately.
Declaration
public bool EnableSeparateAttributesForEachStroke { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When the property is set to "true", each ink stroke will be selected and modified separately. When it is set to "false", all the strokes drawn in a single ink session will be selected and modified as a whole.
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.
MinimumSize
Gets or sets the minimum size to which the annotation can be resized.
Declaration
public Size MinimumSize { get; set; }
Property Value
Type |
---|
Android.Util.Size |
Opacity
Gets or sets default opacity of ink annotation.
Declaration
public float Opacity { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Default ink opacity is 1. |
Thickness
Gets or sets default thickness of ink annotation.
Declaration
public float Thickness { get; set; }
Property Value
Type | Description |
---|---|
System.Single | Default ink thickness is 5. |