Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.08 KB

Publisher.TextFrame.MarginLeft.md

File metadata and controls

43 lines (29 loc) · 1.08 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
TextFrame.MarginLeft property (Publisher)
vbapb10.chm3866644
vbapb10.chm3866644
Publisher.TextFrame.MarginLeft
4e784b9f-9467-5a14-c211-589e69c3b8bc
06/15/2019
medium

TextFrame.MarginLeft property (Publisher)

Returns or sets a Variant that represents the amount of space (in points) between the text and the left edge of a cell, text frame, or page. Read/write.

Syntax

expression.MarginLeft

expression A variable that represents a TextFrame object.

Example

This example sets the margins of the active publication to two inches.

Sub SetPageMargins() 
 
 With ActiveDocument.LayoutGuides 
 .MarginTop = Application.InchesToPoints(Value:=2) 
 .MarginBottom = Application.InchesToPoints(Value:=2) 
 .MarginLeft = Application.InchesToPoints(Value:=2) 
 .MarginRight = Application.InchesToPoints(Value:=2) 
 End With 
 
End Sub

[!includeSupport and feedback]