public StdPicture GetStandardPicture(ImageMoniker imageMoniker, ColorTheme colorTheme, int width, int height) { var monikerAttributes = new MonikerAttributes(imageMoniker, colorTheme, _UIImageType.IT_Bitmap, width, height); var standardPicture = _imageMonikerFactory.GetStandardPicture(monikerAttributes); return(standardPicture); }
public Icon GetIcon(ImageMoniker imageMoniker, ColorTheme colorTheme, int width, int height) { var monikerAttributes = new MonikerAttributes(imageMoniker, colorTheme, _UIImageType.IT_Icon, width, height); var icon = _imageMonikerFactory.GetIcon(monikerAttributes); return(icon); }
public Image GetImage(ImageMoniker imageMoniker, ColorTheme colorTheme, int width, int height) { var monikerAttributes = new MonikerAttributes(imageMoniker, colorTheme, _UIImageType.IT_Bitmap, width, height); var image = _imageMonikerFactory.GetImage(monikerAttributes); return(image); }
public Icon GetIcon(ImageMoniker imageMoniker, ColorTheme colorTheme, int squareSize) { const _UIImageType uiImageType = _UIImageType.IT_Icon; var monikerAttributes = new MonikerAttributes(imageMoniker, colorTheme, uiImageType, squareSize, squareSize); var icon = _imageMonikerFactory.GetIcon(monikerAttributes); return(icon); }