PowerPointConnectionShape
OfficeIMO.PowerPoint
Represents a native PowerPoint connection shape.
Inheritance
- PowerPointShape
- PowerPointConnectionShape
Usage
Explore 3 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 3
Methods
public PowerPointConnectionShape Reroute() #Recomputes the connector's path from its glued ends. Moving or resizing a glued shape through this API does this automatically; call it after editing shape geometry another way.
Returns
PowerPointConnectionShapepublic PowerPointConnectionShape 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
PowerPointConnectionShapeInherited Methods
public PowerPointShape BindToPlaceholder(PowerPointPlaceholderType placeholderType, uint? index = null) #Parameters
- placeholderType PowerPointPlaceholderType
- index uint? = null
Returns
PowerPointShapepublic PowerPointShape Duplicate(OfficeLength offsetX = default, OfficeLength offsetY = default) #Parameters
- offsetX OfficeLength = default
- offsetY OfficeLength = default
Returns
PowerPointShapepublic PowerPointShape MoveBy(OfficeLength offsetX, OfficeLength offsetY) #Parameters
- offsetX OfficeLength
- offsetY OfficeLength
Returns
PowerPointShapepublic PowerPointShape Resize(OfficeLength width, OfficeLength height, PowerPointShapeAnchor anchor = TopLeft) #Parameters
- width OfficeLength
- height OfficeLength
- anchor PowerPointShapeAnchor = TopLeft
Returns
PowerPointShapepublic PowerPointShape Scale(double scale, PowerPointShapeAnchor anchor = Center) #Parameters
- scale double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic PowerPointShape Scale(double scaleX, double scaleY, PowerPointShapeAnchor anchor = Center) #Parameters
- scaleX double
- scaleY double
- anchor PowerPointShapeAnchor = Center
Returns
PowerPointShapepublic void SetBlur(OfficeLength radius, bool grow = false) #Parameters
- radius OfficeLength
- grow bool = false
public void SetClickSound(Stream audio, string name, string contentType = "audio/wav", string extension = ".wav") #Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public void SetGlow(OfficeColor color, OfficeLength? radius = null, int transparencyPercent = 30) #Parameters
- color OfficeColor
- radius OfficeLength? = null
- transparencyPercent int = 30
public void SetHyperlink(Uri uri, string? tooltip = null) #Parameters
- uri Uri
- tooltip string? = null
public void SetHyperlink(PowerPointSlide targetSlide, string? tooltip = null) #Parameters
- targetSlide PowerPointSlide
- tooltip string? = null
public PowerPointShape SetLanguage(string language) #Parameters
- language string
Returns
PowerPointShapepublic void SetLineEnds(OfficeLineMarkerKind? startType, OfficeLineMarkerKind? endType, PowerPointLineEndWidth? width = null, PowerPointLineEndLength? length = null) #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") #Parameters
- audio Stream
- name string
- contentType string = "audio/wav"
- extension string = ".wav"
public PowerPointShape SetPosition(OfficeLength left, OfficeLength top) #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) #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) #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) #Parameters
- width OfficeLength
- height OfficeLength
Returns
PowerPointShapepublic void SetSoftEdges(OfficeLength radius) #Parameters
- radius OfficeLength
Properties
public OfficePresetShapeType? ShapeType { get; } #Gets the preset geometry type of the connection shape.
public PowerPointConnectorKind? Kind { get; } #Connector family (straight, elbow or curved), or null for other line geometry.
public PowerPointShape? StartShape { get; } #Shape the connector starts at, when its start is glued.
public int? StartSite { get; } #Connection site index the start is glued to.
public PowerPointShape? EndShape { get; } #Shape the connector ends at, when its end is glued.
public int? EndSite { get; } #Connection site index the end is glued to.
Inherited Properties
public string? Title { get; set; } #public bool Decorative { get; set; } #public IReadOnlyList<string> Languages { get; } #public OfficeColor? FillColor { get; set; } #public int? FillTransparency { get; set; } #public double? Rotation { get; set; } #public bool? HorizontalFlip { get; set; } #public bool? VerticalFlip { get; set; } #public PowerPointPlaceholderType? ShapePlaceholderType { get; } #public PowerPointPlaceholderSize? ShapePlaceholderSize { get; } #public PowerPointPlaceholderDirection? ShapePlaceholderOrientation { get; } #public PowerPointShapeContentType ShapeContentType { get; } #public OfficeLength Width { get; set; } #public OfficeLength Height { get; set; } #public IReadOnlyList<PowerPointConnectionSite> ConnectionSites { get; } #public OfficeLength Right { get; set; } #public OfficeLength Bottom { get; set; } #public OfficeLength CenterX { get; set; } #public OfficeLength CenterY { get; set; } #public PowerPointLayoutBox Bounds { get; set; } #public OfficeColor? OutlineColor { get; set; } #public int? OutlineTransparency { get; set; } #public OfficeLength? OutlineWidth { get; set; } #public PowerPointLineDashStyle? OutlineDash { get; set; } #public string? MouseOverSoundName { get; } #