LinkAnnotation Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class represents a link annotation represents either a hypertext link to a destination elsewhere in the document or an action to be performed.
Inheritance Hierarchy

SystemObject
  Apitron.PDF.Kit.FixedLayout.ResourcesResource
    Apitron.PDF.Kit.FixedLayout.ResourcesUndefinedResource
      Apitron.PDF.Kit.Interactive.AnnotationsAnnotation
        Apitron.PDF.Kit.Interactive.AnnotationsLinkAnnotation

Namespace:  Apitron.PDF.Kit.Interactive.Annotations
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public sealed class LinkAnnotation : Annotation

The LinkAnnotation type exposes the following members.

Constructors

  NameDescription
Public methodCode exampleLinkAnnotation
Initializes a new instance of the Object class.
Top
Properties

  NameDescription
Public propertyCode exampleAction
Gets or sets an action that shall be performed when the link annotation is activated
Public propertyAppearance
Gets the annotation's appearance.
(Inherited from Annotation.)
Public propertyBlendMode
The blend mode that shall be used when painting the annotation onto the page. If this key is not present, blending shall take place using the Normal blend mode. The value shall be a valur, designating one of the standard blend modes listed in BlendMode enum.
(Inherited from Annotation.)
Public propertyBorderEffect
Gets or sets a border effect that is used in conjunction with the border style specified by the BorderStyle entry.
(Inherited from Annotation.)
Public propertyBorderStyle
Gets the annotation's border style.
(Inherited from Annotation.)
Public propertyBoundary
Gets the annotation's boundary.
(Inherited from Annotation.)
Public propertyCanBeExported
Gets a value indicating whether this instance can be exported.
(Inherited from Resource.)
Public propertyColor
Gets or sets the color. An array of numbers in the range 0.0 to 1.0, representing a colour used for the following purposes: The background of the annotation’s icon when closed The title bar of the annotation’s pop-up window The border of a link annotation The number of array elements determines the colour space in which the colour shall be defined: 0 No colour; transparent 1 DeviceGray 3 DeviceRGB 4 DeviceCMYK
(Inherited from Annotation.)
Public propertyContents
Gets or sets the contents. Text that shall be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form. In either case, this text is useful when extracting the document’s contents in support of accessibility to users with disabilities or for other purposes.
(Inherited from Annotation.)
Public propertyCode exampleDestination
Gets or sets a destination that shall be displayed when the annotation is activated.
Public propertyFlags
Gets the annotation's flags.
(Inherited from Annotation.)
Public propertyFontResourceID
Gets or sets the font resource ID.
(Inherited from Annotation.)
Public propertyFontSize
Gets or sets the size of the font.
(Inherited from Annotation.)
Public propertyCode exampleHighlightingMode
Gets or sets the annotation’s highlighting mode, the visual effect that shall be used when the mouse button is pressed or held down inside its active area
Public propertyIdentity
Gets or sets the identity.
(Inherited from Annotation.)
Public propertyInteriorColor
Gets or sets the interior color. An array of numbers in the range 0.0 to 1.0 specifying the interior color that shall be used to fill the annotation’s line endings. The number of array elements shall determine the colour space in which the colour is defined: 0 No colour; transparent 1 DeviceGray 3 DeviceRGB 4 DeviceCMYK
(Inherited from Annotation.)
Public propertyModificationDate
Gets the date and time when the annotation was most recently modified.
(Inherited from Annotation.)
Public propertyNonStrokingOpacity
When regenerating the annotation's appearance, this is the opacity value (the range is 0.0 - 1.0) that shall be used for all nonstroking operations on all visible elements of the annotation in its closed state (including its background and border) but not the popup window that appears when the annotation is opened. Default value: 1.0 The specified value shall not be used if the annotation has an appearance; in that case, the appearance stream shall specify any transparency.
(Inherited from Annotation.)
Public propertyPageNumber
Gets or sets the ordinal page number on which this annotation shall appear, where page 0 is the first page. Meaningful for FormsDataDocument only.
(Inherited from Annotation.)
Public propertyCode exampleQuadPoints
Gets or sets an array of 8 × n numbers specifying the coordinates of n quadrilaterals in default user space that comprise the region in which the link should be activated.
Public propertyRectDifferences
Gets or sets a set of four numbers describing the numerical differences between two rectangles: the Boundary entry of the annotation and a rectangle contained within that rectangle. The inner rectangle is where the annotation’s text should be displayed. Any border styles and/or border effects specified by BorderStyle and BorderEffect entries, respectively, shall be applied to the border of the inner rectangle. The four numbers correspond to the differences in default user space between the left, top, right, and bottom coordinates of Boundary and those of the inner rectangle, respectively. Each value shall be greater than or equal to 0. The sum of the top and bottom differences shall be less than the height of Boundary, and the sum of the left and right differences shall be less than the width of Boundary.
(Inherited from Annotation.)
Public propertyResourceType
Gets the resource type.
(Inherited from Resource.)
Public propertyStrokingOpacity
When regenerating the annotation's appearance, this is the opacity value (the range is 0.0 - 1.0) that shall be used for stroking all visible elements of the annotation in its closed state, including its background and border, but not the popup window that appears when the annotation is opened. If a NonStrokingOpacity property is not present in this annotation, then the value of this StrokingOpacity entry shall also be used for nonstroking operations as well. Default Value: 1.0 The specified value shall not be used if the annotation has an appearance; in that case, the appearance stream shall specify any transparency.
(Inherited from Annotation.)
Public propertyStructParent
Gets or sets the parent's structure.
(Inherited from Annotation.)
Public propertyTag
Gets or sets extra information about the annotation.
(Inherited from Annotation.)
Public propertyType
Gets the type.
(Inherited from Annotation.)
Top
Methods

  NameDescription
Public methodFindLocations
Finds the pages where the annotation is located.
(Inherited from Annotation.)
Public methodFlatten
Flattens this instance and removes from the parent collection.
(Inherited from Annotation.)
Top
See Also

Reference