Version

PageMargins Class Members

The following tables list the members exposed by PageMargins.

Public Constructors
 NameDescription
Public ConstructorPageMargins ConstructorInitializes a new instance of the PageMargins class.  
Public Properties
 NameDescription
Public PropertyBottomGets the bottom margin of a page.  
Public PropertyLeftGets the left margin of a page.  
Public Propertystatic (Shared in Visual Basic)ModerateGets a system-defined PageMargins object.  
Public PropertyNameGets a predefined name for the current object.  
Public Propertystatic (Shared in Visual Basic)NarrowGets a system-defined PageMargins object.  
Public Propertystatic (Shared in Visual Basic)NormalGets a system-defined PageMargins object.  
Public PropertyRightGets the right margin of a page.  
Public PropertyTopGets the top margin of a page.  
Public Propertystatic (Shared in Visual Basic)WideGets a system-defined PageMargins object.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)GetNameGets the name of a predefined page size for a PageMargins object.  
Public Methodstatic (Shared in Visual Basic)GetPageMarginsGets a PageMargins object by name of a predefined page size.  
Public MethodToStringReturns a string representation of the left, top, right, and bottom values.  
See Also

View on GitHub