Click or drag to resize

PDFViewCtrlGetAnnotationCanvasHorizontalOffset Method

Gets the current horizontal scroll position of the AnnotationCanvas. Note: Due to a problem with the ScrollViewer, content at offsets greater than 2^21 are not shown inside the ScrollViewer Therefore, we have had to change the structure a little, while preserving the visual appearance of the ScrollViewer, the actual visual tree might look different. Therefore, when adding UI elements to the AnnotationCanvas, use this instead of GetHSrollPos() to calculate the position when, for example, converting from screen space to the Annotation canvas's space.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public double GetAnnotationCanvasHorizontalOffset()

Return Value

Type: Double
Gets the current horizontal scroll position of the AnnotationCanvas.
See Also