HorizontalBaseLineSpacing Property

Microsoft Publisher Visual Basic

HorizontalBaseLineSpacing Property

Returns a Single that represents the horizontal baseline spacing of the specified LayoutGuides object. Read/write.

expression.HorizontalBaseLineSpacing

expression    Required. An expression that returns a LayoutGuides object.

Remarks

When setting the layout guide properties of a Page object it must be returned from the MasterPages collection.

Example

This example sets the horizontal baseline spacing of the layout guides object to 20 for the second master page in the active document.

    Dim objLayout As LayoutGuides
Set objLayout = ActiveDocument.MasterPages(2).LayoutGuides
objLayout.HorizontalBaseLineSpacing = 20 

  

Setting the layout guide properties for the active document will only affect the first master page. This example sets the horizontal baseline spacing of the active document's layout guides to 20, affecting only the first master page .

      Dim objLayout As LayoutGuides
Set objLayout = ActiveDocument.LayoutGuides
objLayout.HorizontalBaseLineSpacing = 20