title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
PictureFormat.VerticalPictureLocking property (Publisher) |
vbapb10.chm3604745 |
|
|
0575d733-b515-2256-7136-6ec07532ab67 |
06/13/2019 |
medium |
Returns or sets a PbVerticalPictureLocking constant indicating where newly inserted pictures appear in relation to the specified frame. Read/write.
expression.VerticalPictureLocking
expression A variable that represents a PictureFormat object.
PbVerticalPictureLocking
The Vertical PictureLocking property value can be one of the PbVerticalPictureLocking constants declared in the Microsoft Publisher type library.
The following example locks the specified picture to the upper-left corner of the picture frame. Shape one on page one of the active publication must be a picture frame for this example to work.
With ActiveDocument.Pages(1).Shapes(1).PictureFormat
.HorizontalPictureLocking = pbHorizontalLockingLeft
.VerticalPictureLocking = pbVerticalLockingTop
End With
[!includeSupport and feedback]