public static ulong AddHorCommonText(string textContent, LJJSPoint insertPt, int textColor, AttachmentPoint attachmentPoint, string txtStyle) { AttachmentPointAdapter attptAdapter = GetAttachmentPointAdapter(attachmentPoint); return(VectorDrawHelper.AddText(DrawCommonData.activeDocument, textContent, new gPoint(insertPt.XValue, insertPt.YValue), textColor, attptAdapter.verJust, attptAdapter.HorJust, txtStyle)); }
public static ulong AddHorCommonText(string textContent, LJJSPoint insertPt, int textColor, AttachmentPoint attachmentPoint, double textHeight, string fontFile) { AttachmentPointAdapter attptAdapter = GetAttachmentPointAdapter(attachmentPoint); return(VectorDrawHelper.AddText(DrawCommonData.activeDocument, textContent, new gPoint(insertPt.XValue, insertPt.YValue), attptAdapter.verJust, attptAdapter.HorJust, textColor, fontFile, textHeight, 1.0, VectorDraw.Render.grTextStyleExtra.TextLineFlags.None, 0, false)); }