Class InkAnnotationSettings
Represents the customization of ink annotation
Namespace: Syncfusion.SfPdfViewer.iOS
Assembly: Syncfusion.SfPdfViewer.iOS.dll
Syntax
public class InkAnnotationSettings : Object
Properties
Color
Gets and sets default color of ink annotation.
Declaration
public UIColor Color { get; set; }
Property Value
Type | Description |
---|---|
UIKit.UIColor | 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.
MaximumHeight
Gets or Sets the maximum height of the annotation.
Declaration
public nfloat MaximumHeight { get; set; }
Property Value
Type |
---|
System.nfloat |
MaximumWidth
Gets or sets the maximum width of the annotation.
Declaration
public nfloat MaximumWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
MinimumHeight
Gets or Sets the minimum height of the annotation.
Declaration
public nfloat MinimumHeight { get; set; }
Property Value
Type |
---|
System.nfloat |
MinimumSize
Gets or sets the minimum size to which the annotation can be resized.
Declaration
public CGSize MinimumSize { get; set; }
Property Value
Type |
---|
CoreGraphics.CGSize |
MinimumWidth
Gets or sets the minimum width of the annotation.
Declaration
public nfloat MinimumWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
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 |
TouchMode
Gets or sets a value that indicates the input mode in which the ink strokes should be allowed to be drawn.
Declaration
public TouchMode TouchMode { get; set; }
Property Value
Type | Description |
---|---|
TouchMode | Default touch mode is Direct |
Remarks
When the value is set to Stylus, the ink annotations can be drawn using pencil and the PDF can be scrolled using fingers at the same time.