PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / ViewState Structure / CreateFromPreviewPane Method
The C1PreviewPane to store the properties of.

In This Topic
    CreateFromPreviewPane Method (ViewState)
    In This Topic
    Creates a ViewState value and fills it with the properties of a specified C1PreviewPane.
    Syntax
    'Declaration
     
    Public Shared Function CreateFromPreviewPane( _
       ByVal previewPane As C1PreviewPane _
    ) As ViewState
    public static ViewState CreateFromPreviewPane( 
       C1PreviewPane previewPane
    )

    Parameters

    previewPane
    The C1PreviewPane to store the properties of.

    Return Value

    The created ViewState value.
    See Also