Table of Contents
- Getting Started
- EO.Pdf
- EO.Web
- EO.WebBrowser
- EO.Wpf
- Common Topics
- Reference
- .NET API Reference
- EO.Base
- EO.Base.UI
- EO.Extensions
- EO.Pdf
- EO.Pdf.Acm
- EO.Pdf.Contents
- EO.Pdf.Contents
- Classes
- PdfContent Class
- PdfContent Class
- PdfContent Members
- PdfContent Constructor
- Properties
- Properties
- CharSpacing Property
- Container Property
- Contents Property
- Flatness Property
- Font Property
- GfxMatrix Property
- HasChildren Property
- LineCapStyle Property
- LineDashStyle Property
- LineWidth Property
- NonStrokingColor Property
- Parent Property
- SaveGfxState Property
- StrokeAdjustment Property
- StrokingColor Property
- TextLeading Property
- WordSpacing Property
- PdfContentCollection Class
- PdfContentContainer Class
- PdfImageContent Class
- PdfPathContent Class
- PdfRawContent Class
- PdfTextContent Class
- PdfTextLayer Class
- PdfContent Class
- Enumerations
- EO.Pdf.Drawing
- EO.Pdf.Mvc
- EO.Web
- EO.WebBrowser
- EO.WebBrowser.DOM
- EO.WebEngine
- EO.WinForm
- EO.Wpf
- EO.Wpf.Gauge
- EO.Wpf.Gauge.Shapes
- EO.Wpf.Primitives
- EO.Wpf.Themes.Aero
- EO.Wpf.Themes.Classic
- EO.Wpf.Themes.Luna
- EO.Wpf.Themes.Metro
- EO.Wpf.Themes.Royale
- JavaScript API Reference
- .NET API Reference
SaveGfxState Property |
Gets or sets a value indicating whether the PdfContent object should automatically save and restore graphic state when rendered.


This property is set to true by default, in which case any graphic state changes occured inside this PdfContent would not have any impact on anything outside of the PdfContent object.
If this property is set to false, then graphic state is not restored after the PdfContent is rendered. Consider the following scenario:
- PdfContent A contains PdfContent B and PdfContent C;
- PdfContent B's SaveGfxState is set to false;
- Changing PdfContent B's ForeColor property will also change the effective ForeColor for PdfContent C because PdfContent C is rendered after PdfContent B;
