Write-only
About Views

ExportPlots Method


Description

Saves a picture of the view.

Use DrawPlot to plot data in the view before calling this command. This function exports what you see in the view. If the view is blank, a blank picture is exported.

 VB Syntax

pltsView.ExportPlots (FilePath, pictureWidth, pictureHeight)

Variable

(Type) - Description

pltsDoc

(object) - A PLTSView object

FilePath

(String) Full path and file name of the picture. The file extension is used to determine picture format. Supported file extensions are “.bmp”, “.png”, “.jpg” and “.gif”. The directory must exist.

pictureWidth

(short) Picture width in pixels.

pictureHeight

(short) Picture height in pixels.

Return Type

Not Applicable

Default

None

Examples

pltsView.ExportPlots "C:\Users\guest\temp\MyView.png, 400,200

C++ Syntax

HRESULT ExportPlots(BSTR outputPictureFilePath, SHORT pictureWidth, SHORT pictureHeight);

Interface

IPLTSView