'Declaration
Public Overloads Function PrintDialog( _ ByVal owner As IWin32Window, _ ByVal PrintSizeMode As PrintSizeOption _ ) As Boolean
public bool PrintDialog( IWin32Window owner, PrintSizeOption PrintSizeMode )
public function PrintDialog( owner: IWin32Window; PrintSizeMode: PrintSizeOption ): Boolean;
public function PrintDialog( owner : IWin32Window, PrintSizeMode : PrintSizeOption ) : boolean;
public: bool PrintDialog( IWin32Window* owner, PrintSizeOption PrintSizeMode )
public: bool PrintDialog( IWin32Window^ owner, PrintSizeOption PrintSizeMode )
Parameters
- owner
- Represents the top-level window that will own the modal dialog box.
- PrintSizeMode
- A member of the PrintSizeOption enumeration. Sets up the automatic scalling of a printed document to fit the current paper size.
Return Value
true if the method has been followed successfully, otherwise false. Please use the PrintGetStat method to determine the reason for the printing failure.