PrintDocument for WinForms | ComponentOne
C1.Win.PrintPreview.4.8 Assembly / C1.Win.C1Preview Namespace / C1PreviewAction Class / FromAction Method
A C1PreviewActionEnum value representing the action.

In This Topic
    FromAction Method (C1PreviewAction)
    In This Topic
    Creates a C1PreviewAction object corresponding to the specified action, using the ImageSetEnum.Flat image set.
    Syntax
    'Declaration
     
    Public Shared Function FromAction( _
       ByVal action As C1PreviewActionEnum _
    ) As C1PreviewAction
    public static C1PreviewAction FromAction( 
       C1PreviewActionEnum action
    )

    Parameters

    action
    A C1PreviewActionEnum value representing the action.

    Return Value

    A C1PreviewAction object representing the action.
    See Also