'Declaration
Public Function SetPageBox( _ ByVal PageBox As PdfPageBox, _ ByVal Left As Single, _ ByVal Top As Single, _ ByVal Right As Single, _ ByVal Bottom As Single _ ) As GdPictureStatus
public GdPictureStatus SetPageBox( PdfPageBox PageBox, float Left, float Top, float Right, float Bottom )
public function SetPageBox( PageBox: PdfPageBox; Left: Single; Top: Single; Right: Single; Bottom: Single ): GdPictureStatus;
public function SetPageBox( PageBox : PdfPageBox, Left : float, Top : float, Right : float, Bottom : float ) : GdPictureStatus;
public: GdPictureStatus SetPageBox( PdfPageBox PageBox, float Left, float Top, float Right, float Bottom )
public: GdPictureStatus SetPageBox( PdfPageBox PageBox, float Left, float Top, float Right, float Bottom )
Parameters
- PageBox
- The required page (boundary) box. A member of the PdfPageBox enumeration.
- Left
- The newly defined horizontal (X) coordinate of the top left point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Top
- The newly defined vertical (Y) coordinate of the top left point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Right
- The newly defined horizontal (X) coordinate of the bottom right point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Bottom
- The newly defined vertical (Y) coordinate of the bottom right point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.