'Declaration
Public Overloads 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
public bool PrintDialogBySize( int ImageID, IWin32Window owner, float DstLeft, float DstTop, float Width, float Height )
public function PrintDialogBySize( ImageID: Integer; owner: IWin32Window; DstLeft: Single; DstTop: Single; Width: Single; Height: Single ): Boolean;
public function PrintDialogBySize( ImageID : int, owner : IWin32Window, DstLeft : float, DstTop : float, Width : float, Height : float ) : boolean;
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the image in use.
- 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 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.