GetCircuitImage
- Updated2026-03-24
- 1 minute(s) read
Takes a screen capture of the current circuit in Multisim.
Syntax
Function GetCircuitImage ( _
ByVal imageFormat As CircuitImageFormat, _
ByVal FileName As String) _
As String
Parameters
imageFormat—The format in which to save the image, as defined by the enum CircuitImageFormat enumeration.
FileName—The name of the file to which the image should be written. If the file extension is not specified, it will be determined from the image format.
Remarks
A fully-qualified path of the saved image file is returned, including file extension. If the save fails, the returned string is blank.
The entire circuit is saved, excluding toolbars, menu bars, status bars, etc.
Example
Dim ret As String
ret = circuit.GetCircuitImage(MultisimInterface.CircuitImageFormat.CircuitImageBMP, _
"C:\temp\image.bmp")