GdPicture.NET Reference Guide
PrintBySize Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : PrintBySize Method
GdPicture image identifier.
Specifies the x-coordinate (in inches) of the upper-left corner of the image into the paper.
Specifies the y-coordinate (in inches) of the upper-left corner of the image into the paper.
Specifies the width (in inches) of image into the paper.
Specifies the height (in inches) of image into the paper.
Prints a GdPicture image to the active printer with specific size and position.
Syntax
'Declaration
 
Public Function PrintBySize( _
   ByVal ImageID As Integer, _
   ByVal DstLeft As Single, _
   ByVal DstTop As Single, _
   ByVal Width As Single, _
   ByVal Height As Single _
) As GdPictureStatus
public GdPictureStatus PrintBySize( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height
)
public function PrintBySize( 
    ImageID: Integer;
    DstLeft: Single;
    DstTop: Single;
    Width: Single;
    Height: Single
): GdPictureStatus; 
public function PrintBySize( 
   ImageID : int,
   DstLeft : float,
   DstTop : float,
   Width : float,
   Height : float
) : GdPictureStatus;
public: GdPictureStatus PrintBySize( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height
) 
public:
GdPictureStatus PrintBySize( 
   int ImageID,
   float DstLeft,
   float DstTop,
   float Width,
   float Height
) 

Parameters

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.

Return Value

A member of the GdPictureStatus enumeration.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
PrintGetStat Method