Search Results for

    Show / Hide Table of Contents

    Class SVGObject

    SVG object

    Inheritance
    System.Object
    Base
    ComponentBase
    ReportComponentBase
    PictureObjectBase
    SVGObject
    Implements
    IFRSerializable
    IHasEditor
    Inherited Members
    PictureObjectBase.Angle
    PictureObjectBase.DataColumn
    PictureObjectBase.Height
    PictureObjectBase.ImageLocation
    PictureObjectBase.ImageSourceExpression
    PictureObjectBase.IsDataColumn
    PictureObjectBase.IsFileLocation
    PictureObjectBase.IsWebLocation
    PictureObjectBase.MaxHeight
    PictureObjectBase.MaxWidth
    PictureObjectBase.Padding
    PictureObjectBase.ShowErrorImage
    PictureObjectBase.Width
    PictureObjectBase.ImageAlign
    PictureObjectBase.Shape
    PictureObjectBase.CalculateUri()
    PictureObjectBase.Draw(FRPaintEventArgs)
    FastReport.PictureObjectBase.GetImageAngleTransform(System.Drawing.RectangleF, System.Single, System.Single, System.Single, System.Single, System.Single, System.Single, System.Drawing.PointF, System.Drawing.PointF, System.Drawing.PointF)
    FastReport.PictureObjectBase.MovePointOnAngle(System.Drawing.PointF, System.Drawing.SizeF, System.Single)
    PictureObjectBase.RestoreState()
    FastReport.PictureObjectBase.rotateVector(System.Drawing.PointF, System.Single)
    PictureObjectBase.SaveState()
    PictureObjectBase.UpdateAutoSize()
    PictureObjectBase.GetExpressions()
    FastReport.PictureObjectBase.DrawErrorImage(FastReport.IGraphics, FastReport.Utils.FRPaintEventArgs)
    FastReport.PictureObjectBase.GetSelectionPoints()
    FastReport.PictureObjectBase.GetPreferredSize()
    FastReport.PictureObjectBase.GetSmartTag()
    ReportComponentBase.BeforePrint
    ReportComponentBase.AfterPrint
    ReportComponentBase.AfterData
    ReportComponentBase.Click
    ReportComponentBase.Exportable
    ReportComponentBase.ExportableExpression
    ReportComponentBase.Border
    ReportComponentBase.Fill
    ReportComponentBase.FillColor
    ReportComponentBase.Bookmark
    ReportComponentBase.Hyperlink
    ReportComponentBase.CanGrow
    ReportComponentBase.CanShrink
    ReportComponentBase.GrowToBottom
    ReportComponentBase.ShiftMode
    ReportComponentBase.Style
    ReportComponentBase.EvenStyle
    ReportComponentBase.HoverStyle
    ReportComponentBase.EvenStylePriority
    ReportComponentBase.PageBreak
    ReportComponentBase.PrintOn
    ReportComponentBase.BeforePrintEvent
    ReportComponentBase.AfterPrintEvent
    ReportComponentBase.AfterDataEvent
    ReportComponentBase.ClickEvent
    ReportComponentBase.FlagSimpleBorder
    ReportComponentBase.FlagUseBorder
    ReportComponentBase.FlagUseFill
    ReportComponentBase.FlagPreviewVisible
    ReportComponentBase.FlagSerializeStyle
    ReportComponentBase.FlagProvidesHyperlinkValue
    ReportComponentBase.IsCompilationNeeded
    ReportComponentBase.Cursor
    ReportComponentBase.MouseMoveEvent
    ReportComponentBase.MouseUpEvent
    ReportComponentBase.MouseDownEvent
    ReportComponentBase.MouseEnterEvent
    ReportComponentBase.MouseLeaveEvent
    ReportComponentBase.ApplyStyle(Style)
    ReportComponentBase.SaveStyle()
    ReportComponentBase.RestoreStyle()
    ReportComponentBase.DrawBackground(FRPaintEventArgs)
    ReportComponentBase.IsVisible(FRPaintEventArgs)
    ReportComponentBase.Validate()
    ReportComponentBase.OnClick(EventArgs)
    ReportComponentBase.OnAfterLoad()
    ReportComponentBase.HasClickListeners()
    ReportComponentBase.ResetData()
    ReportComponentBase.InitializeComponent()
    ReportComponentBase.FinalizeComponent()
    ReportComponentBase.CalcHeight()
    ReportComponentBase.OnBeforePrint(EventArgs)
    ReportComponentBase.OnAfterPrint(EventArgs)
    ReportComponentBase.OnAfterData(EventArgs)
    FastReport.ReportComponentBase.Left
    FastReport.ReportComponentBase.Top
    FastReport.ReportComponentBase.AssignFormat(FastReport.ReportComponentBase)
    FastReport.ReportComponentBase.HandleMouseDown(FastReport.Utils.FRMouseEventArgs)
    FastReport.ReportComponentBase.CheckParent(System.Boolean)
    FastReport.ReportComponentBase.DrawMarkers(FastReport.Utils.FRPaintEventArgs)
    FastReport.ReportComponentBase.DrawMarkers(FastReport.Utils.FRPaintEventArgs, FastReport.MarkerStyle)
    FastReport.ReportComponentBase.DrawIntersection(FastReport.Utils.FRPaintEventArgs)
    FastReport.ReportComponentBase.OnAfterInsert(FastReport.InsertFrom)
    FastReport.ReportComponentBase.MouseMove
    FastReport.ReportComponentBase.MouseUp
    FastReport.ReportComponentBase.MouseDown
    FastReport.ReportComponentBase.MouseEnter
    FastReport.ReportComponentBase.MouseLeave
    FastReport.ReportComponentBase.AssignPreviewEvents(FastReport.Base)
    FastReport.ReportComponentBase.OnMouseMove(System.Windows.Forms.MouseEventArgs)
    FastReport.ReportComponentBase.OnMouseUp(System.Windows.Forms.MouseEventArgs)
    FastReport.ReportComponentBase.OnMouseDown(System.Windows.Forms.MouseEventArgs)
    FastReport.ReportComponentBase.OnMouseEnter(System.EventArgs)
    FastReport.ReportComponentBase.OnMouseLeave(System.EventArgs)
    FastReport.ReportComponentBase.OnMouseWheel(System.Windows.Forms.MouseEventArgs)
    FastReport.ReportComponentBase.GetPreviewContextMenu()
    ComponentBase.AbsBottom
    ComponentBase.AbsBounds
    ComponentBase.AbsLeft
    ComponentBase.AbsRight
    ComponentBase.AbsTop
    ComponentBase.Anchor
    ComponentBase.Bottom
    ComponentBase.Bounds
    ComponentBase.ClientSize
    ComponentBase.Dock
    ComponentBase.GroupIndex
    ComponentBase.Right
    ComponentBase.Tag
    ComponentBase.Visible
    ComponentBase.VisibleExpression
    ComponentBase.Printable
    ComponentBase.PrintableExpression
    ComponentBase.CalcVisibleExpression(String)
    FastReport.ComponentBase.CheckNegativeSize(FastReport.Utils.FRMouseEventArgs)
    FastReport.ComponentBase.DrawDragAcceptFrame(FastReport.Utils.FRPaintEventArgs, System.Drawing.Color)
    FastReport.ComponentBase.DrawSelection(FastReport.Utils.FRPaintEventArgs)
    FastReport.ComponentBase.HandleDoubleClick()
    FastReport.ComponentBase.HandleKeyDown(System.Windows.Forms.Control, System.Windows.Forms.KeyEventArgs)
    FastReport.ComponentBase.HandleMouseHover(FastReport.Utils.FRMouseEventArgs)
    FastReport.ComponentBase.HandleMouseMove(FastReport.Utils.FRMouseEventArgs)
    FastReport.ComponentBase.HandleMouseUp(FastReport.Utils.FRMouseEventArgs)
    FastReport.ComponentBase.HandleMouseWheel(FastReport.Utils.FRMouseEventArgs)
    FastReport.ComponentBase.PointInObject(System.Drawing.PointF)
    FastReport.ComponentBase.DrawSelectionPoint(FastReport.Utils.FRPaintEventArgs, System.Drawing.Pen, System.Drawing.Brush, System.Single, System.Single)
    FastReport.ComponentBase.PointInSelectionPoint(System.Single, System.Single, System.Drawing.PointF)
    Base.Name
    Base.Restrictions
    Base.Flags
    Base.Parent
    Base.BaseName
    Base.ClassName
    Base.Report
    Base.Page
    Base.ChildObjects
    Base.AllObjects
    Base.ZOrder
    Base.IsAncestor
    Base.IsDesigning
    Base.IsPrinting
    Base.IsRunning
    Base.OriginalComponent
    Base.Disposed
    Base.SetProp(Base, Base)
    Base.FloatDiff(Single, Single)
    Base.DeserializeSubItems(FRReader)
    Base.ExtractDefaultMacros(String)
    Base.Dispose()
    Base.SetFlags(Flags, Boolean)
    Base.SetReport(Report)
    Base.SetName(String)
    Base.SetParent(Base)
    Base.SetParentCore(Base)
    Base.FindObject(String)
    Base.CreateUniqueName()
    Base.Clear()
    Base.BaseAssign(Base)
    Base.AssignAll(Base)
    Base.HasParent(Base)
    Base.HasFlag(Flags)
    Base.HasRestriction(Restrictions)
    Base.InvokeEvent(String, Object)
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    FastReport.Base.IsSelected
    FastReport.Base.IsParentSelected
    FastReport.Base.Delete()
    FastReport.Base.OnBeforeInsert(System.Int32)
    FastReport.Base.SelectionChanged()
    FastReport.Base.GetImageIndex()
    Namespace: FastReport.SVG
    Assembly: FastReport.dll
    Syntax
    public class SVGObject : PictureObjectBase, IDisposable, IFRSerializable, IHasEditor, ICloneable

    Constructors

    SVGObject()

    Initializes a new instance of the SVGObject class with default settings.

    Declaration
    public SVGObject()

    Properties

    AspectRatio

    Gets or sets AspectRatio value

    Declaration
    [Browsable(false)]
    public SvgAspectRatio AspectRatio { get; set; }
    Property Value
    Type Description
    Svg.SvgAspectRatio

    Grayscale

    Gets or sets a value indicating that the image should be displayed in grayscale mode.

    Declaration
    public override bool Grayscale { get; set; }
    Property Value
    Type Description
    System.Boolean
    Overrides
    PictureObjectBase.Grayscale

    ImageHeight

    Declaration
    protected override float ImageHeight { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    PictureObjectBase.ImageHeight

    ImageWidth

    Declaration
    protected override float ImageWidth { get; }
    Property Value
    Type Description
    System.Single
    Overrides
    PictureObjectBase.ImageWidth

    SizeMode

    Gets or sets a value that specifies how an image is positioned within a PictureObject.

    Declaration
    public override PictureBoxSizeMode SizeMode { get; set; }
    Property Value
    Type Description
    System.Windows.Forms.PictureBoxSizeMode
    Overrides
    PictureObjectBase.SizeMode

    SvgDocument

    Gets or sets svg document

    Declaration
    [Browsable(false)]
    public SvgDocument SvgDocument { get; }
    Property Value
    Type Description
    Svg.SvgDocument

    SVGGrayscale

    Gets or sets grayscale svg document

    Declaration
    [Browsable(false)]
    public SvgDocument SVGGrayscale { get; set; }
    Property Value
    Type Description
    Svg.SvgDocument

    SVGString

    Returns SVG string

    Declaration
    public string SVGString { get; set; }
    Property Value
    Type Description
    System.String

    ViewBox

    Gets or sets ViewBox value

    Declaration
    [Browsable(false)]
    public SvgViewBox ViewBox { get; set; }
    Property Value
    Type Description
    Svg.SvgViewBox

    Methods

    Assign(Base)

    Copies the contents of another, similar object.

    Declaration
    public override void Assign(Base source)
    Parameters
    Type Name Description
    Base source

    Source object to copy the contents from.

    Overrides
    PictureObjectBase.Assign(Base)
    Remarks

    Call Assign to copy the properties from another object of the same type. The standard form of a call to Assign is

    destination.Assign(source);

    which tells the destination object to copy the contents of the source object to itself. In this method, all child objects are ignored. If you want to copy child objects, use the AssignAll method.

    See Also
    AssignAll(Base)

    Clone()

    Returns clone of this object

    Declaration
    public object Clone()
    Returns
    Type Description
    System.Object

    Deserialize(FRReader)

    Declaration
    public override void Deserialize(FRReader reader)
    Parameters
    Type Name Description
    FRReader reader
    Overrides
    ReportComponentBase.Deserialize(FRReader)

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    Overrides
    Base.Dispose(Boolean)

    DrawImage(FRPaintEventArgs)

    Declaration
    public override void DrawImage(FRPaintEventArgs e)
    Parameters
    Type Name Description
    FRPaintEventArgs e
    Overrides
    PictureObjectBase.DrawImage(FRPaintEventArgs)

    DrawImageInternal2(IGraphics, PointF, PointF, PointF)

    Declaration
    protected override void DrawImageInternal2(IGraphics graphics, PointF upperLeft, PointF upperRight, PointF lowerLeft)
    Parameters
    Type Name Description
    FastReport.IGraphics graphics
    System.Drawing.PointF upperLeft
    System.Drawing.PointF upperRight
    System.Drawing.PointF lowerLeft
    Overrides
    FastReport.PictureObjectBase.DrawImageInternal2(FastReport.IGraphics, System.Drawing.PointF, System.Drawing.PointF, System.Drawing.PointF)

    GetContextMenu()

    Gets the object's context menu.

    Declaration
    public override ContextMenuBase GetContextMenu()
    Returns
    Type Description
    ContextMenuBase

    Null reference if object does not have a menu.

    Overrides
    FastReport.PictureObjectBase.GetContextMenu()
    Remarks

    Do not call this method directly. You may override it if you are developing a new component for FastReport.

    You may use base menu classes such as ComponentBaseMenu, ReportComponentBaseMenu to create own context menus.

    GetData()

    Gets the data from a datasource that the object is connected to.

    Declaration
    public override void GetData()
    Overrides
    ReportComponentBase.GetData()
    Remarks

    This method is called by the report engine before processing the object.

    Do not call it directly. You may override it if you are developing a new FastReport component. In this method you should get the data from a datasource that the object is connected to.

    GetDataAsync(CancellationToken)

    Declaration
    public override async Task GetDataAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    ReportComponentBase.GetDataAsync(CancellationToken)

    GetImage()

    Declaration
    public Image GetImage()
    Returns
    Type Description
    System.Drawing.Image

    HandleDragDrop(FRMouseEventArgs)

    Handles the DragDrop event in the designer.

    Declaration
    public override void HandleDragDrop(FRMouseEventArgs e)
    Parameters
    Type Name Description
    FRMouseEventArgs e

    Current mouse state.

    Overrides
    FastReport.ComponentBase.HandleDragDrop(FastReport.Utils.FRMouseEventArgs)
    Remarks

    This method is called when the user drops an item from the Data Tree window into this object. This method should copy the information from the e.DraggedObject object and set the e.Handled flag to true to complete the drag operation.

    HandleDragOver(FRMouseEventArgs)

    Handles the DragOver event in the designer.

    Declaration
    public override void HandleDragOver(FRMouseEventArgs e)
    Parameters
    Type Name Description
    FRMouseEventArgs e

    Current mouse state.

    Overrides
    FastReport.ComponentBase.HandleDragOver(FastReport.Utils.FRMouseEventArgs)
    Remarks

    This method is called when the user drags an item from the Data Tree window. This method should check that the mouse (e.X, e.Y) is inside the object, then set the e.Handled flag to true if an item can be dragged into this object.

    InvokeEditor()

    Invokes the object's editor.

    Declaration
    public override bool InvokeEditor()
    Returns
    Type Description
    System.Boolean

    true if object was edited succesfully.

    Overrides
    FastReport.PictureObjectBase.InvokeEditor()

    LoadImage()

    Loads image

    Declaration
    public override void LoadImage()
    Overrides
    PictureObjectBase.LoadImage()

    LoadImageAsync(CancellationToken)

    Declaration
    public override async Task LoadImageAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    System.Threading.CancellationToken cancellationToken
    Returns
    Type Description
    System.Threading.Tasks.Task
    Overrides
    PictureObjectBase.LoadImageAsync(CancellationToken)

    ResetImageIndex()

    Declaration
    protected override void ResetImageIndex()
    Overrides
    PictureObjectBase.ResetImageIndex()

    Serialize(FRWriter)

    Declaration
    public override void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer
    Overrides
    PictureObjectBase.Serialize(FRWriter)

    SetSVG(SvgDocument)

    Sets svg object by SvgDocument

    Declaration
    public void SetSVG(SvgDocument svg)
    Parameters
    Type Name Description
    Svg.SvgDocument svg

    SVG document

    SetSVGByContent(String)

    Sets svg object from svg string

    Declaration
    public void SetSVGByContent(string content)
    Parameters
    Type Name Description
    System.String content

    SVG string

    SetSVGByPath(String)

    Sets svg object from specified path

    Declaration
    public void SetSVGByPath(string path)
    Parameters
    Type Name Description
    System.String path

    path to SVG file

    Implements

    IFRSerializable
    IHasEditor
    Back to top © 1998-2025 Copyright Fast Reports Inc.