Class Stamp
This class represents a Stamp annotation.
Implements
Inherited Members
Namespace: PSPDFKit.Sdk.Models.Annotation
Assembly: Sdk.dll
Syntax
public sealed class Stamp : AnnotationBase, IAnnotation
Properties
| Edit this page View SourceColor
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? |
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 |
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 |
Subtitle
Subtitle of the stamp.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public string Subtitle { get; set; }
Property Value
Type | Description |
---|---|
string |
Title
Title of the stamp.
Declaration
[JsonProperty(NamingStrategyType = typeof(CamelCaseNamingStrategy), NullValueHandling = NullValueHandling.Ignore)]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string |