MarginLeft Property
Description
Left margin of the printed calendar.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property MarginLeft() As Long
Remarks
Gets/sets the distance between the left edge of the page and the left edge of the calendar printed on the page.
The MarginsMeasureMetrics property indicates whether the margins are calculated using millimeters or inches. Measurement units are millimeters * 100 or inches * 1000.
Example
With CalendarControl.PrintOptions
' Measurement units are mm * 100 or inches * 1000.
.MarginBottom = IIf(.MarginsMeasureMetrics, 1.5 * 100, 1.5 * 1000)
.MarginLeft = IIf(.MarginsMeasureMetrics, 1.5 * 100, 1.5 * 1000)
.MarginRight = IIf(.MarginsMeasureMetrics, 1.5 * 100, 1.5 * 1000)
.MarginTop = IIf(.MarginsMeasureMetrics, 1.5 * 100, 1.5 * 1000)
End With
See Also
- CalendarPrintOptions Object
- MarginsMeasureMetrics Property
- MarginBottom Property
- MarginRight Property
- MarginTop Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.