Show / Hide Table of Contents

Struct SumatraPDFControl.ScrollStateStruct

Structure which represents Horizontal and Vertical Scroll position of current SumatraPDF displayed page.

Namespace: SumatraPDF
Assembly: SumatraPDFControl.dll
Syntax
public struct ScrollStateStruct

Constructors

| Improve this Doc View Source

ScrollStateStruct(Int32, Double, Double)

ScrollStateStruct Constructor

Declaration
public ScrollStateStruct(int page, double x, double y)
Parameters
Type Name Description
System.Int32 page

Current page

System.Double x

Horizontal scroll position

System.Double y

Vertical scroll position

Properties

| Improve this Doc View Source

Page

Current displayed page

Declaration
public readonly int Page { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

X

Horizontal scroll position

Declaration
public readonly double X { get; }
Property Value
Type Description
System.Double
| Improve this Doc View Source

Y

Vertical scroll position

Declaration
public readonly double Y { get; }
Property Value
Type Description
System.Double

Methods

| Improve this Doc View Source

ToString()

Converts struct to string

Declaration
public override string ToString()
Returns
Type Description
System.String

Struct string representation

Overrides
System.ValueType.ToString()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX