Restores the state of this Graphics to the state represented by a GraphicsState.

Namespace: Spire.Pdf.Graphics
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 6.2.6.0 (6.2.6.2020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public void Restore(
	PdfGraphicsState state
)
Public Sub Restore ( 
	state As PdfGraphicsState
)
public:
void Restore(
	PdfGraphicsState^ state
)
member Restore : 
        state : PdfGraphicsState -> unit 

Parameters

state
PdfGraphicsState
GraphicsState that represents the state to which to restore this Graphics.

Remarks

This method works similar to method.

See Also