PDFViewCtrlGetAnnotationCanvasVerticalOffset Method |
Gets the current vertical 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 GetVSrollPos()
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 GetAnnotationCanvasVerticalOffset()
Public Function GetAnnotationCanvasVerticalOffset As Double
public:
virtual double GetAnnotationCanvasVerticalOffset() sealed
function GetAnnotationCanvasVerticalOffset();
Return Value
Type:
DoubleGets the current vertical scroll position of the AnnotationCanvas.
See Also