TTMSFNCGraphicsPDFEngine.SaveState Method
Saves the current graphics state and returns a state object that can be passed to
RestoreState.
API unit family: TMSFNCGraphicsPDFEngine
Declaring type: TTMSFNCGraphicsPDFEngine
Syntax
function SaveState(ACanvasOnly: Boolean = False): TTMSFNCGraphicsSaveState; override;
Parameters
| Name | Description |
|---|---|
ACanvasOnly |
When True, only the canvas-level state is saved; fill, stroke, and font properties are excluded. |
Returns
A snapshot of the current graphics state.