Exemplo n.º 1
0
 /// <summary> Create Text geometry or null if input is invalid </summary>
 /// <param name="text"></param>
 /// <param name="plane"></param>
 /// <param name="style"></param>
 /// <param name="wrapped"></param>
 /// <param name="rectWidth"></param>
 /// <param name="rotationRadians"></param>
 /// <returns></returns>
 /// <since>6.0</since>
 public static TextEntity Create(string text, Plane plane, DimensionStyle style, bool wrapped, double rectWidth, double rotationRadians)
 {
     return(CreateWithRichText(AnnotationBase.PlainTextToRtf(text), plane, style, wrapped, rectWidth,
                               rotationRadians));
 }
Exemplo n.º 2
0
 /// <summary>
 ///  Creates a Leader geometry object
 /// </summary>
 /// <param name="text"></param>
 /// <param name="plane"></param>
 /// <param name="dimstyle"></param>
 /// <param name="points"></param>
 /// <returns></returns>
 /// <since>6.0</since>
 public static Leader Create(string text, Plane plane, DimensionStyle dimstyle, Point3d[] points)
 {
     return(CreateWithRichText(AnnotationBase.PlainTextToRtf(text), plane, dimstyle, points));
 }