Table of Contents

Method CreateVerticalPosition

Namespace
PdfSharp.Pdf.Advanced
Assembly
PdfSharp.dll

CreateVerticalPosition(double?, double?)

Creates a PdfNamedDestinationParameters object for a named destination. Moving to this destination will move to the desired top value and the optional zoom value on the destination page. The left value for the displayed area and null values are retained unchanged.

public static PdfNamedDestinationParameters CreateVerticalPosition(double? top, double? zoom = null)

Parameters

top double?

The top value of the displayed area in PDF world space units.

zoom double?

Optional: The zoom value for the displayed area. 1 = 100%, 2 = 200% etc.

Returns

PdfNamedDestinationParameters