Exemplo n.º 1
0
 public static Image FromEmbeddedImage(EmbeddedImage embedded_image)
 {
     var img = new Image();
     img.Source = ImageSourceEnum.Embedded;
     img.Value = embedded_image.Name;
     img.MIMEType = embedded_image.MIMEType;
     img.Sizing = ImageSizingEnum.AutoSize;
     return img;
 }
Exemplo n.º 2
0
        public static Image FromEmbeddedImage(EmbeddedImage embedded_image)
        {
            var img = new Image();

            img.Source   = ImageSourceEnum.Embedded;
            img.Value    = embedded_image.Name;
            img.MIMEType = embedded_image.MIMEType;
            img.Sizing   = ImageSizingEnum.AutoSize;
            return(img);
        }