AppExtensionsCreateSnapshot Method (IApp, String, String, String, SnapshotObjectSizeDef) |
Create Snapshot
Namespace: Qlik.Sense.ClientAssembly: Qlik.Sense.Client (in Qlik.Sense.Client.dll) Version: 2.1.0.0+Build:7.origin/release/ms13
Syntax public static ISnapshot CreateSnapshot(
this IApp theApp,
string snapshotLibId,
string sheetId,
string objectId,
SnapshotObjectSizeDef screenSize = null
)
<ExtensionAttribute>
Public Shared Function CreateSnapshot (
theApp As IApp,
snapshotLibId As String,
sheetId As String,
objectId As String,
Optional screenSize As SnapshotObjectSizeDef = Nothing
) As ISnapshot
Parameters
- theApp
- Type: Qlik.EngineIApp
The app object. Can be omitted when calling the method as an instance method on the IApp object. - snapshotLibId
- Type: SystemString
Id of the snapshotLib - sheetId
- Type: SystemString
Id of the sheet - objectId
- Type: SystemString
Id of object to create snapshot of - screenSize (Optional)
- Type: Qlik.Sense.Client.SnapshotSnapshotObjectSizeDef
The size of the screen SnapshotObjectSizeDef
Return Value
Type:
ISnapshotThe created ISnapshot object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IApp. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also