Click or drag to resize
AppExtensionsCreateSnapshot Method (IApp, String, String, String, SnapshotObjectSizeDef)
Create Snapshot

Namespace: Qlik.Sense.Client
Assembly: 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
)

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: ISnapshot
The 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