Write-only |
About Views |
Description |
Saves a snapshot of a single plot to a picture file. |
VB Syntax |
pltsView.ExportPlot(plotIndex, outputPictureFilePath, pictureWidth, pictureHeight) |
Variable |
(Type) - Description |
pltsView |
(object) - A PLTSView object |
plotIndex |
(short) Index of the plot (zero based). |
outputPictureFilePath |
(String) Full path and file name of the picture. The file extension is used to determine picture format. Supported file extensions are “.bmp” and “.jpg”. The directory must exist. |
pictureWidth |
(short) Picture width in pixels. |
pictureHeight |
(short) Picture height in pixels. |
Return Type |
Not Applicable |
Default |
None |
Examples |
Dim outputPicFilePath As String = "C:\plot" & 1 & ".jpg" pltsView.ExportPlot(1, outpuPicFilePath, 800, 600) |
C++ Syntax |
HRESULT ExportPlot(SHORT plotIndex, BSTR outputPictureFilePath, SHORT pictureWidth, SHORT pictureHeight); |
Interface |
IPLTSView |