protected void Initialize(PlainImage pi, bool addToCollection) { if (!addToCollection) { NativeObject.Clear(); } NativeObject.Add(pi); }
protected Image(java.awt.Image nativeObject, ImageFormat format) { PlainImage pi = new PlainImage(nativeObject, null, format, 0, 0, FrameDimension.Page); Initialize(pi, false); }