'DeclarationPublic Function PrintGetMargins( _ ByRef LeftMargin As Single, _ ByRef TopMargin As Single _ ) As GdPictureStatus
public GdPictureStatus PrintGetMargins( ref float LeftMargin, ref float TopMargin )
public function PrintGetMargins( var LeftMargin: Single; var TopMargin: Single ): GdPictureStatus;
public function PrintGetMargins( LeftMargin : float, TopMargin : float ) : GdPictureStatus;
public: GdPictureStatus PrintGetMargins( ref float LeftMargin, ref float TopMargin )
public: GdPictureStatus PrintGetMargins( float% LeftMargin, float% TopMargin )
Parameters
- LeftMargin
 - Output parameter. The physical margin (x-coordinate) at the left of the page, in inches.
 - TopMargin
 - Output parameter. The physical margin (y-coordinate) at the top of the page, in inches.
 
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.
