ShapeRange.Distribute(MsoDistributeCmd, MsoTriState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Horizontally or vertically distributes the shapes in the specified range of shapes.
public:
void Distribute(Microsoft::Office::Core::MsoDistributeCmd DistributeCmd, Microsoft::Office::Core::MsoTriState RelativeTo);
public void Distribute (Microsoft.Office.Core.MsoDistributeCmd DistributeCmd, Microsoft.Office.Core.MsoTriState RelativeTo);
Public Sub Distribute (DistributeCmd As MsoDistributeCmd, RelativeTo As MsoTriState)
Parameters
- DistributeCmd
- MsoDistributeCmd
Required MsoDistributeCmd. Specifies whether shapes in the range are to be distributed horizontally or vertically.
- RelativeTo
- MsoTriState
Required MsoTriState. Not used in Microsoft Excel. Must be False.