LinkAnnotation

Overview

LinkAnnotation is a class in Aspose.PDF FOSS for TypeScript. Inherits from: Annotation.

A /Link annotation.

This class declares 2 methods for LinkAnnotation objects in TypeScript programs. Available methods include: Flatten, constructor. All public members are accessible to any TypeScript application after installing the Aspose.PDF FOSS for TypeScript package. Properties: Action, Color, Contents, Dest, Flags, Hidden, and 7 more.

Properties

NameTypeAccessDescription
ActionPdfAction | undefinedReadGets the action.
DestOutlineDest | undefinedReadGets the dest.
SubtypestringReadGets the subtype.
Rect[number, number, number, number] | undefinedRead/WriteGets the rect.
Color[number, number, number] | undefinedRead/WriteGets the color.
Contentsstring | undefinedRead/WriteGets the contents.
Namestring | undefinedRead/WriteGets the name.
LayerLayer | undefinedRead/WriteGets the layer.
ModDateDate | string | undefinedRead/WriteGets the mod date.
FlagsnumberRead/WriteGets the flags.
PrintbooleanRead/WriteGets the print.
HiddenbooleanRead/WriteGets the hidden.
Opacitynumber | undefinedRead/WriteGets the opacity.

Methods

SignatureDescription
constructor(doc: Document, Dict: PdfDict)Calls constructor(doc, Dict) on this LinkAnnotation instance.
Flatten()booleanBake just this annotation into static page content: draw its /AP /N appearance into the page’s /Contents at its /Rect and drop it from /Annots.