Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API C Social.GetScreenshotInfoByIndex

Last wiki revision 2022-08-01

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

  • index: - index of the screenshot. Does not persist between sessions.
  • screenWidth: - width of the screen in pixels.
  • screenHeight: - height of the screen in pixels.

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

Source

https://warcraft.wiki.gg/wiki/API_C_Social.GetScreenshotInfoByIndex · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.