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 SourceScrollStateStruct(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 SourcePage
Current displayed page
Declaration
public readonly int Page { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
X
Horizontal scroll position
Declaration
public readonly double X { get; }
Property Value
Type | Description |
---|---|
System.Double |
Y
Vertical scroll position
Declaration
public readonly double Y { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
| Improve this Doc View SourceToString()
Converts struct to string
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Struct string representation |
Overrides
System.ValueType.ToString()