PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.5.2 Assembly / C1.Win.C1Preview Namespace / C1PreviewPane Class / PreviewScrollPosition Property

In This Topic
    PreviewScrollPosition Property (C1PreviewPane)
    In This Topic
    Gets or sets the location of the top left corner of the preview area (the scroll position) within the preview window. The value is relative to the PreviewRectangle, not to the ClientRectangle. The value is independent of the ZoomFactor (i.e. setting the same values will scroll to the same logical position in the document at any zoom factor).
    Syntax
    'Declaration
     
    Public Property PreviewScrollPosition As PointF
    public PointF PreviewScrollPosition {get; set;}

    Property Value

    The scroll position (unzoomed).
    See Also