public override void Restore(Stream str) { base.Restore(str); if (str.ReadByte() == 0) { RenderingHints.Restore(str); } }