Esempio n. 1
0
 /// <inheritdoc/>
 public TBitmap Read(Stream stream) => Read(StructUtil.ReadBytes(stream));
Esempio n. 2
0
 /// <inheritdoc/>
 public TBitmap Read(Stream stream, BitmapReaderFlags pFlags) => Read(StructUtil.ReadBytes(stream), pFlags);
Esempio n. 3
0
        /// <summary>
        /// Set clipboard format to the current clipboard. This will clear the clipboard
        /// if this is the first call to "Set" since the clipboard handle was opened.
        /// </summary>
        public virtual void SetFormat(ClipboardFormat format, Stream stream)
        {
            var bytes = StructUtil.ReadBytes(stream);

            SetFormatObject(format.Id, bytes, new BytesDataConverter());
        }