Class Link

This class represents a Link annotation.

Inheritance
Link
Implements
Namespace: PSPDFKit.Sdk.Models.Annotation
Assembly: Sdk.dll
public sealed class Link : AnnotationBase, IAnnotation

Properties

| Edit this page View Source

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
| Edit this page View Source

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?
| Edit this page View Source

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?
| Edit this page View Source

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

Implements

IAnnotation