<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_SetPortraitTexture</id>
	<title>WoW:API SetPortraitTexture - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://addonstudio.org/mw1/index.php?action=history&amp;feed=atom&amp;title=WoW%3AAPI_SetPortraitTexture"/>
	<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;action=history"/>
	<updated>2026-06-01T14:20:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6344&amp;oldid=prev</id>
		<title>Move page script: Move page script moved page API SetPortraitTexture to WoW:API SetPortraitTexture without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6344&amp;oldid=prev"/>
		<updated>2023-08-15T04:47:22Z</updated>

		<summary type="html">&lt;p&gt;Move page script moved page &lt;a href=&quot;/wiki/WoW:API_SetPortraitTexture&quot; title=&quot;WoW:API SetPortraitTexture&quot;&gt;API SetPortraitTexture&lt;/a&gt; to &lt;a href=&quot;/wiki/WoW:API_SetPortraitTexture&quot; title=&quot;WoW:API SetPortraitTexture&quot;&gt;API SetPortraitTexture&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:47, 15 August 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Move page script</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6342&amp;oldid=prev</id>
		<title>Bear at 00:49, 21 May 2020</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6342&amp;oldid=prev"/>
		<updated>2020-05-21T00:49:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:49, 21 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{wowapi}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Paint a Texture object with the specified [[UnitId]]&amp;#039;s portrait.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Paint a Texture object with the specified [[UnitId]]&amp;#039;s portrait.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SetPortraitTexture(texture, &amp;quot;[[UnitId]]&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  SetPortraitTexture(texture, &amp;quot;[[UnitId]]&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Arguments ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Arguments ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; texture : The texture object. Any can be used, from XML to a object created in LUA.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; texture : The texture object. Any can be used, from XML to a object created in LUA.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; UnitId : see [[UnitId]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; UnitId : see [[UnitId]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Examples ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only Lua:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Only Lua:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bear</name></author>
	</entry>
	<entry>
		<id>https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6343&amp;oldid=prev</id>
		<title>WoWWiki&gt;NanMetal: Created page with &quot;Paint a Texture object with the specified UnitId&#039;s portrait.  SetPortraitTexture(texture, &quot;UnitId&quot;) == Arguments == ; texture : The texture object. Any can be used, from ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://addonstudio.org/mw1/index.php?title=WoW:API_SetPortraitTexture&amp;diff=6343&amp;oldid=prev"/>
		<updated>2012-02-28T13:57:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Paint a Texture object with the specified &lt;a href=&quot;/wiki/WoW:UnitId&quot; class=&quot;mw-redirect&quot; title=&quot;WoW:UnitId&quot;&gt;UnitId&lt;/a&gt;&amp;#039;s portrait.  SetPortraitTexture(texture, &amp;quot;&lt;a href=&quot;/wiki/WoW:UnitId&quot; class=&quot;mw-redirect&quot; title=&quot;WoW:UnitId&quot;&gt;UnitId&lt;/a&gt;&amp;quot;) == Arguments == ; texture : The texture object. Any can be used, from ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Paint a Texture object with the specified [[UnitId]]&amp;#039;s portrait.&lt;br /&gt;
 SetPortraitTexture(texture, &amp;quot;[[UnitId]]&amp;quot;)&lt;br /&gt;
== Arguments ==&lt;br /&gt;
; texture : The texture object. Any can be used, from XML to a object created in LUA.&lt;br /&gt;
; UnitId : see [[UnitId]]&lt;br /&gt;
== Examples ==&lt;br /&gt;
Only Lua:&lt;br /&gt;
 frame = [http://www.wowwiki.com/API_CreateFrame CreateFrame](&amp;quot;Frame&amp;quot;, &amp;quot;Hello&amp;quot;, UIParent)&lt;br /&gt;
 frame:[http://www.wowwiki.com/API_Region_SetHeight SetHeight](100)&lt;br /&gt;
 frame:[http://www.wowwiki.com/API_Region_SetWidth SetWidth](100)&lt;br /&gt;
 frame:[http://www.wowwiki.com/API_Region_SetPoint SetPoint](&amp;quot;CENTER&amp;quot;, UIParent, &amp;quot;CENTER&amp;quot;, 0, 0)&lt;br /&gt;
 &lt;br /&gt;
 local img1 = frame:[http://www.wowwiki.com/API_Frame_CreateTexture CreateTexture](nil, &amp;quot;BACKGROUND&amp;quot;)&lt;br /&gt;
 img1:[http://www.wowwiki.com/API_Region_SetHeight SetHeight](60)&lt;br /&gt;
 img1:[http://www.wowwiki.com/API_Region_SetWidth SetWidth](60)&lt;br /&gt;
 img1:[http://www.wowwiki.com/API_Region_SetPoint SetPoint](&amp;quot;TOPLEFT&amp;quot;, 0, 0)&lt;br /&gt;
 SetPortraitTexture(img1, &amp;quot;player&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Only Xml (inside a &amp;lt;Frame&amp;gt;):&lt;br /&gt;
 &amp;lt;Layers&amp;gt;&lt;br /&gt;
 	&amp;lt;Layer level=&amp;quot;OVERLAY&amp;quot;&amp;gt;&lt;br /&gt;
 		&amp;lt;Texture  name=&amp;quot;hellotexture&amp;quot;&amp;gt;&lt;br /&gt;
 			&amp;lt;Size x=&amp;quot;48&amp;quot; y=&amp;quot;48&amp;quot;/&amp;gt;&lt;br /&gt;
 			&amp;lt;Anchors&amp;gt;&lt;br /&gt;
 				&amp;lt;Anchor point=&amp;quot;TOP&amp;quot;/&amp;gt;&lt;br /&gt;
 			&amp;lt;/Anchors&amp;gt;	&lt;br /&gt;
 		&amp;lt;/Texture&amp;gt;&lt;br /&gt;
 	&amp;lt;/Layer&amp;gt;&lt;br /&gt;
 &amp;lt;/Layers&amp;gt;&lt;br /&gt;
 &amp;lt;Scripts&amp;gt;&lt;br /&gt;
 	&amp;lt;OnLoad&amp;gt;&lt;br /&gt;
 		SetPortraitTexture(hellotexture, &amp;quot;player&amp;quot;)&lt;br /&gt;
 	&amp;lt;/OnLoad&amp;gt;&lt;br /&gt;
 &amp;lt;/Scripts&amp;gt;&lt;br /&gt;
[[Category:Widget methods]]&lt;/div&gt;</summary>
		<author><name>WoWWiki&gt;NanMetal</name></author>
	</entry>
</feed>