Пример #1
0
        public static AnnotationFreeText Create(Rect rect, string defaultAppearance)
        {
            AnnotationFreeText text1 = AnnotationFreeText.Create(rect);

            text1.DefaultAppearance = defaultAppearance;
            return(text1);
        }
Пример #2
0
        public static AnnotationFreeText Create(Rect rect)
        {
            PDFDict dict1 = Library.CreateDict();

            dict1["Subtype"] = Library.CreateName("FreeText");
            AnnotationFreeText text1 = (Resources.Get(dict1, typeof(AnnotationFreeText)) as AnnotationFreeText);

            text1.Rect = rect;
            Library.CreateIndirect(dict1);
            return(text1);
        }