Class Stamp

This class represents a Stamp annotation.

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

Properties

| Edit this page View Source

Color

Color of the stamp.

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

Rotation

The rotation of the annotation. Can either be 0°, 90°, 180°, or 270°.

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

StampType

The type of the stamp. If the type is Custom then the stamp displays any text set as the title and subtitle.

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public StampType StampType { get; set; }
Property Value
Type Description
StampType
| Edit this page View Source

Subtitle

Subtitle of the stamp.

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public string Subtitle { get; set; }
Property Value
Type Description
string
| Edit this page View Source

Title

Title of the stamp.

Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public string Title { get; set; }
Property Value
Type Description
string

Implements

IAnnotation