Class TextMarkupAnnotationBase
Base annotation type from which all markup annotations inherit.
Inheritance
TextMarkupAnnotationBase
Implements
Inherited Members
Namespace: PSPDFKit.Sdk.Models.Annotation
Assembly: Sdk.dll
Syntax
public abstract class TextMarkupAnnotationBase : AnnotationBase, IAnnotation
Properties
| Edit this page View SourceColor
Color for the markup.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy))]
[JsonConverter(typeof(ColorJsonConverter))]
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
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 SourceToJson()
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
string |