'Declaration
Public Overloads Function PrintDialogBySize( _ ByVal ImageID As Integer, _ ByVal DstLeft As Single, _ ByVal DstTop As Single, _ ByVal Width As Single, _ ByVal Height As Single _ ) As Boolean
public bool PrintDialogBySize( int ImageID, float DstLeft, float DstTop, float Width, float Height )
public function PrintDialogBySize( ImageID: Integer; DstLeft: Single; DstTop: Single; Width: Single; Height: Single ): Boolean;
public function PrintDialogBySize( ImageID : int, DstLeft : float, DstTop : float, Width : float, Height : float ) : boolean;
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the image in use.
- DstLeft
- Specifies the x-coordinate (in inches) of the upper-left corner of the provided GdPicture image into the paper.
- DstTop
- Specifies the y-coordinate (in inches) of the upper-left corner of the provided GdPicture image into the paper.
- Width
- Specifies the width (in inches) of the provided GdPicture image into the paper.
- Height
- Specifies the height (in inches) of the provided GdPicture image into the paper.
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.