public GeometryRow AddNURBSTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b, VA.ShapeSheet.FormulaLiteral c, VA.ShapeSheet.FormulaLiteral d, VA.ShapeSheet.FormulaLiteral e) { var row = GeometryRow.CreateNURBSTo(x, y, a, b, c, d, e); this.Rows.Add(row); return(row); }
public GeometryRow AddInfiniteLine(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b) { var row = GeometryRow.CreateInfiniteLine(x, y, a, b); this.Rows.Add(row); return(row); }
public GeometryRow AddSplineStart(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b, VA.ShapeSheet.FormulaLiteral c, VA.ShapeSheet.FormulaLiteral d) { var row = GeometryRow.CreateSplineStart(x, y, a, b, c, d); this.Rows.Add(row); return(row); }
public GeometryRow AddLineTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y) { var row = GeometryRow.CreateLineTo(x, y); this.Rows.Add(row); return(row); }
public GeometryRow AddEllipticalArcTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b, VA.ShapeSheet.FormulaLiteral c, VA.ShapeSheet.FormulaLiteral d) { var row = GeometryRow.CreateEllipticalArcTo(x, y, a, b, c, d); this.Rows.Add(row); return(row); }
public GeometryRow AddArcTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a) { var row = GeometryRow.CreateArcTo(x, y, a); this.Rows.Add(row); return(row); }
public void VerifyFormulaLiteralSize() { // A FormulaLiteral only has a reference to a string // so it should be as big as a reference to a string var instance = new VisioAutomation.ShapeSheet.FormulaLiteral(); int actual_size = System.Runtime.InteropServices.Marshal.SizeOf(instance); Assert.AreEqual(4, actual_size); }
public static GeometryRow CreateMoveTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y) { // http://msdn.microsoft.com/en-us/library/aa195679(v=office.11).aspx var row = new GeometryRow(IVisio.VisRowTags.visTagMoveTo); row.X = x; row.Y = y; return(row); }
public void VerifyFormulaLiteralSize() { // A FormulaLiteral only has a reference to a string // so it should be as big as a reference to a string var instance = new VisioAutomation.ShapeSheet.FormulaLiteral(); int actual_size = System.Runtime.InteropServices.Marshal.SizeOf(instance); Assert.AreEqual(4, actual_size); }
public static GeometryRow CreateSplineKnot(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a) { // http://msdn.microsoft.com/en-us/library/aa195667(v=office.11).aspx var row = new GeometryRow(IVisio.VisRowTags.visTagSplineSpan); row.X = x; row.Y = y; row.A = a; return(row); }
public static GeometryRow CreateInfiniteLine(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b) { // http://msdn.microsoft.com/en-us/library/aa195682(v=office.11).aspx var row = new GeometryRow(IVisio.VisRowTags.visTagInfiniteLine); row.X = x; row.Y = y; row.A = a; row.B = b; return(row); }
public static GeometryRow CreateSplineStart(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b, VA.ShapeSheet.FormulaLiteral c, VA.ShapeSheet.FormulaLiteral d) { // http://msdn.microsoft.com/en-us/library/aa195663(v=office.11).aspx var row = new GeometryRow(IVisio.VisRowTags.visTagSplineBeg); row.X = x; row.Y = y; row.A = a; row.B = b; row.C = c; row.D = d; return(row); }
public static GeometryRow CreateNURBSTo(VA.ShapeSheet.FormulaLiteral x, VA.ShapeSheet.FormulaLiteral y, VA.ShapeSheet.FormulaLiteral a, VA.ShapeSheet.FormulaLiteral b, VA.ShapeSheet.FormulaLiteral c, VA.ShapeSheet.FormulaLiteral d, VA.ShapeSheet.FormulaLiteral e) { // http://msdn.microsoft.com/en-us/library/aa195685(v=office.11).aspx var row = new GeometryRow(IVisio.VisRowTags.visTagEllipse); row.X = x; row.Y = y; row.A = a; row.B = b; row.C = c; row.D = d; row.E = e; return(row); }
private string SmartStringToFormulaString(VA.ShapeSheet.FormulaLiteral formula, bool force_no_quoting) { if (!formula.HasValue) { return(null); } if (formula.Value.Length == 0) { return(VA.Convert.StringToFormulaString(formula.Value)); } if (formula.Value[0] != '\"') { if (force_no_quoting) { return(formula.Value); } return(VA.Convert.StringToFormulaString(formula.Value)); } return(formula.Value); }
public CellData(VA.ShapeSheet.FormulaLiteral formula, TResult result) : this() { this.Formula = formula; this.Result = result; }
public void Verify_Size_of_instance() { var instance = new VA.ShapeSheet.FormulaLiteral(); Assert.AreEqual(4, System.Runtime.InteropServices.Marshal.SizeOf(instance)); }
public ColorItem(string name, VA.ShapeSheet.SRC src) { this.Name = name; this.SRC = src; this.Formula = null; }
public void Verify_Size_of_instance() { var instance = new VA.ShapeSheet.FormulaLiteral(); Assert.AreEqual(4, System.Runtime.InteropServices.Marshal.SizeOf(instance)); }
public CustomPropertyCells(VA.ShapeSheet.FormulaLiteral value) { this.Value = value; this.Type = 2; }