You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Printing > PrintDialogFit > PrintDialogFit Method (Integer, IWin32Window)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PrintDialogFit Method (Integer, IWin32Window)

Invokes the standard Windows Printer Dialog, which allows users to choose the printer settings, then prints a GdPicture image adjusting the picture size to the default paper size. 

This function allows to specify the top-level window that will own the modal dialog box.

C#
public Boolean PrintDialogFit(
    int ImageID, 
    IWin32Window owner
);
Visual Basic
Public Function PrintDialogFit(
    ByVal ImageID As Integer, 
    ByVal owner As IWin32Window
) As Boolean
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
owner 
Represents the top-level window that will own the modal dialog box.  
Returns

True if success, else False.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.