using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace PdfiumViewer
{
///
/// Describes a link on a page.
///
public class PdfPageLink
{
///
/// The location of the link.
///
public RectangleF Bounds { get; private set; }
///
/// The target of the link.
///
public int? TargetPage { get; private set; }
///
/// The target URI of the link.
///
public string Uri { get; private set; }
///
/// Creates a new instance of the PdfPageLink class.
///
/// The location of the link
/// The target page of the link
/// The target URI of the link
public PdfPageLink(RectangleF bounds, int? targetPage, string uri)
{
Bounds = bounds;
TargetPage = targetPage;
Uri = uri;
}
}
}