skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    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 SvgFragment

Inheritance
System.Object
SvgElement
SvgFragment
SvgDocument
Inherited Members
SvgElement.AutoPublishEvents
SvgElement.PrivateFonts
SvgElement.AddStyle(String, String, Int32)
SvgElement.FlushStyles(Boolean)
SvgElement.ContainsAttribute(String)
SvgElement.TryGetAttribute(String, String)
SvgElement.Descendants()
SvgElement.HasChildren()
SvgElement.GetAttribute<TAttributeType>(String, Boolean, TAttributeType)
SvgElement.PopTransforms(ISvgRenderer)
SvgElement.ISvgTransformable.PushTransforms(ISvgRenderer)
SvgElement.ISvgTransformable.PopTransforms(ISvgRenderer)
SvgElement.TransformedBounds(RectangleF)
SvgElement.SetAndForceUniqueID(String, Boolean, Action<SvgElement, String, String>)
SvgElement.AddElement(SvgElement, Int32)
SvgElement.RemoveElement(SvgElement)
SvgElement.InitialiseFromXML(XmlTextReader, SvgDocument)
SvgElement.RenderElement(ISvgRenderer)
SvgElement.ShouldWriteElement()
SvgElement.WriteEndElement(XmlTextWriter)
SvgElement.WriteAttributes(XmlTextWriter)
SvgElement.Write(XmlTextWriter)
SvgElement.WriteChildren(XmlTextWriter)
SvgElement.RenderChildren(ISvgRenderer)
SvgElement.AddPaths(SvgElement, GraphicsPath)
SvgElement.GetPaths(SvgElement, ISvgRenderer)
SvgElement.Clone()
SvgElement.ISvgNode.DeepCopy()
SvgElement.OnAttributeChanged(AttributeEventArgs)
SvgElement.OnContentChanged(ContentEventArgs)
SvgElement.RegisterEvents(ISvgEventCaller)
SvgElement.UnregisterEvents(ISvgEventCaller)
SvgElement.CreateMouseEventAction(Action<Object, MouseArg>)
SvgElement.RaiseMouseClick(Object, MouseArg)
SvgElement.RaiseMouseDown(Object, MouseArg)
SvgElement.RaiseMouseUp(Object, MouseArg)
SvgElement.RaiseMouseMove(Object, MouseArg)
SvgElement.RaiseMouseOver(Object, MouseArg)
SvgElement.RaiseMouseOut(Object, MouseArg)
SvgElement.OnMouseScroll(Int32, Boolean, Boolean, Boolean, String)
SvgElement.RaiseMouseScroll(Object, MouseScrollArg)
SvgElement.InvalidateChildPaths()
SvgElement.FixOpacityValue(Single)
SvgElement.ValidateFontFamily(String, SvgDocument)
SvgElement.ElementName
SvgElement.Color
SvgElement.Content
SvgElement.Events
SvgElement.Children
SvgElement.Nodes
SvgElement.Parent
SvgElement.Parents
SvgElement.ParentsAndSelf
SvgElement.OwnerDocument
SvgElement.Attributes
SvgElement.Writing
SvgElement.CustomAttributes
SvgElement.Transforms
SvgElement.ID
SvgElement.IsPathDirty
SvgElement.Fill
SvgElement.Stroke
SvgElement.FillRule
SvgElement.FillOpacity
SvgElement.StrokeWidth
SvgElement.StrokeLineCap
SvgElement.StrokeLineJoin
SvgElement.StrokeMiterLimit
SvgElement.StrokeDashArray
SvgElement.StrokeDashOffset
SvgElement.StrokeOpacity
SvgElement.Opacity
SvgElement.ShapeRendering
SvgElement.ColorInterpolation
SvgElement.ColorInterpolationFilters
SvgElement.Visibility
SvgElement.Display
SvgElement.TextAnchor
SvgElement.BaselineShift
SvgElement.FontStyle
SvgElement.FontVariant
SvgElement.TextDecoration
SvgElement.FontWeight
SvgElement.FontStretch
SvgElement.TextTransformation
SvgElement.Font
SvgElement.Load
SvgElement.ChildAdded
SvgElement.AttributeChanged
SvgElement.ContentChanged
SvgElement.Click
SvgElement.MouseDown
SvgElement.MouseUp
SvgElement.MouseMove
SvgElement.MouseScroll
SvgElement.MouseOver
SvgElement.MouseOut
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Svg
Assembly: TelerikCommon.dll

Syntax

[SvgElement("svg")]
public class SvgFragment : SvgElement, ISvgElement, ISvgTransformable, ICloneable, ISvgNode, ISvgViewPort, ISvgBoundable

Constructors

SvgFragment()

Declaration
public SvgFragment()

Fields

Namespace

Declaration
public static readonly Uri Namespace
Field Value
System.Uri

Properties

AspectRatio

Declaration
public SvgAspectRatio AspectRatio { get; set; }
Property Value
SvgAspectRatio

Implements
ISvgViewPort.AspectRatio

Bounds

Declaration
public RectangleF Bounds { get; }
Property Value
System.Drawing.RectangleF

FontFamily

Declaration
public override string FontFamily { get; set; }
Property Value
System.String

Overrides
SvgElement.FontFamily

FontSize

Declaration
public override SvgUnit FontSize { get; set; }
Property Value
SvgUnit

Overrides
SvgElement.FontSize

Height

Declaration
public SvgUnit Height { get; set; }
Property Value
SvgUnit

Overflow

Declaration
public virtual SvgOverflow Overflow { get; set; }
Property Value
SvgOverflow

Implements
ISvgViewPort.Overflow

Path

Declaration
public GraphicsPath Path { get; }
Property Value
System.Drawing.Drawing2D.GraphicsPath

SpaceHandling

Declaration
public override XmlSpaceHandling SpaceHandling { get; set; }
Property Value
XmlSpaceHandling

Overrides
SvgElement.SpaceHandling

ViewBox

Declaration
public SvgViewBox ViewBox { get; set; }
Property Value
SvgViewBox

Implements
ISvgViewPort.ViewBox

Width

Declaration
public SvgUnit Width { get; set; }
Property Value
SvgUnit

X

Declaration
public SvgUnit X { get; set; }
Property Value
SvgUnit

Y

Declaration
public SvgUnit Y { get; set; }
Property Value
SvgUnit

Methods

DeepCopy()

Declaration
public override SvgElement DeepCopy()
Returns
SvgElement

Overrides
SvgElement.DeepCopy()

DeepCopy<T>()

Declaration
public override SvgElement DeepCopy<T>()
    where T : SvgElement, new()
Returns
SvgElement

Type Parameters
T

Overrides
SvgElement.DeepCopy<T>()

GetDimensions()

Declaration
public SizeF GetDimensions()
Returns
System.Drawing.SizeF

PushTransforms(ISvgRenderer)

Declaration
protected override bool PushTransforms(ISvgRenderer renderer)
Parameters
ISvgRenderer renderer

Returns
System.Boolean

Overrides
SvgElement.PushTransforms(ISvgRenderer)

Render(ISvgRenderer)

Declaration
protected override void Render(ISvgRenderer renderer)
Parameters
ISvgRenderer renderer

Overrides
SvgElement.Render(ISvgRenderer)

WriteStartElement(XmlTextWriter)

Declaration
protected override void WriteStartElement(XmlTextWriter writer)
Parameters
System.Xml.XmlTextWriter writer

Overrides
SvgElement.WriteStartElement(XmlTextWriter)

Explicit Interface Implementations

ISvgBoundable.Bounds

Declaration
RectangleF ISvgBoundable.Bounds { get; }
Returns
System.Drawing.RectangleF

Implements
ISvgBoundable.Bounds

ISvgBoundable.Location

Declaration
PointF ISvgBoundable.Location { get; }
Returns
System.Drawing.PointF

Implements
ISvgBoundable.Location

ISvgBoundable.Size

Declaration
SizeF ISvgBoundable.Size { get; }
Returns
System.Drawing.SizeF

Implements
ISvgBoundable.Size

Extension Methods

SvgExtentions.GetXML(SvgElement)
SvgExtentions.HasNonEmptyCustomAttribute(SvgElement, String)
SvgExtentions.ApplyRecursive(SvgElement, Action<SvgElement>)
SvgExtentions.ApplyRecursiveDepthFirst(SvgElement, Action<SvgElement>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • 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.