Method SaveState

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

SaveState()

Saves the graphics state (colours, line width, opacity, transform, clipping) so that it can be restored with RestoreState(). Operator q.

public ContentStreamWriter SaveState()

Returns

ContentStreamWriter

Exceptions

InvalidOperationException

Called inside a text object.