SvgShape Class

A shape containing a svg image.
Inheritance Hierarchy

Namespace:  TallComponents.PDF.Shapes
Assembly:  TallComponents.PDF.Kit (in TallComponents.PDF.Kit.dll) Version: 4.0.100.0
Syntax
public class SvgShape : ContentShape

The SvgShape type exposes the following members.

Constructors
  NameDescription
Public methodSvgShape
Creates a new SvgShape.
Public methodSvgShape(Stream)
Create a new SvgShape from a stream.
Public methodSvgShape(String)
Create a new SvgShape from a relative, absolute or virtual path.
Top
Properties
  NameDescription
Public propertyBlendMode
The blend mode used by this shape. (default is BlendMode.Inherit)
(Inherited from ContentShape.)
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyFontPath
Relative or absolute path to the folder containing fonts. Leav empty to use the system font folder. (default = empty)
Public propertyHeight
The height of the svg image.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyKeepAspectRatio
If KeepAspectRatio is set to true, the height is calculated from the width so that the width/height ratio is equal to the ratio of the original svg image. If set to false, the specified width and height are used and the svg image will in general appear distorted.
Public propertyMargin
Get or set the margin of a shape.
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from ContentShape.)
Public propertyPath
Relative or absolute path of svg image file.
Public propertyRenderingIntent
Gets or sets the rendering intent (default is RenderingIntent.RelativeColorimetric).
(Inherited from ContentShape.)
Public propertyTransform
Apply this transformation to the content shape before rendering.
(Inherited from ContentShape.)
Public propertyViewBox
Get the view port specified on the root SVG element(can be null/nothing).
Public propertyViewPortHeight
Get the view port height specified on the root SVG element.
Public propertyViewPortWidth
Get the view port width specified on the root SVG element.
Public propertyWidth
The width of the svg image.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from ContentShape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from ContentShape.)
Top
Methods
  NameDescription
Public methodClone
Clones a Shape.
(Overrides Shape.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventGetWebCredentials
Occurs when a svg is loaded from a weblocation to retrieve the credentials.
Top
Remarks
In XML you can specify the svg image data as regular xml data.
See Also