MarginsMeasureMetrics Property
Description
Specifies whether the printed margins are calculated using millimeters or inches.
Property Type
Read-only property
Syntax (Visual Basic)
Public Property MarginsMeasureMetrics() As Boolean
Remarks
Retrieves the system of measurement for the user's locale. This value is True if the metric system is used and False if the U.S. system is used.
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
- MarginBottom Property
- MarginLeft Property
- MarginRight Property
- MarginTop Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.