Group: Forum Members
Last Active: 13 Years Ago
Posts: 7,
Visits: 1
|
Still sending the same error
Failed to save to file. Exception was: There was an error generating the XML document.
I wonder, I put a breakpoint in the load xml and save xml in the custom property class and the compiler not going to this line
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 5,
Visits: 1
|
What if you use something like below?
public class NFaiencePolygonShape: NPolygonShape { #region CTors
public NFaiencePolygonShape() { }
public NFaiencePolygonShape(NPointF[] points): base(points) {
}
public NFaiencePolygonShape(NPolygonPath primitive): base(primitive) {
}
#endregion
#region Properties
private string _Key = Guid.NewGuid().ToString(); public string Key { get { return _Key; } }
public int XPFaienceId { get; set; } public FaienceDisplayMode FaienceDisplayMode { get; set; } public bool AutoDecorate { get; set; } public float DerzWidth { get; set; } public float OffsetX { get; set; } public float OffsetY { get; set; } public float RotationAngle { get; set; }
public Color DerzColor { get; set; } public float Tracker { get; set; } public int TamFayansCount { get; set; } public int BrokenFayansCount { get; set; }
#endregion }
|