PrintDocument for WinForms | ComponentOne
C1.PrintDocument.8 Assembly / C1.C1Preview Namespace / C1MultiDocument Class / PageAsMetafile Method / PageAsMetafile(Int32,Boolean,SmoothingMode) Method
The page index (0-based).
A value indicating whether to render input (preview forms) controls.
The smoothing mode to use.

In This Topic
    PageAsMetafile(Int32,Boolean,SmoothingMode) Method
    In This Topic
    Gets a System.Drawing.Imaging.Metafile that represents the specified page.
    Syntax
    'Declaration
     
    Public Overloads Function PageAsMetafile( _
       ByVal pageIndex As Integer, _
       ByVal renderInputControls As Boolean, _
       ByVal smoothingMode As SmoothingMode _
    ) As Metafile
    public Metafile PageAsMetafile( 
       int pageIndex,
       bool renderInputControls,
       SmoothingMode smoothingMode
    )

    Parameters

    pageIndex
    The page index (0-based).
    renderInputControls
    A value indicating whether to render input (preview forms) controls.
    smoothingMode
    The smoothing mode to use.

    Return Value

    The System.Drawing.Imaging.Metafile representing the specified page, or null if index was invalid.
    See Also