Class
PowerPointAutoShape
OfficeIMO.PowerPoint
Represents an auto shape without a text body.
Inheritance
- PowerPointShape
- PowerPointAutoShape
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 10
- Method PowerPointAutoShape.Fill
- Method PowerPointAutoShape.Stroke
- Method PowerPointMasterSurface.AddShape
- Method PowerPointSlide.AddCustomGeometry
- Method PowerPointSlide.AddEllipse
- Method PowerPointSlide.AddLine
- Method PowerPointSlide.AddRectangle
- Method PowerPointSlide.AddShape
- Method PowerPointSlideLayout.AddShape
- Method PowerPointSlideMaster.AddShape
Methods
public PowerPointAutoShape Fill(OfficeColor color) #Sets the fill color and returns the shape for chaining.
Parameters
- color OfficeIMO.OfficeColor
Returns
PowerPointAutoShapepublic PowerPointAutoShape Stroke(OfficeColor color, OfficeLength? width = null) #Sets the outline color (and optional physical width) and returns the shape for chaining.
Parameters
- color OfficeIMO.OfficeColor
- width OfficeIMO.OfficeLength? = null
Returns
PowerPointAutoShapeInherited Methods
public PowerPointShape BindToPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #Inherited from PowerPointShape
Parameters
- placeholderType PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointShapepublic PowerPointShape Duplicate(OfficeLength offsetX = default, OfficeLength offsetY = default) #Inherited from PowerPointShape
Parameters
- offsetX OfficeLength = default
- offsetY OfficeLength = default
Returns
PowerPointShapepublic PowerPointShape MoveBy(OfficeLength offsetX, OfficeLength offsetY) #Inherited from PowerPointShape
Parameters
- offsetX OfficeLength
- offsetY OfficeLength
Returns
PowerPointShapepublic PowerPointShape Resize(OfficeLength width, OfficeLength height, PowerPointShapeAnchor anchor = TopLeft) #Inherited from PowerPointShape
Parameters
- width OfficeLength
- height OfficeLength
- anchor PowerPointShapeAnchor = TopLeft
Returns
PowerPointShapeScale 2 overloads
public PowerPointShape Scale(double scale, PowerPointShapeAnchor anchor = Center) #Inherited from PowerPointShape
Parameters
- scale double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic PowerPointShape Scale(double scaleX, double scaleY, PowerPointShapeAnchor anchor = Center) #Inherited from PowerPointShape
Parameters
- scaleX double
- scaleY double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic void SetBlur(OfficeLength radius, bool grow = false) #Inherited from PowerPointShape
Parameters
- radius OfficeLength
- grow bool = false
public void SetClickSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Inherited from PowerPointShape
Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public void SetGlow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #Inherited from PowerPointShape
Parameters
- color OfficeColor
- radius OfficeLength? = null
- transparencyPercent int = 30
SetHyperlink 2 overloads
public void SetHyperlink(Uri uri, string? tooltip = null) #Inherited from PowerPointShape
Parameters
- uri Uri
- tooltip string? = null
public void SetHyperlink(PowerPointSlide targetSlide, string? tooltip = null) #Inherited from PowerPointShape
Parameters
- targetSlide PowerPointSlide
- tooltip string? = null
public PowerPointShape SetLanguage(string language) #Inherited from PowerPointShape
Parameters
- language string
Returns
PowerPointShapepublic void SetLineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #Inherited from PowerPointShape
Parameters
- startType OfficeLineMarkerKind?
- endType OfficeLineMarkerKind?
- width PowerPointLineEndWidth? = null
- length PowerPointLineEndLength? = null
public void SetMouseOverSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Inherited from PowerPointShape
Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public PowerPointShape SetPosition(OfficeLength left, OfficeLength top) #Inherited from PowerPointShape
Parameters
- left OfficeLength
- top OfficeLength
Returns
PowerPointShapepublic void SetReflection(OfficeLength? blur = null, OfficeLength? distance = null, double directionDegrees = 270, double fadeDirectionDegrees = 90, int startOpacityPercent = 50, int endOpacityPercent = 0, int startPositionPercent = 0, int endPositionPercent = 100, PowerPointRectangleAlignment? alignment = null, bool rotateWithShape = false) #Inherited from PowerPointShape
Parameters
- blur OfficeLength? = null
- distance OfficeLength? = null
- directionDegrees double = 270
- fadeDirectionDegrees double = 90
- startOpacityPercent int = 50
- endOpacityPercent int = 0
- startPositionPercent int = 0
- endPositionPercent int = 100
- alignment PowerPointRectangleAlignment? = null
- rotateWithShape bool = false
public void SetShadow(OfficeColor color, OfficeLength? blur = null, OfficeLength? distance = null, double angleDegrees = 45, int transparencyPercent = 35, bool rotateWithShape = false) #Inherited from PowerPointShape
Parameters
- color OfficeColor
- blur OfficeLength? = null
- distance OfficeLength? = null
- angleDegrees double = 45
- transparencyPercent int = 35
- rotateWithShape bool = false
public PowerPointShape SetSize(OfficeLength width, OfficeLength height) #Inherited from PowerPointShape
Parameters
- width OfficeLength
- height OfficeLength
Returns
PowerPointShapepublic void SetSoftEdges(OfficeLength radius) #Inherited from PowerPointShape
Parameters
- radius OfficeLength
Properties
public OfficePresetShapeType? ShapeType { get; } #Gets the preset geometry type of the shape.
Inherited Properties
public string? Title { get; set; } #Inherited from PowerPointShape
public bool Decorative { get; set; } #Inherited from PowerPointShape
public IReadOnlyList<string> Languages { get; } #Inherited from PowerPointShape
public OfficeColor? FillColor { get; set; } #Inherited from PowerPointShape
public int? FillTransparency { get; set; } #Inherited from PowerPointShape
public double? Rotation { get; set; } #Inherited from PowerPointShape
public bool? HorizontalFlip { get; set; } #Inherited from PowerPointShape
public bool? VerticalFlip { get; set; } #Inherited from PowerPointShape
public PowerPointPlaceholderType? ShapePlaceholderType { get; } #Inherited from PowerPointShape
public PowerPointPlaceholderSize? ShapePlaceholderSize { get; } #Inherited from PowerPointShape
public PowerPointPlaceholderDirection? ShapePlaceholderOrientation { get; } #Inherited from PowerPointShape
public PowerPointShapeContentType ShapeContentType { get; } #Inherited from PowerPointShape
public OfficeLength Width { get; set; } #Inherited from PowerPointShape
public OfficeLength Height { get; set; } #Inherited from PowerPointShape
public IReadOnlyList<PowerPointConnectionSite> ConnectionSites { get; } #Inherited from PowerPointShape
public OfficeLength Right { get; set; } #Inherited from PowerPointShape
public OfficeLength Bottom { get; set; } #Inherited from PowerPointShape
public OfficeLength CenterX { get; set; } #Inherited from PowerPointShape
public OfficeLength CenterY { get; set; } #Inherited from PowerPointShape
public PowerPointLayoutBox Bounds { get; set; } #Inherited from PowerPointShape
public OfficeColor? OutlineColor { get; set; } #Inherited from PowerPointShape
public int? OutlineTransparency { get; set; } #Inherited from PowerPointShape
public OfficeLength? OutlineWidth { get; set; } #Inherited from PowerPointShape
public PowerPointLineDashStyle? OutlineDash { get; set; } #Inherited from PowerPointShape
public string? MouseOverSoundName { get; } #Inherited from PowerPointShape