# PdfAnnotationUpdateOptions

Updates for a single indirect PDF annotation during a safe full rewrite.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfAnnotationUpdateOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L14)

**Implements**

`IPdfOperationCancellation`

**Modifiers**

sealed

Updates for a single indirect PDF annotation during a safe full rewrite.

## Inheritance

- object
- PdfAnnotationUpdateOptions

## Remarks

Native page coordinates use default user-space units: one unit is /UserUnit physical points (1/72 inch each), defaulting to 1. Local text/font and matrix values retain their native coordinate spaces. Explicit visual projections use their documented coordinates.

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [PdfDocumentAnnotations.Update](/api/pdf/officeimo-pdf-pdfdocumentannotations/#method-update-int32-officeimo-pdf-pdfannotationupdateoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfAnnotationUpdateOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public PdfMutationExecutionPreference ExecutionPreference { get; set; }` [#](#property-executionpreference)

[PdfAnnotationUpdateOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L14)

Preferred mutation mode. Automatic uses a full rewrite when safe and append-only when required.

`public string? Contents { get; set; }` [#](#property-contents)

[PdfAnnotationUpdateOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L17)

Replacement /Contents text. Null leaves the value unchanged.

`public string? Title { get; set; }` [#](#property-title)

[PdfAnnotationUpdateOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L20)

Replacement /T title text. Null leaves the value unchanged.

`public string? Name { get; set; }` [#](#property-name)

[PdfAnnotationUpdateOptions.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L23)

Replacement /NM annotation name. Null leaves the value unchanged.

`public int? Flags { get; set; }` [#](#property-flags)

[PdfAnnotationUpdateOptions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L26)

Replacement /F annotation flags. Null leaves the value unchanged.

`public IReadOnlyList<double>? Color { get; set; }` [#](#property-color)

[PdfAnnotationUpdateOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L29)

Replacement RGB /C color values in the 0..1 range. Null leaves the value unchanged.

`public IReadOnlyList<double>? InteriorColor { get; set; }` [#](#property-interiorcolor)

[PdfAnnotationUpdateOptions.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L32)

Replacement gray, RGB, or CMYK /IC interior color values in the 0..1 range. Null leaves the value unchanged.

`public double? Opacity { get; set; }` [#](#property-opacity)

[PdfAnnotationUpdateOptions.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L35)

Replacement /CA annotation opacity in the 0..1 range. Null leaves the value unchanged.

`public double? BorderWidth { get; set; }` [#](#property-borderwidth)

[PdfAnnotationUpdateOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L38)

Replacement /BS border width. Null leaves the value unchanged.

`public PdfAnnotationBorderStyle? BorderStyle { get; set; }` [#](#property-borderstyle)

[PdfAnnotationUpdateOptions.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L41)

Replacement /BS border style. Null leaves the value unchanged.

`public IReadOnlyList<double>? BorderDashPattern { get; set; }` [#](#property-borderdashpattern)

[PdfAnnotationUpdateOptions.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L44)

Replacement /BS dash pattern. Null leaves the value unchanged.

`public bool RemoveActions { get; set; }` [#](#property-removeactions)

[PdfAnnotationUpdateOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L47)

Remove /A and /AA action dictionaries from the annotation.

`public IReadOnlyList<double>? Rectangle { get; set; }` [#](#property-rectangle)

[PdfAnnotationUpdateOptions.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L50)

Replacement annotation rectangle as left, bottom, right, top coordinates.

`public IReadOnlyList<double>? QuadPoints { get; set; }` [#](#property-quadpoints)

[PdfAnnotationUpdateOptions.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L55)

Replacement text-markup quadrilaterals as groups of eight coordinates.

`public IReadOnlyList<double>? Vertices { get; set; }` [#](#property-vertices)

[PdfAnnotationUpdateOptions.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L58)

Replacement polygon or polyline vertices as x/y coordinate pairs.

`public IReadOnlyList<double>? Line { get; set; }` [#](#property-line)

[PdfAnnotationUpdateOptions.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L61)

Replacement line endpoints as x1, y1, x2, y2.

`public IReadOnlyList<IReadOnlyList<double>>? InkPaths { get; set; }` [#](#property-inkpaths)

[PdfAnnotationUpdateOptions.cs:70](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L70)

Replacement ink paths; every path is an x/y coordinate sequence.

`public string? LineStartEnding { get; set; }` [#](#property-linestartending)

[PdfAnnotationUpdateOptions.cs:73](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L73)

Replacement line-start ending name, for example None, OpenArrow, or ClosedArrow.

`public string? LineEndEnding { get; set; }` [#](#property-lineendending)

[PdfAnnotationUpdateOptions.cs:76](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L76)

Replacement line-end ending name.

`public int? InReplyToObjectNumber { get; set; }` [#](#property-inreplytoobjectnumber)

[PdfAnnotationUpdateOptions.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L79)

Replacement indirect annotation object used as /IRT reply parent.

`public string? ReplyType { get; set; }` [#](#property-replytype)

[PdfAnnotationUpdateOptions.cs:82](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L82)

Replacement reply type stored in /RT, normally R or Group.

`public PdfAnnotationReviewState? ReviewState { get; set; }` [#](#property-reviewstate)

[PdfAnnotationUpdateOptions.cs:85](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L85)

Replacement standard annotation state and matching state model.

`public string? Subject { get; set; }` [#](#property-subject)

[PdfAnnotationUpdateOptions.cs:88](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L88)

Replacement /Subj subject text. Null leaves the value unchanged.

`public string? Intent { get; set; }` [#](#property-intent)

[PdfAnnotationUpdateOptions.cs:91](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L91)

Replacement /IT intent name. Null leaves the value unchanged.

`public bool? PopupOpen { get; set; }` [#](#property-popupopen)

[PdfAnnotationUpdateOptions.cs:94](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L94)

Replacement popup open state for a popup annotation or linked /Popup dictionary.

`public IReadOnlyList<double>? PopupRectangle { get; set; }` [#](#property-popuprectangle)

[PdfAnnotationUpdateOptions.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L97)

Replacement linked popup rectangle as left, bottom, right, top coordinates.

`public bool RegenerateAppearance { get; set; }` [#](#property-regenerateappearance)

[PdfAnnotationUpdateOptions.cs:100](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L100)

Regenerates a supported normal appearance stream after applying the update.

`public bool AllowResidualDataInAppendOnly { get; set; }` [#](#property-allowresidualdatainappendonly)

[PdfAnnotationUpdateOptions.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationUpdateOptions.cs#L108)

Allows append-only updates even though prior revisions retain replaced annotation data. Disabled by default because append-only output is not a sanitization boundary.

<!-- PowerForge markdown artifact sha256:28A332D2FA5B72C956B50638C75FCE88DBE8CB1D308D46D93F4D046913A7E865 -->
