Class VectorImageUtil
Class that used to export vector images into Images.
Inheritance
System.Object
VectorImageUtil
Inherited Members
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.Shared
Assembly: Syncfusion.Shared.Wpf.dll
Syntax
public class VectorImageUtil
Constructors
VectorImageUtil()
Declaration
public VectorImageUtil()
Methods
ImportXaml(ImageSource, FlowDocument)
Imports the Xaml contents.
Declaration
public static Visual ImportXaml(ImageSource imageSourceContent, FlowDocument document)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Media.ImageSource | imageSourceContent | |
System.Windows.Documents.FlowDocument | document |
Returns
Type |
---|
System.Windows.Media.Visual |
SaveImage(String, FrameworkElement)
Saves the image.
Declaration
public static void SaveImage(string fileName, FrameworkElement element)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Name of the file. |
System.Windows.FrameworkElement | element | The element. |
SaveXAML(String, ImageSource)
Saves the XAML.
Declaration
public static void SaveXAML(string fileName, ImageSource imageContent)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | Name of the file. |
System.Windows.Media.ImageSource | imageContent | Content of the image. |