TakeScreenShot

function TakeScreenShot(ContentName: string): void

The function TakeScreenShot is used to create a screenshot. The transfer parameter is used for the specific naming of the screenshot file, but is not mandatory for the functionality.

Parameter

Name

Type

Description

ContentName

string

The path of the current TcHmiContent to be attached to the screenshot file name. Is not necessary.

Return value

Type

Description

void

no return value

NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions

Available from version 12.6.0

Usage: TC3 Plastic Application HMI projects