/*
GraphicExtension, GraphicFilter, DefaultExt, Filter example
This code displays a Save Picture dialog box with the TBitmap default extension that is added automatically to files that are given no extension:
*/
SavePictureDialog1->DefaultExt = GraphicExtension(__classid(Graphics::TBitmap));
SavePictureDialog1->Filter = GraphicFilter(__classid(Graphics::TBitmap));
if (SavePictureDialog1->Execute()) 
  // save the graphic  
