PeachDrawing.Core

PeachDrawing.Core.Canvas

Canvas.AddDestinationLink(Rect, string, IReadOnlyList<PaintPoint>) Method

Makes bounds a clickable link to a place on a page of the document that was named with AddDestination(string, double) (on this canvas or on the canvas of another page).

public virtual object? AddDestinationLink(PeachDrawing.Core.Rect bounds, string destinationName, System.Collections.Generic.IReadOnlyList<PeachDrawing.Core.PaintPoint>? quad=null);

Parameters

bounds Rect

the clickable area, in this canvas’s layout units

destinationName System.String

the name the destination was given

quad System.Collections.Generic.IReadOnlyList<PaintPoint>

see AddLink(Rect, string, IReadOnlyList<PaintPoint>)

Returns

System.Object
see AddLink(Rect, string, IReadOnlyList<PaintPoint>)