The CopyPage method replaces the clipboard with an image of the specified graph or layer.
VB: Function CopyPage(Name As ByVal String, [ format As ByVal Object ], [ dpi As ByVal Object ], [ colordepth As ByVal Object ] ) As Boolean
C++: bool CopyPage(LPCSTR Name, _variant_t format, _variant_t dpi, _variant_t colordepth )
C#: bool CopyPage(string Name, var format, var dpi, var colordepth )
Python: def CopyPage(self, *args):
Dim oApp As Origin.ApplicationSI Set oApp = GetObject("", "Origin.ApplicationSI") Dim name As String, bb As Boolean name = "Graph1" bb = oApp.CopyPage(name)
import OriginExt as O app = O.Application(); app.Visible = app.MAINWND_SHOW grPageName = app.CreatePage(app.OPT_GRAPH) app.CopyPage(grPageName)
8.0SR2