BottomMargin property
Returns or sets the size of the bottom margin of the printed page, in inches. Read/write Double.
Applies to
Objects: PageSetup
Syntax
object.BottomMargin
Parameters
Part | Description |
---|---|
object | Required. An expression that returns a PageSetup object. |
Remarks
If necessary, MapPoint converts the BottomMargin property from inches to the unit of measurement associated with the LocaleID of the user's computer. For example, if the LocaleID is English (United Kingdom), 1 inch will be converted to 25.4 millimeters.
Example
Sub ChangePrintOutBottomMargin()
Dim objApp As New MapPoint.Application
'Set up application
objApp.Visible = True
objApp.UserControl = True
'Set bottom margin of print out
objApp.ActiveMap.PageSetup.BottomMargin = 2
objApp.ActiveMap.PrintOut PrintArea:=geoPrintMap
End Sub