HorizontalBaseLineOffset Property

Microsoft Publisher Visual Basic

HorizontalBaseLineOffset Property

Returns a Single that represents the horizontal baseline offset of the specified LayoutGuides object. Read/Write.

expression.HorizontalBaseLineOffset

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 offset of the layout guides object to 12 for the second master page in the active document.

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

  

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

      Dim objLayout As LayoutGuides
Set objLayout = ActiveDocument.LayoutGuides
objLayout.HorizontalBaseLineOffset = 12