Class Version45UpgradeHelper
Inheritance
System.Object
Version45UpgradeHelper
Inherited Members
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: Aurigma.DesignAtoms.Serialization.Json
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class Version45UpgradeHelper
Constructors
Version45UpgradeHelper()
Declaration
public Version45UpgradeHelper()
Methods
ApplyPrintAreaTransform(JObject, String)
Declaration
public static void ApplyPrintAreaTransform(JObject itemJObject, string from)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | itemJObject | |
| System.String | from |
SetPrintAreaTransform(JObject, Single, Single)
Declaration
public static void SetPrintAreaTransform(JObject itemJObject, float translateX, float translateY)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | itemJObject | |
| System.Single | translateX | |
| System.Single | translateY |
UpgradeRectangle(JObject, String)
Declaration
public static void UpgradeRectangle(JObject itemJObject, string propertyName)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | itemJObject | |
| System.String | propertyName |
UpgradeRotation<T>(JObject, JsonSerializer, ILifetimeScope, String)
Declaration
public static PointF UpgradeRotation<T>(JObject itemJObject, JsonSerializer serializer, ILifetimeScope scope, string skipAlgorithmName)
where T : BaseTextItem
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | itemJObject | |
| Newtonsoft.Json.JsonSerializer | serializer | |
| Autofac.ILifetimeScope | scope | |
| System.String | skipAlgorithmName |
Returns
| Type | Description |
|---|---|
| PointF |
Type Parameters
| Name | Description |
|---|---|
| T |
UpgradeSourceRectangle(JObject)
Declaration
public static void UpgradeSourceRectangle(JObject itemJObject)
Parameters
| Type | Name | Description |
|---|---|---|
| Newtonsoft.Json.Linq.JObject | itemJObject |