public static AnnotationCaret Create(Rect rect, Rect RectDiff) { AnnotationCaret caret1 = AnnotationCaret.Create(rect); caret1.RectDifference = RectDiff; return(caret1); }
public static AnnotationCaret Create(Rect rect, Rect RectDiff, ECaretSymbol Caret) { AnnotationCaret caret1 = AnnotationCaret.Create(rect); caret1.RectDifference = RectDiff; caret1.Caret = Caret; return(caret1); }
public static AnnotationCaret Create(Rect rect) { PDFDict dict1 = Library.CreateDict(); dict1["Subtype"] = Library.CreateName("Caret"); AnnotationCaret caret1 = (Resources.Get(dict1, typeof(AnnotationCaret)) as AnnotationCaret); caret1.Rect = rect; Library.CreateIndirect(dict1); return(caret1); }