Table of Contents

Class PdfFieldBehavior

Namespace
PdfEngine.Vector.Forms
Assembly
PdfEngine.Vector.dll

What a field's scripts ask for, as understood without running them.

public sealed class PdfFieldBehavior
Inheritance
PdfFieldBehavior
Inherited Members

Properties

CalculateExpression

A simplified-field-notation expression (Acrobat's /** BVCALC ... EVCALC **/).

public string? CalculateExpression { get; init; }

Property Value

string

CalculateFields

public IReadOnlyList<string> CalculateFields { get; init; }

Property Value

IReadOnlyList<string>

CalculateOperation

AFSimple_Calculate: SUM, AVG, PRD, MIN or MAX over the named fields.

public string? CalculateOperation { get; init; }

Property Value

string

Calculates

public bool Calculates { get; }

Property Value

bool

Currency

public string Currency { get; init; }

Property Value

string

CurrencyPrepend

public bool CurrencyPrepend { get; init; }

Property Value

bool

Decimals

public int Decimals { get; init; }

Property Value

int

Format

public PdfFieldFormatKind Format { get; init; }

Property Value

PdfFieldFormatKind

IsNumeric

public bool IsNumeric { get; }

Property Value

bool

Mask

AFSpecial_KeystrokeEx mask: 9 digit, A letter, O letter or digit, X anything, others literal.

public string Mask { get; init; }

Property Value

string

NegativeStyle

0 minus, 1 red, 2 parentheses, 3 red parentheses.

public int NegativeStyle { get; init; }

Property Value

int

Pattern

Date or time pattern (Acrobat tokens: d dd ddd dddd m mm mmm mmmm yy yyyy H HH h hh MM ss tt).

public string Pattern { get; init; }

Property Value

string

PercentPrepend

public bool PercentPrepend { get; init; }

Property Value

bool

RangeMax

public double? RangeMax { get; init; }

Property Value

double?

RangeMin

public double? RangeMin { get; init; }

Property Value

double?

SeparatorStyle

AFNumber sepStyle: 0 "1,234.56", 1 "1234.56", 2 "1.234,56", 3 "1234,56", 4 "1'234.56".

public int SeparatorStyle { get; init; }

Property Value

int

Special

AFSpecial_Format: 0 zip, 1 zip+4, 2 phone, 3 social security number.

public int Special { get; init; }

Property Value

int

Unsupported

Triggers whose script is custom code this reader does not run.

public IReadOnlyList<string> Unsupported { get; init; }

Property Value

IReadOnlyList<string>