public IList<Shape> Execute(StyleOption option, EffectsDesigner designer, ImageItem source, Shape imageShape) { // store style options information into original image shape // return original image and cropped image return designer.EmbedStyleOptionsInformation( source.OriginalImageFile, source.FullSizeImageFile, source.ContextLink, source.Rect, option); }
public IList<Shape> Execute(StyleOption option, EffectsDesigner designer, ImageItem source, Shape imageShape, Settings settings) { // in previewing if (source.FullSizeImageFile == null) { return new List<Shape>(); } // store style options information into original image shape // return original image and cropped image return designer.EmbedStyleOptionsInformation( source.BackupFullSizeImageFile, source.FullSizeImageFile, source.ContextLink, source.Source, source.Rect, option); }
public IList <Shape> Execute(StyleOption option, EffectsDesigner designer, ImageItem source, Shape imageShape, Settings settings) { // in previewing if (source.FullSizeImageFile == null) { return(new List <Shape>()); } // store style options information into original image shape // return original image and cropped image return(designer.EmbedStyleOptionsInformation( source.BackupFullSizeImageFile, source.FullSizeImageFile, source.ContextLink, source.Source, source.Rect, option)); }