'Declaration
Public Overloads Function NewPage( _ ByVal PageWidth As Single, _ ByVal PageHeight As Single _ ) As GdPictureStatus
public GdPictureStatus NewPage( float PageWidth, float PageHeight )
public function NewPage( PageWidth: Single; PageHeight: Single ): GdPictureStatus;
public function NewPage( PageWidth : float, PageHeight : float ) : GdPictureStatus;
public: GdPictureStatus NewPage( float PageWidth, float PageHeight )
public: GdPictureStatus NewPage( float PageWidth, float PageHeight )
Parameters
- PageWidth
- The page width, expressed in the current units specified by the SetMeasurementUnit method.
You can simply use the GdPicturePDF.GetMeasurementUnit method to determine the currently defined units and you can easily use the GdPicturePDF.SetMeasurementUnit method to reset the units according to your preference.
- PageHeight
- The page height, expressed in the current units specified by the SetMeasurementUnit method.
You can simply use the GdPicturePDF.GetMeasurementUnit method to determine the currently defined units and you can easily use the GdPicturePDF.SetMeasurementUnit method to reset the units according to your preference.
Return Value
We strongly recommend always checking this status first.