skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ShapeInline

Represents an inline-level document element, which contains a DrawingML shape.

Inheritance
System.Object
DocumentElement
Inline
DrawingInline
ShapeInline
Inherited Members
Inline.CopyFromPositionToEndOfInline(DocumentPosition, DocumentPosition)
Inline.CopyFromStartOfInlineToEndPosition(DocumentPosition)
Inline.CopyContentFrom(DocumentElement)
Inline.FieldStart
Inline.IsCopyable
DocumentElement.GetStyleProperty(IStylePropertyDefinition)
DocumentElement.GetStyleProperty(String)
DocumentElement.EnumerateChildrenOfType<T>()
DocumentElement.GetParentOfType<T>()
DocumentElement.CreateLayoutBox()
DocumentElement.CopyPropertiesFrom(DocumentElement)
DocumentElement.CopyPropertiesFromStyle(StyleDefinition)
DocumentElement.ExtractStyleFromProperties()
DocumentElement.ExtractStyleFromLocalProperties()
DocumentElement.InvalidateAssociatedBoxesArrange()
DocumentElement.InvalidateAssociatedBoxesMeasure()
DocumentElement.InvalidateAssociatedBoxesLayout()
DocumentElement.GetAssociatedLayoutBoxes()
DocumentElement.GetRootDocument()
DocumentElement.CreateDeepCopy()
DocumentElement.CreateShallowCopy()
DocumentElement.GetPropertyValueSource(IStylePropertyDefinition)
DocumentElement.ClearValue(IStylePropertyDefinition)
DocumentElement.OnRemoved()
DocumentElement.OnStyleChanging()
DocumentElement.OnStyleChanged()
DocumentElement.add_StylePropertyChanged(StylePropertyChangeEventHandler)
DocumentElement.remove_StylePropertyChanged(StylePropertyChangeEventHandler)
DocumentElement.OnStylePropertyChanged(StylePropertyChangeEventArgs)
DocumentElement.OnParentChanging()
DocumentElement.OnParentChanged()
DocumentElement.add_PropertyValueChanged(StylePropertyChangeEventHandler)
DocumentElement.remove_PropertyValueChanged(StylePropertyChangeEventHandler)
DocumentElement.ChildIndex
DocumentElement.HasStyle
DocumentElement.Style
DocumentElement.StyleName
DocumentElement.Tag
DocumentElement.FirstLayoutBox
DocumentElement.LastLayoutBox
DocumentElement.IsFirstLayoutBoxInitialized
DocumentElement.DocumentElements
DocumentElement.Parent
DocumentElement.Children
DocumentElement.PreviousSibling
DocumentElement.NextSibling
DocumentElement.Cursor
DocumentElement.OriginalProperties
DocumentElement.RevisionInfo
DocumentElement.StyleChanging
DocumentElement.StyleChanged
DocumentElement.StylePropertyChanged
DocumentElement.ParentChanging
DocumentElement.ParentChanged
DocumentElement.PropertyValueChanged
Namespace: Telerik.Windows.Documents.Model
Assembly: Telerik.Windows.Controls.RichTextBox.dll

Syntax

public class ShapeInline : DrawingInline, IDrawingImageElement

Constructors

ShapeInline()

Declaration
public ShapeInline()

ShapeInline(ShapeInline)

Declaration
public ShapeInline(ShapeInline shape)
Parameters
ShapeInline shape

Properties

Body

Returns the underling document that holds the shape text.

Declaration
public RadDocument Body { get; }
Property Value
RadDocument

Height

Gets or sets the height.

Declaration
[XamlSerializable]
public override double Height { get; set; }
Property Value
System.Double

The height.

Overrides
DrawingInline.Height

RotateAngle

Gets or sets the angle at which the image should be rotated.

Declaration
[XamlSerializable(0)]
public override double RotateAngle { get; set; }
Property Value
System.Double

The rotate angle.

Overrides
DrawingInline.RotateAngle

Size

Gets or sets the size.

Declaration
public override Size Size { get; set; }
Property Value
System.Windows.Size

The size.

Overrides
DrawingInline.Size

Width

Gets or sets the width.

Declaration
[XamlSerializable]
public override double Width { get; set; }
Property Value
System.Double

The width.

Overrides
DrawingInline.Width

Methods

CopyContentFromOverride(DocumentElement)

Declaration
protected override void CopyContentFromOverride(DocumentElement fromElement)
Parameters
DocumentElement fromElement

Overrides
Inline.CopyContentFromOverride(DocumentElement)

CopyPropertiesFromOverride(DocumentElement)

Declaration
protected override void CopyPropertiesFromOverride(DocumentElement fromElement)
Parameters
DocumentElement fromElement

Overrides
Inline.CopyPropertiesFromOverride(DocumentElement)

CreateLayoutBox(DocumentStructureCollection)

Creates a layout box for the specified document structure collection.

Declaration
public override LayoutBox CreateLayoutBox(DocumentStructureCollection documentCollection)
Parameters
DocumentStructureCollection documentCollection

The collection of document structures to create the layout box for.

Returns
LayoutBox

A layout box that represents the specified document structure collection.

Overrides
DocumentElement.CreateLayoutBox(DocumentStructureCollection)

CreateNewElementInstance()

Declaration
protected override DocumentElement CreateNewElementInstance()
Returns
DocumentElement

Overrides
DocumentElement.CreateNewElementInstance()

GetOutlineDash()

Retrieves the outline dash style of the shape inline element.

Declaration
public Nullable<LineDashType> GetOutlineDash()
Returns
System.Nullable<LineDashType>

A LineDashType value representing the current outline dash style.

GetOutlineFill()

Gets the outline fill of the shape inline element.

Declaration
public IShapeOutlineFill GetOutlineFill()
Returns
IShapeOutlineFill

The outline fill applied to the shape inline element.

GetOutlineWidth()

Retrieves the outline width of the shape inline element.

Declaration
public Nullable<float> GetOutlineWidth()
Returns
System.Nullable<System.Single>

A System.Double representing the width of the outline.

GetShapeFill()

Retrieves the fill properties of the shape.

Declaration
public IShapeFill GetShapeFill()
Returns
IShapeFill

An object representing the fill settings of the shape.

GetTextOutlineDash()

Retrieves the dash pattern used for the outline of the shape.

Declaration
public Nullable<LineDashType> GetTextOutlineDash()
Returns
System.Nullable<LineDashType>

A collection of floating-point values representing the dash pattern. An empty collection indicates that there is no dash pattern applied.

GetTextOutlineFill()

Retrieves the fill color used for the text outline of the shape.

Declaration
public IShapeOutlineFill GetTextOutlineFill()
Returns
IShapeOutlineFill

A IShapeOutlineFill representing the fill color of the text outline.

GetTextOutlineWidth()

Retrieves the outline width of the text within the shape inline.

Declaration
public double GetTextOutlineWidth()
Returns
System.Double

A floating-point value representing the width of the text outline.

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.