PdfStampStyle Enum
Definition
The look of a rubber stamp added with the Stamp tool or Avalonia.Controls.PdfViewer.AddStampAsync(int,string,double,double,Nullable{Avalonia.Controls.Pdf.Core.PdfAnnotationColor},Nullable{Avalonia.Controls.PdfStampStyle},Nullable{bool}). The style is kept with the annotation, so a stamp keeps its look when it is resized, rotated, recoloured, copied or reloaded. Every style is drawn from rectangles, lines and text, so the appearance stream and the on-screen overlay match in any reader.
public enum PdfStampStyle
Fields
| Name | Description |
|---|---|
| Classic | A classic rubber stamp: heavy rounded outer rule, thin inner rule, slightly inked colour. The default. |
| Flat | A flat badge: solid block of the stamp colour with crisp corners and the label reversed in white. |
| Legal | A legal plate: square corners, heavy outer rule, hairline inner rule. |
| Outline | A single thin rule around the label, square corners, minimum ink; safe over dense scans. |
| Pill | A pill chip: fully rounded, tinted ground with a thin rule; quiet on screen. |
Classic Field
A classic rubber stamp: heavy rounded outer rule, thin inner rule, slightly inked colour. The default.
public Avalonia.Controls.PdfStampStyle Classic
Flat Field
A flat badge: solid block of the stamp colour with crisp corners and the label reversed in white.
public Avalonia.Controls.PdfStampStyle Flat
Legal Field
A legal plate: square corners, heavy outer rule, hairline inner rule.
public Avalonia.Controls.PdfStampStyle Legal
Outline Field
A single thin rule around the label, square corners, minimum ink; safe over dense scans.
public Avalonia.Controls.PdfStampStyle Outline
Pill Field
A pill chip: fully rounded, tinted ground with a thin rule; quiet on screen.
public Avalonia.Controls.PdfStampStyle Pill