You are here: GdPicture.NET > Documentation > Classes > GdViewer Class > GdViewer Methods > Document Printing > PrintGetMargins Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdViewer.PrintGetMargins Method

Gets the physical margins of the active printer.

C#
public PrintGetMargins(
    ref Single LeftMargin, 
    ref Single TopMargin
);
Visual Basic
Public Sub PrintGetMargins(
    ByRef LeftMargin As Single, 
    ByRef TopMargin As Single
)
Parameters
Parameters 
Description 
LeftMargin 
Returns the left physical margin in inches.  
TopMargin 
Returns the top physical margin in inches.  
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.