Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NPrintDocument Class / QueryPageSettings Event


In This Topic
    QueryPageSettings Event
    In This Topic
    Occurs before each PrintPage event.
    Syntax
    'Declaration
     
    
    Public Event QueryPageSettings As Nevron.Nov.Function(Of NPrintDocument,NQueryPageSettingsEventArgs)
    'Usage
     
    
    Dim instance As NPrintDocument
    Dim handler As Nevron.Nov.Function(Of NPrintDocument,NQueryPageSettingsEventArgs)
     
    AddHandler instance.QueryPageSettings, handler
    public event Nevron.Nov.Function<NPrintDocument,NQueryPageSettingsEventArgs> QueryPageSettings
    Remarks
    This event can be used to modify page settings (like paper size and orientation) before printing the next page. The new page settings will be applied to all subsequent pages of the current print job.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also