HRESULT RestoreGraphicsState () |
A well-structured PDF document usually contains many graphical elements that are independent of each other and sometimes nested to multiple levels. The graphics state stack allows these elements to make local changes to the graphics state without disturbing the graphics state of the surrounding environment. The SaveGraphicsState method allows you to use the memory stack for saving the graphical state.
See the SaveGraphicsState method for examples.