Exemplo n.º 1
0
 /// <summary>
 /// Creates a new object.
 /// </summary>
 /// <param name="nativeImage"></param>
 public CommonImageWrapper(T nativeImage)
 {
     NativeImage = nativeImage;
     Size        = ExtractSizeFromNativeImage();
 }
Exemplo n.º 2
0
 public static SizeF ToSystemDrawingSizeF(VrsDrawing.Size vrsSize) => new SizeF(vrsSize.Width, vrsSize.Height);