'Declaration
Public Function GetPageImageCoordinates( _ ByVal ImageIdx As Integer, _ ByRef x0 As Single, _ ByRef y0 As Single, _ ByRef x1 As Single, _ ByRef y1 As Single, _ ByRef x2 As Single, _ ByRef y2 As Single _ ) As GdPictureStatus
public GdPictureStatus GetPageImageCoordinates( int ImageIdx, ref float x0, ref float y0, ref float x1, ref float y1, ref float x2, ref float y2 )
public function GetPageImageCoordinates( ImageIdx: Integer; var x0: Single; var y0: Single; var x1: Single; var y1: Single; var x2: Single; var y2: Single ): GdPictureStatus;
public function GetPageImageCoordinates( ImageIdx : int, x0 : float, y0 : float, x1 : float, y1 : float, x2 : float, y2 : float ) : GdPictureStatus;
Parameters
- ImageIdx
- The 0-based index of the image within the current page. It must be a value from 0 to GdPicturePDF.GetPageImageCount-1.
- x0
- Output parameter. The horizontal (X) coordinate of the top left point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
- y0
- Output parameter. The vertical (Y) coordinate of the top left point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
- x1
- Output parameter. The horizontal (X) coordinate of the top right point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
- y1
- Output parameter. The vertical (Y) coordinate of the top right point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
- x2
- Output parameter. The horizontal (X) coordinate of the bottom left point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
- y2
- Output parameter. The vertical (Y) coordinate of the bottom left point, where the image is located. The returned value is expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin.
Return Value
We strongly recommend always checking this status first.