Skip to main content

PdfStampStyle Enum

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

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

Inheritance: Enum -> PdfStampStyle

Fields

NameDescription
ClassicA classic rubber stamp: heavy rounded outer rule, thin inner rule, slightly inked colour. The default.
FlatA flat badge: solid block of the stamp colour with crisp corners and the label reversed in white.
LegalA legal plate: square corners, heavy outer rule, hairline inner rule.
OutlineA single thin rule around the label, square corners, minimum ink; safe over dense scans.
PillA 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

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