# PdfAnnotationCreateOptions

Creates a standard annotation on an existing PDF page.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

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

**Implements**

`IPdfOperationCancellation`

**Modifiers**

sealed

Creates a standard annotation on an existing PDF page.

## Inheritance

- object
- PdfAnnotationCreateOptions

## 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.Add](/api/pdf/officeimo-pdf-pdfdocumentannotations/#method-add-officeimo-pdf-pdfannotationcreateoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

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

## 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 int PageNumber { get; set; }` [#](#property-pagenumber)

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

One-based target page number.

`public string Subtype { get; set; }` [#](#property-subtype)

[PdfAnnotationCreateOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L16)

PDF annotation subtype such as Text, FreeText, Highlight, Line, Square, Circle, Polygon, PolyLine, Ink, Stamp, or Caret.

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

[PdfAnnotationCreateOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L18)

Annotation rectangle as left, bottom, right, top.

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

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

Optional annotation contents.

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

[PdfAnnotationCreateOptions.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L22)

URI action target for a Link annotation. Other annotation subtypes must leave this null.

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

[PdfAnnotationCreateOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L24)

One-based page in this document that a Link annotation opens, fitted to the window. Use instead of [PdfAnnotationCreateOptions.LinkUri](/api/pdf/officeimo-pdf-pdfannotationcreateoptions/).

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

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

Optional author/title.

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

[PdfAnnotationCreateOptions.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L28)

Optional stable /NM name.

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

[PdfAnnotationCreateOptions.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L30)

Annotation flags. The default enables printing.

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

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

Optional RGB color.

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

[PdfAnnotationCreateOptions.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L34)

Optional gray, RGB, or CMYK interior color.

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

[PdfAnnotationCreateOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L36)

Optional annotation opacity from 0 through 1.

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

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

Optional border width.

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

[PdfAnnotationCreateOptions.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L40)

Optional standard border style.

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

[PdfAnnotationCreateOptions.cs:42](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L42)

Optional border dash pattern.

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

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

Optional text-markup quadrilaterals.

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

[PdfAnnotationCreateOptions.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L46)

Optional polygon/polyline vertices.

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

[PdfAnnotationCreateOptions.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L48)

Optional line endpoints.

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

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

Optional ink paths.

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

[PdfAnnotationCreateOptions.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L52)

Optional line-start ending name.

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

[PdfAnnotationCreateOptions.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L54)

Optional line-end ending name.

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

[PdfAnnotationCreateOptions.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L56)

Optional icon or stamp name stored in /Name.

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

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

Optional reply-parent annotation object number.

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

[PdfAnnotationCreateOptions.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L60)

Reply type, normally R or Group.

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

[PdfAnnotationCreateOptions.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L62)

Optional standard annotation review state.

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

[PdfAnnotationCreateOptions.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L64)

Optional annotation subject stored in /Subj.

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

[PdfAnnotationCreateOptions.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L66)

Optional annotation intent name stored in /IT.

`public bool CreatePopup { get; set; }` [#](#property-createpopup)

[PdfAnnotationCreateOptions.cs:68](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L68)

Creates and links a popup annotation.

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

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

Popup rectangle. Defaults beside the parent rectangle.

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

[PdfAnnotationCreateOptions.cs:72](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L72)

Initial popup open state.

`public bool GenerateAppearance { get; set; }` [#](#property-generateappearance)

[PdfAnnotationCreateOptions.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationCreateOptions.cs#L74)

Generates a normal appearance for supported visual subtypes.

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

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

Preferred full-rewrite or append-only mutation mode.

<!-- PowerForge markdown artifact sha256:4E4CD0EEEC55180F6DA03E3C1AA68B7F05C7F18643E1CF48957DBF6BA1F73656 -->
