API C Social.GetScreenshotInfoByIndex

Returns the display resolution of a screenshot. screenWidth, screenHeight = C_Social.GetScreenshotInfoByIndex(index)

Arguments

 * index : number - index of the screenshot. Does not persist between sessions.

Returns

 * screenWidth : number - width of the screen in pixels.
 * screenHeight : number - height of the screen in pixels.

Example
Prints the screenshot information of this session. for i = 1, C_Social.GetLastScreenshotIndex do 	local width, height = C_Social.GetScreenshotInfoByIndex(i) print(i, width, height) end