TTMSFNCBloxControl.SaveToImageStream Method
Renders the diagram to an image and writes it to a stream.
API unit family: TMSFNCBloxControl
Declaring type: TTMSFNCBloxControl
Syntax
procedure SaveToImageStream(AStream: TStream; ABloxOnly: Boolean = True; ALinkPoints: Boolean = False; ABackground: Boolean = True);
Parameters
| Name | Description |
|---|---|
AStream |
The target stream. |
ABloxOnly |
When True only the diagram elements are rendered, hiding the snap grid and rulers. Defaults to True. |
ALinkPoints |
When True the link points of elements are drawn. Defaults to False. |
ABackground |
When True the surface background is rendered behind the diagram. Defaults to True. |