API Reference
PowerPointLayoutBox
Represents a rectangular layout region on a slide.
Inheritance
- ValueType
- PowerPointLayoutBox
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property PowerPointAutoShape.Bounds
- Property PowerPointChart.Bounds
- Property PowerPointCompositionLayout.Content
- Property PowerPointCompositionLayout.Grid
- Property PowerPointCompositionLayout.Metrics
- Property PowerPointCompositionLayout.Primary
- Property PowerPointCompositionLayout.Secondary
- Property PowerPointCompositionLayout.Supporting
- Property PowerPointCompositionLayout.Visual
- Property PowerPointGroupShape.Bounds
- Method PowerPointLayoutBox.FromCentimeters
- Method PowerPointLayoutBox.FromInches
- Method PowerPointLayoutBox.FromPoints
- Method PowerPointLayoutBox.InsetCm
- Method PowerPointLayoutBox.InsetCm
- Method PowerPointLayoutBox.InsetCm
- Method PowerPointLayoutBox.SplitColumns
- Method PowerPointLayoutBox.SplitColumnsCm
- Method PowerPointLayoutBox.SplitColumnsInches
- Method PowerPointLayoutBox.SplitColumnsPoints
- Method PowerPointLayoutBox.SplitGrid
- Method PowerPointLayoutBox.SplitGridCm
- Method PowerPointLayoutBox.SplitGridInches
- Method PowerPointLayoutBox.SplitGridPoints
- Method PowerPointLayoutBox.SplitRows
- Method PowerPointLayoutBox.SplitRowsCm
- Method PowerPointLayoutBox.SplitRowsInches
- Method PowerPointLayoutBox.SplitRowsPoints
- Method PowerPointLayoutBox.TakeBottomCm
- Method PowerPointLayoutBox.TakeTopCm
- Property PowerPointLayoutPlaceholderInfo.Bounds
- Property PowerPointPicture.Bounds
- Property PowerPointShape.Bounds
- Method PowerPointSlide.GetGroupChildBounds
- Method PowerPointSlide.GetGroupChildBoundsCm
- Method PowerPointSlide.GetGroupChildBoundsInches
- Method PowerPointSlide.GetGroupChildBoundsPoints
- Method PowerPointSlide.GetLayoutPlaceholderBounds
- Method PowerPointSlideComposer.ContentArea
- Method PowerPointSlideComposer.ContentColumns
- Method PowerPointSlideComposer.ContentGrid
- Method PowerPointSlideComposer.ContentRows
- Method PowerPointSlideSize.GetColumns
- Method PowerPointSlideSize.GetColumnsCm
- Method PowerPointSlideSize.GetColumnsInches
- Method PowerPointSlideSize.GetColumnsPoints
- Method PowerPointSlideSize.GetContentBox
- Method PowerPointSlideSize.GetContentBoxCm
- Method PowerPointSlideSize.GetContentBoxInches
- Method PowerPointSlideSize.GetContentBoxPoints
- Method PowerPointSlideSize.GetRows
- Method PowerPointSlideSize.GetRowsCm
- Method PowerPointSlideSize.GetRowsInches
- Method PowerPointSlideSize.GetRowsPoints
- Property PowerPointTable.Bounds
- Property PowerPointTextBox.Bounds
Accepted by parameters
- Method PowerPointSlideBuilder.Bullets
- Method PowerPointSlideBuilder.Bullets
- Method PowerPointSlideBuilder.Image
- Method PowerPointSlideBuilder.Numbered
- Method PowerPointSlideBuilder.Numbered
- Method PowerPointSlideBuilder.Table
- Method PowerPointSlideBuilder.Table``1
- Method PowerPointSlideBuilder.TextBox
- Method PowerPointSlideBuilder.Title
- Constructor PowerPointLayoutPlaceholderInfo.PowerPointLayoutPlaceholderInfo
- Method PowerPointPresentation.EnsureLayoutPlaceholderTextBox
- Method PowerPointPresentation.SetLayoutPlaceholderBounds
- Method PowerPointSlide.AddPicture
- Method PowerPointSlide.AddPicture
- Method PowerPointSlide.AddTable
- Method PowerPointSlide.AddTable``1
- Method PowerPointSlide.AddTextBox
- Method PowerPointSlide.AddTextBox
- Method PowerPointSlide.AddTitle
- Method PowerPointSlide.AlignShapes
- Method PowerPointSlide.ArrangeShapesInGrid
- Method PowerPointSlide.ArrangeShapesInGridAuto
- Method PowerPointSlide.ArrangeShapesInGridAuto
- Method PowerPointSlide.DistributeShapes
- Method PowerPointSlide.DistributeShapes
- Method PowerPointSlide.DistributeShapesWithSpacing
- Method PowerPointSlide.DistributeShapesWithSpacing
- Method PowerPointSlide.DistributeShapesWithSpacing
- Method PowerPointSlide.DistributeShapesWithSpacing
- Method PowerPointSlide.FitShapesToBounds
- Method PowerPointSlide.GetShapesInBounds
- Method PowerPointSlide.StackShapes
- Method PowerPointSlide.StackShapes
- Method PowerPointSlide.StackShapes
- Method PowerPointSlide.StackShapes
- Method PowerPointSlide.StackShapes
- Method PowerPointSlideComposer.AddCalloutBand
- Method PowerPointSlideComposer.AddCardGrid
- Method PowerPointSlideComposer.AddCoverageMap
- Method PowerPointSlideComposer.AddLogoWall
- Method PowerPointSlideComposer.AddMetricStrip
- Method PowerPointSlideComposer.AddMetricStrip
- Method PowerPointSlideComposer.AddProcessTimeline
- Method PowerPointSlideComposer.AddTextBlock
- Method PowerPointSlideComposer.AddVisualFrame
- Method PowerPointSlideComposer.AddVisualFrame
- Method PowerPointSlideComposer.AddVisualFrame
Constructors
public PowerPointLayoutBox(Int64 left, Int64 top, Int64 width, Int64 height) #Creates a new layout box in EMUs.
Parameters
- left System.Int64
- Left position in EMUs.
- top System.Int64
- Top position in EMUs.
- width System.Int64
- Width in EMUs.
- height System.Int64
- Height in EMUs.
Methods
public Void ApplyTo(PowerPointShape shape) #VoidApplies the layout box to the provided shape.
Parameters
- shape OfficeIMO.PowerPoint.PowerPointShape
- Shape to update.
public static PowerPointLayoutBox FromCentimeters(Double leftCm, Double topCm, Double widthCm, Double heightCm) #PowerPointLayoutBoxCreates a new layout box in centimeters.
Parameters
- leftCm System.Double
- topCm System.Double
- widthCm System.Double
- heightCm System.Double
public static PowerPointLayoutBox FromInches(Double leftInches, Double topInches, Double widthInches, Double heightInches) #PowerPointLayoutBoxCreates a new layout box in inches.
Parameters
- leftInches System.Double
- topInches System.Double
- widthInches System.Double
- heightInches System.Double
public static PowerPointLayoutBox FromPoints(Double leftPoints, Double topPoints, Double widthPoints, Double heightPoints) #PowerPointLayoutBoxCreates a new layout box in points.
Parameters
- leftPoints System.Double
- topPoints System.Double
- widthPoints System.Double
- heightPoints System.Double
public PowerPointLayoutBox InsetCm(Double insetCm) #PowerPointLayoutBoxReturns a new layout box inset equally on every side.
Parameters
- insetCm System.Double
public PowerPointLayoutBox InsetCm(Double horizontalCm, Double verticalCm) #PowerPointLayoutBoxReturns a new layout box inset horizontally and vertically.
Parameters
- horizontalCm System.Double
- verticalCm System.Double
public PowerPointLayoutBox InsetCm(Double leftCm, Double topCm, Double rightCm, Double bottomCm) #PowerPointLayoutBoxReturns a new layout box inset by individual side values.
Parameters
- leftCm System.Double
- topCm System.Double
- rightCm System.Double
- bottomCm System.Double
public PowerPointLayoutBox[] SplitColumns(Int32 columnCount, Int64 gutterEmus) #PowerPointLayoutBox[]Splits the layout box into equal columns (EMU units).
Parameters
- columnCount System.Int32
- gutterEmus System.Int64
public PowerPointLayoutBox[] SplitColumnsCm(Int32 columnCount, Double gutterCm) #PowerPointLayoutBox[]Splits the layout box into equal columns in centimeters.
Parameters
- columnCount System.Int32
- gutterCm System.Double
public PowerPointLayoutBox[] SplitColumnsInches(Int32 columnCount, Double gutterInches) #PowerPointLayoutBox[]Splits the layout box into equal columns in inches.
Parameters
- columnCount System.Int32
- gutterInches System.Double
public PowerPointLayoutBox[] SplitColumnsPoints(Int32 columnCount, Double gutterPoints) #PowerPointLayoutBox[]Splits the layout box into equal columns in points.
Parameters
- columnCount System.Int32
- gutterPoints System.Double
public PowerPointLayoutBox[] SplitGrid(Int32 rowCount, Int32 columnCount, Int64 rowGutterEmus, Int64 columnGutterEmus) #PowerPointLayoutBox[]Splits the layout box into an equal row/column grid (EMU units).
Parameters
- rowCount System.Int32
- columnCount System.Int32
- rowGutterEmus System.Int64
- columnGutterEmus System.Int64
public PowerPointLayoutBox[] SplitGridCm(Int32 rowCount, Int32 columnCount, Double rowGutterCm, Double columnGutterCm) #PowerPointLayoutBox[]Splits the layout box into an equal row/column grid in centimeters.
Parameters
- rowCount System.Int32
- columnCount System.Int32
- rowGutterCm System.Double
- columnGutterCm System.Double
public PowerPointLayoutBox[] SplitGridInches(Int32 rowCount, Int32 columnCount, Double rowGutterInches, Double columnGutterInches) #PowerPointLayoutBox[]Splits the layout box into an equal row/column grid in inches.
Parameters
- rowCount System.Int32
- columnCount System.Int32
- rowGutterInches System.Double
- columnGutterInches System.Double
public PowerPointLayoutBox[] SplitGridPoints(Int32 rowCount, Int32 columnCount, Double rowGutterPoints, Double columnGutterPoints) #PowerPointLayoutBox[]Splits the layout box into an equal row/column grid in points.
Parameters
- rowCount System.Int32
- columnCount System.Int32
- rowGutterPoints System.Double
- columnGutterPoints System.Double
public PowerPointLayoutBox[] SplitRows(Int32 rowCount, Int64 gutterEmus) #PowerPointLayoutBox[]Splits the layout box into equal rows (EMU units).
Parameters
- rowCount System.Int32
- gutterEmus System.Int64
public PowerPointLayoutBox[] SplitRowsCm(Int32 rowCount, Double gutterCm) #PowerPointLayoutBox[]Splits the layout box into equal rows in centimeters.
Parameters
- rowCount System.Int32
- gutterCm System.Double
public PowerPointLayoutBox[] SplitRowsInches(Int32 rowCount, Double gutterInches) #PowerPointLayoutBox[]Splits the layout box into equal rows in inches.
Parameters
- rowCount System.Int32
- gutterInches System.Double
public PowerPointLayoutBox[] SplitRowsPoints(Int32 rowCount, Double gutterPoints) #PowerPointLayoutBox[]Splits the layout box into equal rows in points.
Parameters
- rowCount System.Int32
- gutterPoints System.Double
public PowerPointLayoutBox TakeBottomCm(Double heightCm) #PowerPointLayoutBoxReturns the bottom part of the layout box with the requested height.
Parameters
- heightCm System.Double
public PowerPointLayoutBox TakeTopCm(Double heightCm) #PowerPointLayoutBoxReturns the top part of the layout box with the requested height.
Parameters
- heightCm System.Double
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Int64 Bottom { get; } #Bottom position in EMUs.
public Double LeftCm { get; } #Left position in centimeters.
public Double TopCm { get; } #Top position in centimeters.
public Double HeightCm { get; } #Height in centimeters.
public Double RightCm { get; } #Right position in centimeters.
public Double BottomCm { get; } #Bottom position in centimeters.
public Double LeftInches { get; } #Left position in inches.
public Double TopInches { get; } #Top position in inches.
public Double HeightInches { get; } #Height in inches.
public Double RightInches { get; } #Right position in inches.
public Double BottomInches { get; } #Bottom position in inches.
public Double LeftPoints { get; } #Left position in points.
public Double TopPoints { get; } #Top position in points.
public Double HeightPoints { get; } #Height in points.
public Double RightPoints { get; } #Right position in points.
public Double BottomPoints { get; } #Bottom position in points.