'Declaration
Public Overloads Function OverlayPage( _ ByVal PageNo As Integer, _ ByVal DstX As Single, _ ByVal DstY As Single, _ ByVal ScaleX As Single, _ ByVal ScaleY As Single _ ) As GdPictureStatus
public GdPictureStatus OverlayPage( int PageNo, float DstX, float DstY, float ScaleX, float ScaleY )
public function OverlayPage( PageNo: Integer; DstX: Single; DstY: Single; ScaleX: Single; ScaleY: Single ): GdPictureStatus;
public function OverlayPage( PageNo : int, DstX : float, DstY : float, ScaleX : float, ScaleY : float ) : GdPictureStatus;
Parameters
- PageNo
- Page number that shall be used as overlay.
- DstX
- The horizontal (X) coordinate of the bottom left point, where the overlay page is to be drawn, expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin, related to the currently selected page.
- DstY
- The vertical (Y) coordinate of the bottom left point, where the overlay page is to be drawn, expressed in the current units specified by the SetMeasurementUnit method with respect to the currently defined origin, related to the currently selected page.
- ScaleX
- The horizontal scale factor for overlay, it corresponds to the overlay page width.
For example, if this parameter is set to 2.0, it multiplies the width of the overlay page by 2, and if it is set to 0.5, it divides the width by 2.
- ScaleY
- The vertical scale factor for overlay, it corresponds to the overlay page height.
For example, if this parameter is set to 2.0, it multiplies the height of the overlay page by 2, and if it is set to 0.5, it divides the height by 2.
Return Value
We strongly recommend always checking this status first.