menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class MetafileNode - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class MetafileNode

    Stores and renders an enhanced metafile image.

    Inheritance
    System.Object
    Node
    MetafileNode
    Implements
    IUnitIndependent
    IDispatchNodeEvents
    System.Runtime.Serialization.ISerializable
    INode
    System.ICloneable
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.IServiceProvider
    IGraphNode
    System.Runtime.Serialization.IDeserializationCallback
    System.IDisposable
    Inherited Members
    Node.AccumulateRefreshRect(RectangleF)
    Node.AllowLabelDrag
    Node.AppendFlipTransforms(Matrix)
    Node.AppendFlipTransforms(Matrix, PointF, Boolean, Boolean)
    Node.AppendLocalFlipTransforms(Matrix)
    Node.BoundingRectangle
    Node.BoundsInfo
    Node.CanUpdateConnections(EndPoint)
    Node.CanWiden(GraphicsPath)
    Node.CentralPort
    Node.ChangeFlipX(Boolean)
    Node.ChangeFlipY(Boolean)
    Node.ChangeRotationBy(Single)
    Node.CheckConstrainingRegion(PointF)
    Node.CheckConstrainingRegion(RectangleF)
    Node.CheckNewPinPoint(PointF, MeasureUnits)
    Node.Container
    Node.ContainsPoint(PointF)
    Node.ConvertToModelCoordinates(PointF)
    Node.ConvertToNodeCoordinates(PointF)
    Node.CreateBoundsInfo(BoundsInfo)
    Node.CreateBoundsInfo(BoundsInfo, PageScale)
    Node.CreateBoundsInfo(PointF, SizeF, SizeF)
    Node.Dispose()
    Node.DoMoveRelatedActions(Single, Single)
    Node.DoPinOffsetRelatedActions(SizeF, SizeF)
    Node.DoSizeRelatedActions(SizeF, SizeF)
    Node.Draw(Graphics)
    Node.Draw(Graphics, Boolean)
    Node.DrawPorts
    Node.Edges
    Node.EdgesEntering
    Node.EdgesLeaving
    Node.EditStyle
    Node.EnableCentralPort
    Node.EventSink
    Node.EventSink_PropertyChanged(PropertyChangedEventArgs)
    Node.EventSink_PropertyChanging(PropertyChangingEventArgs)
    Node.ExcludeFromLayout
    Node.FlipX
    Node.FlipY
    Node.FullContainerName
    Node.FullName
    Node.GetBoundsRect(Node)
    Node.GetLocalTransformations()
    Node.GetNodeBounds(Boolean, Boolean)
    Node.GetParentTransformation(Boolean)
    Node.GetPathBounds()
    Node.GetPropertyContainer(String)
    Node.GetPropertyContainerByName(String)
    Node.GetRectBounds(Boolean, Boolean)
    Node.GetScaleTransformation()
    Node.GetService(Type)
    Node.GetTransformations()
    Node.GetTransformations(PointF, SizeF, Single)
    Node.GetUpperLeftPoint(MeasureUnits)
    Node.GraphicsPath
    Node.HistoryManager
    Node.IDeserializationCallback.OnDeserialization(Object)
    Node.IDispatchNodeEvents.Click(EventArgs)
    Node.IDispatchNodeEvents.DoubleClick(EventArgs)
    Node.IDispatchNodeEvents.MouseEnter(EventArgs)
    Node.IDispatchNodeEvents.MouseLeave(EventArgs)
    Node.InheritContainerMeasureUnits
    Node.INode.Root
    Node.IsClosedPath(GraphicsPath)
    Node.ISerializable.GetObjectData(SerializationInfo, StreamingContext)
    Node.IsExpanded
    Node.IUnitIndependent.GetBoundingRectangle(MeasureUnits, Boolean)
    Node.IUnitIndependent.GetPinPoint(MeasureUnits)
    Node.IUnitIndependent.GetPinPointOffset(MeasureUnits)
    Node.IUnitIndependent.GetSize(MeasureUnits)
    Node.IUnitIndependent.SetPinPoint(PointF, MeasureUnits)
    Node.IUnitIndependent.SetPinPointOffset(SizeF, MeasureUnits)
    Node.IUnitIndependent.SetSize(SizeF, MeasureUnits)
    Node.Layers
    Node.LineHitTestPadding
    Node.LineStyle
    Node.LogicalGraphicsPath
    Node.LogicalUnitChange(GraphicsUnit)
    Node.m_bLockUpdate
    Node.m_bPortUpdating
    Node.m_eventSink
    Node.m_fRotationAngle
    Node.m_mgrBridge
    Node.m_mgrHistory
    Node.m_mgrLink
    Node.m_rgnCache
    Node.MeasurementUnit
    Node.Move(Single, Single)
    Node.Name
    Node.NodeScale
    Node.OnDeserialized()
    Node.OnMeasurementUnitsChanging(MeasureUnits)
    Node.OnMouseClick(EventArgs)
    Node.OnMouseDoubleClick(EventArgs)
    Node.OnMouseEnter(EventArgs)
    Node.OnMouseLeave(EventArgs)
    Node.OnNodeScaleChanged(String)
    Node.OnParentChanged()
    Node.OnParentChanging()
    Node.OnPropertyChanged(String, String)
    Node.OnPropertyChanging(String, String, Object)
    Node.Parent
    Node.PinPoint
    Node.PinPointOffset
    Node.Ports
    Node.PrepareGraphics(Graphics)
    Node.PrintPorts
    Node.PropertyBag
    Node.ProvideServiceReference(RuntimeTypeHandle)
    Node.QuiteBoundarySet(Boolean)
    Node.RecordPropertyChanged(String)
    Node.RefreshRect
    Node.RenderContiguousData(Graphics)
    Node.Root
    Node.Rotate(Single)
    Node.RotationAngle
    Node.SafeHistoryPause()
    Node.SafeHistoryResume()
    Node.Scale(Single, Single)
    Node.SetPinOffset(SizeF, SizeF)
    Node.SetPinPoint(PointF, MeasureUnits)
    Node.SetSize(SizeF, SizeF)
    Node.ShadowStyle
    Node.ShowResizeHandles()
    Node.Size
    Node.Tag
    Node.ToolTipText
    Node.Translate(Single, Single)
    Node.Translate(Single, Single, MeasureUnits)
    Node.TreatAsObstacle
    Node.UpdateBoundingRectangle()
    Node.UpdateContainerBounds()
    Node.UpdateGraphicsPath(SizeF, SizeF)
    Node.UpdateHelperRegion()
    Node.UpdatePortPositions(SizeF, SizeF)
    Node.UpdateReferences(IServiceReferenceProvider)
    Node.UpdateRefreshRect()
    Node.UpdateRefreshRect(RectangleF, Matrix)
    Node.UpdateServiceReferences(IServiceReferenceProvider)
    Node.Visible
    Node.ZOrder
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class MetafileNode : Node, IUnitIndependent, IDispatchNodeEvents, ISerializable, INode, ICloneable, IServiceReferenceHolder, IServiceReferenceProvider, IPropertyObserver, IPropertyContainer, IServiceProvider, IGraphNode, IDeserializationCallback, IDisposable

    Constructors

    MetafileNode(MetafileNode)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(MetafileNode src)
    Parameters
    Type Name Description
    MetafileNode src

    Object to copy.

    MetafileNode(Metafile)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(Metafile srcMetafile)
    Parameters
    Type Name Description
    System.Drawing.Imaging.Metafile srcMetafile

    Metafile for the node.

    MetafileNode(Metafile, RectangleF)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(Metafile src, RectangleF rcBounds)
    Parameters
    Type Name Description
    System.Drawing.Imaging.Metafile src

    Metafile for the node.

    System.Drawing.RectangleF rcBounds

    The node bounds.

    MetafileNode(Metafile, RectangleF, MeasureUnits)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(Metafile src, RectangleF rcBounds, MeasureUnits measureUnits)
    Parameters
    Type Name Description
    System.Drawing.Imaging.Metafile src

    Metafile for the node.

    System.Drawing.RectangleF rcBounds

    The node bounds.

    MeasureUnits measureUnits

    Specifies rcBounds measure units.

    MetafileNode(Stream)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(Stream stream)
    Parameters
    Type Name Description
    System.IO.Stream stream

    IO stream containing the Metafile.

    MetafileNode(SerializationInfo, StreamingContext)

    Initializes a new instance of the MetafileNode class.

    Declaration
    protected MetafileNode(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    Serialization state information.

    System.Runtime.Serialization.StreamingContext context

    Streaming context information.

    MetafileNode(String)

    Initializes a new instance of the MetafileNode class.

    Declaration
    public MetafileNode(string filename)
    Parameters
    Type Name Description
    System.String filename

    Name of file to load Metafile from.

    Properties

    Image

    Gets the System.Drawing.Imaging.Metafile.

    Declaration
    public Metafile Image { get; }
    Property Value
    Type Description
    System.Drawing.Imaging.Metafile

    The image.

    Methods

    Clone()

    Creates a new object that is a copy of the current instance.

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

    Copy of the object this method is invoked against.

    Overrides
    Node.Clone()

    GetObjectData(SerializationInfo, StreamingContext)

    Populates a SerializationInfo with the data needed to serialize the target object.

    Declaration
    protected override void GetObjectData(SerializationInfo info, StreamingContext context)
    Parameters
    Type Name Description
    System.Runtime.Serialization.SerializationInfo info

    SerializationInfo object to populate.

    System.Runtime.Serialization.StreamingContext context

    Destination streaming context.

    Overrides
    Node.GetObjectData(SerializationInfo, StreamingContext)

    Render(Graphics)

    Renders shapes visual representation on given graphics.

    Declaration
    protected override void Render(Graphics gfx)
    Parameters
    Type Name Description
    System.Drawing.Graphics gfx

    Graphics to draw on

    Overrides
    Node.Render(Graphics)

    Implements

    IUnitIndependent
    IDispatchNodeEvents
    System.Runtime.Serialization.ISerializable
    INode
    System.ICloneable
    IServiceReferenceHolder
    IServiceReferenceProvider
    IPropertyObserver
    IPropertyContainer
    System.IServiceProvider
    IGraphNode
    System.Runtime.Serialization.IDeserializationCallback
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved