Example #1
0
        public static AnnotationFileAttachment Create(Rect rect, string filename)
        {
            AnnotationFileAttachment attachment1 = AnnotationFileAttachment.Create(rect);

            attachment1.FileSpecification = new FileSpec(Library.CreateString(filename));
            return(attachment1);
        }
Example #2
0
        public static AnnotationFileAttachment Create(Rect rect, FileSpec file)
        {
            AnnotationFileAttachment attachment1 = AnnotationFileAttachment.Create(rect);

            attachment1.FileSpecification = file;
            return(attachment1);
        }
Example #3
0
        public static AnnotationFileAttachment Create(Rect rect, FileSpec file, string iconname)
        {
            AnnotationFileAttachment attachment1 = AnnotationFileAttachment.Create(rect);

            attachment1.FileSpecification = file;
            attachment1.IconName          = iconname;
            return(attachment1);
        }