Class Link
This class represents a Link annotation.
Implements
Inherited Members
Namespace: PSPDFKit.Sdk.Models.Annotation
Assembly: Sdk.dll
Syntax
public sealed class Link : AnnotationBase, IAnnotation
Properties
| Edit this page View SourceAction
The ActionBase that will be triggered when the link annotation is either clicked or tapped.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
[JsonConverter(typeof(ActionJsonConverter))]
public ActionBase Action { get; set; }
Property Value
Type | Description |
---|---|
ActionBase |
BorderColor
Optional border color that will be drawn at the border of the bounding box.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(ColorJsonConverter))]
public Color? BorderColor { get; set; }
Property Value
Type | Description |
---|---|
Color? |
BorderStyle
Optional border style used for the border of the bounding box.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter), new object[] { typeof(CamelCaseNamingStrategy) })]
public BorderStyle? BorderStyle { get; set; }
Property Value
Type | Description |
---|---|
BorderStyle? |
BorderWidth
Optional border width in PDF pixels, that will be used for the border of the bounding box.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
public float BorderWidth { get; set; }
Property Value
Type | Description |
---|---|
float |