Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
TsudaKageyu committed Aug 16, 2015
1 parent 3d71ed8 commit d878434
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ int iconCount = ie.Count;
Icon icon0 = ie.GetIcon(0);
Icon icon1 = ie.GetIcon(1);
// Save icons individually.
using (var fs = File.OpenWrite(@"D:\sample0.ico"))
{
ie.Save(0, fs);
}
// Extract all the icons in one go.
Icon[] allIcons = ie.GetAllIcons();
Expand Down

0 comments on commit d878434

Please sign in to comment.