Skip to content

MarginBottom Property

Description

Bottom margin of the printed calendar.

Property Type

Read-write property

Syntax (Visual Basic)

Public Property MarginBottom() As Long

Remarks

Gets/sets the distance between the bottom of the page and the bottom 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


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.