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

Invokes the standard Windows Printer Dialog, which allows users to choose the printer settings, then prints a GdPicture image with specific size and position. 

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

C#
public Boolean PrintDialogBySize(
    int ImageID, 
    IWin32Window owner, 
    Single DstLeft, 
    Single DstTop, 
    Single Width, 
    Single Height
);
Visual Basic
Public Function PrintDialogBySize(
    ByVal ImageID As Integer, 
    ByVal owner As IWin32Window, 
    ByVal DstLeft As Single, 
    ByVal DstTop As Single, 
    ByVal Width As Single, 
    ByVal Height As Single
) As Boolean
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
owner 
Represents the top-level window that will own the modal dialog box.  
DstLeft 
Specifies the x-coordinate (in inches) of the upper-left corner of the image into the paper.  
DstTop 
Specifies the y-coordinate (in inches) of the upper-left corner of the image into the paper.  
Width 
Specifies the width (in inches) of image into the paper.  
Height 
Specifies the height (in inches) of image into the paper.  
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.