PdfAnnotationCreateOptions
OfficeIMO.Pdf
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
Constructors
public PdfAnnotationCreateOptions() #Inherited Methods
Properties
public string Subtype { get; set; } #PDF annotation subtype such as Text, FreeText, Highlight, Line, Square, Circle, Polygon, PolyLine, Ink, Stamp, or Caret.
public IReadOnlyList<double> Rectangle { get; set; } #Annotation rectangle as left, bottom, right, top.
public string? Contents { get; set; } #Optional annotation contents.
public string? LinkUri { get; set; } #URI action target for a Link annotation. Other annotation subtypes must leave this null.
public int? LinkPageNumber { get; set; } #One-based page in this document that a Link annotation opens, fitted to the window. Use instead of PdfAnnotationCreateOptions.LinkUri.
public int Flags { get; set; } #Annotation flags. The default enables printing.
public IReadOnlyList<double>? Color { get; set; } #Optional RGB color.
public IReadOnlyList<double>? InteriorColor { get; set; } #Optional gray, RGB, or CMYK interior color.
public double? Opacity { get; set; } #Optional annotation opacity from 0 through 1.
public PdfAnnotationBorderStyle? BorderStyle { get; set; } #Optional standard border style.
public IReadOnlyList<double>? BorderDashPattern { get; set; } #Optional border dash pattern.
public IReadOnlyList<double>? QuadPoints { get; set; } #Optional text-markup quadrilaterals.
public IReadOnlyList<double>? Vertices { get; set; } #Optional polygon/polyline vertices.
public IReadOnlyList<double>? Line { get; set; } #Optional line endpoints.
public IReadOnlyList<IReadOnlyList<double>>? InkPaths { get; set; } #Optional ink paths.
public string? LineStartEnding { get; set; } #Optional line-start ending name.
public string? LineEndEnding { get; set; } #Optional line-end ending name.
public string? IconName { get; set; } #Optional icon or stamp name stored in /Name.
public int? InReplyToObjectNumber { get; set; } #Optional reply-parent annotation object number.
public string? ReplyType { get; set; } #Reply type, normally R or Group.
public PdfAnnotationReviewState? ReviewState { get; set; } #Optional standard annotation review state.
public string? Subject { get; set; } #Optional annotation subject stored in /Subj.
public string? Intent { get; set; } #Optional annotation intent name stored in /IT.
public bool CreatePopup { get; set; } #Creates and links a popup annotation.
public IReadOnlyList<double>? PopupRectangle { get; set; } #Popup rectangle. Defaults beside the parent rectangle.
public bool GenerateAppearance { get; set; } #Generates a normal appearance for supported visual subtypes.
public PdfMutationExecutionPreference ExecutionPreference { get; set; } #Preferred full-rewrite or append-only mutation mode.