public void Initialize(int horizontalDpi, int verticalDpi) { using(Image myImage = CreateImage()) { fSizePixels = new SizePixels(myImage.Size.Width, myImage.Size.Height); fResolutionDpi = new ResolutionDpi(horizontalDpi, verticalDpi); fSourceThumbnail = Utils.Imaging.CreateThumbnail(myImage, 200); } RefreshImage(); }
public ImageHandler(InterfaceImageCreator imageCreator) { fImageCreator = imageCreator; fSourceThumbnail = null; fThumbnail = null; fSizePixels = null; fResolutionDpi = null; fOrientation = 0; fIsMirrored = false; fTemporaryFilePath = null; }