[]
        
(Showing Draft Content)

C1.Win.C1Preview.ViewState

ViewState Struct

A structure containing information about a state of a C1PreviewPane, such as scrolling position, zoom factor and so on. See also ViewState.

Namespace: C1.Win.C1Preview
Assembly: C1.Win.PrintPreview.8.dll
Syntax
public struct ViewState

Fields

Name Description
Cols

Stores the value of the Cols property of a C1PreviewPane.

Continuous

Stores the value of the Continuous property of a C1PreviewPane.

HideMarginsState

Stores the value of the HideMarginsState property of a C1PreviewPane.

PageLayout

Stores the value of the PageLayout property of a C1PreviewPane.

PreviewScrollPosition

Stores the value of the PreviewScrollPosition property of a C1PreviewPane.

PrintingLayout

Stores the value of the PrintingLayout property of a C1PreviewPane.

Rows

Stores the value of the Rows property of a C1PreviewPane.

ShowPageOutline

Stores the value of the ShowPageOutline property of a C1PreviewPane.

ShowPrintableArea

Stores the value of the ShowPrintableArea property of a C1PreviewPane.

ShowRulers

Stores the value of the ShowRulers property of a C1PreviewPane.

ZoomFactor

Stores the value of the ZoomFactor property of a C1PreviewPane.

ZoomMode

Stores the value of the ZoomMode property of a C1PreviewPane.

Methods

Name Description
CopyToPreviewPane(C1PreviewPane)

Copies values from the current ViewState to corresponding properties of a C1PreviewPane.

CreateFromPreviewPane(C1PreviewPane)

Creates a ViewState value and fills it with the properties of a specified C1PreviewPane.

Equals(object)

Tests whether the current ViewState contains the same values as the specified object.

GetHashCode()

Generates a hash code for the current ViewState.

Operators

Name Description
operator ==(ViewState, ViewState)

Tests two ViewState values for equality.

operator !=(ViewState, ViewState)

Tests two ViewState values for non-equality.