'Declaration
Public Function GetPageBox( _ ByVal PageBox As PdfPageBox, _ ByRef Left As Single, _ ByRef Top As Single, _ ByRef Right As Single, _ ByRef Bottom As Single _ ) As GdPictureStatus
public GdPictureStatus GetPageBox( PdfPageBox PageBox, ref float Left, ref float Top, ref float Right, ref float Bottom )
public function GetPageBox( PageBox: PdfPageBox; var Left: Single; var Top: Single; var Right: Single; var Bottom: Single ): GdPictureStatus;
public function GetPageBox( PageBox : PdfPageBox, Left : float, Top : float, Right : float, Bottom : float ) : GdPictureStatus;
public: GdPictureStatus GetPageBox( PdfPageBox PageBox, ref float Left, ref float Top, ref float Right, ref float Bottom )
public: GdPictureStatus GetPageBox( PdfPageBox PageBox, float% Left, float% Top, float% Right, float% Bottom )
Parameters
- PageBox
- The required page (boundary) box. A member of the PdfPageBox enumeration.
- Left
- Output parameter. The horizontal (X) coordinate of the top left point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Top
- Output parameter. The vertical (Y) coordinate of the top left point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Right
- Output parameter. The horizontal (X) coordinate of the bottom right point of the specified page box expressed in the current units specified by the SetMeasurementUnit method.
- Bottom
- Output parameter. The 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.