SetItemsMargin Method
Description
Sets the margin/padding placed around the items in the gallery.
Syntax
Public Sub SetItemsMargin( _
ByVal [Left](#) As Integer, _
ByVal [Top](#) As Integer, _
ByVal [Right](#) As Integer, _
ByVal [Bottom](#) As Integer _
)
Parameters
- Left: Left margin of the gallery.
- Top: Top margin of the gallery.
- Right: Right margin of the gallery.
- Bottom: Bottom margin of the gallery.
Remarks
The SetItemsMargin method places "padding" around the entire gallery, not individual items.
The diagram below shows a gallery displayed with default margins, then the same gallery with a 10 pixel padding on all sides.

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