Table of Contents

Property Top

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Top

Gets the y-coordinate of the upper-left corner of the page to be positioned at the upper-left corner of the window when this view gets displayed.

public double? Top { get; }

Property Value

double?

The y-coordinate of the upper-left corner of the page to be positioned at the upper-left corner of the window.

The coordinate is relative to the bottom edge of the page. I.e. offset 0 means "display bottom edge of the Page at the top edge of the window", which effectively means "display the top edge of the next page at the top edge of the window".

Default value: null, which means "display the top edge of the Page at the top edge of the window".

Remarks

Use the following formula to calculate offset from the top edge of the page: (Page.Height - Top).