You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Printing > PrintDialogBySize > PrintDialogBySize Method (Integer, Single, Single, Single, Single)
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.PrintDialogBySize Method (Integer, 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.

C#
public Boolean PrintDialogBySize(
    int ImageID, 
    Single DstLeft, 
    Single DstTop, 
    Single Width, 
    Single Height
);
Visual Basic
Public Function PrintDialogBySize(
    ByVal ImageID As Integer, 
    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.  
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.