Class TextMarkupAnnotationBase

Base annotation type from which all markup annotations inherit.

Inheritance
TextMarkupAnnotationBase
Implements
Namespace: PSPDFKit.Sdk.Models.Annotation
Assembly: Sdk.dll
Syntax
public abstract class TextMarkupAnnotationBase : AnnotationBase, IAnnotation

Properties

| Edit this page View Source

Color

Color for the markup.

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
[JsonConverter(typeof(ColorJsonConverter))]
public Color Color { get; set; }
Property Value
Type Description
Color
| Edit this page View Source

Rects

A list of reactangles where the annotation is drawn. This is necessary to display a markup annotation on multiple lines.

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public IEnumerable<Rectangle> Rects { get; set; }
Property Value
Type Description
IEnumerable<Rectangle>
Remarks

The BoundingBox should be set to the union of this list.

Methods

| Edit this page View Source

ToJson()

Declaration
public override string ToJson()
Returns
Type Description
string
Overrides
AnnotationBase.ToJson()

Implements

IAnnotation