Chapter 27
API Reference
909
Selectioninthe recipe list isused only for display inthe default UIandhas no
effect on other Trade Skill APIs.
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
SelectTrainerService
Selects an entry inthe trainer service listing.
SelectTrainerService(index)
Selectioninthe service list isused only for display inthe default UI andhasno
effect on other Trainer APIs.
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
SendAddonMessage
Sendsa chat-like message receivable by other addons.
SendAddonMessage(“prefix“,“message“ [, “type“[, “target“]])
Allowsfor client-to-client addon communication.
Unlike withSendChatMessage, messagessent viaSendAddonMessage:
donot appear inreceivingplayers’ chat windows(unlessanaddonexplicitly
prints them)
are not subject to strict server-side spam filtering/throttling (sending
too many messages at once can still disconnect the user)
are not modified if the sending character is drunk
Messages are received via theCHAT_MSG_ADDON event.
Arguments:
prefix—Anarbitrarylabelforthemessage.Allowsreceivingaddonstofilter
incoming messages: for example, if an addon uses the same prefix for allmes-
sagesit sends, an addon interestedinonly those messages cancheck for that pre-
fix before handling the message content. Cannot contain the tab character (\t).
(string)
message—Amessagetosend;combinedlengthofprefixand messageislim-
ited to 254 characters (string)
type(optional)—Scopeinwhichtobroadcastthemessage:(string)
BATTLEGROUND—Toallalliedplayersinthecurrentbattlegroundinstance
GUILD—Toallmembersoftheplayer’sguild
PARTY—Toallmembersoftheplayer’sparty(usedbydefaultifnotypeis
given)
RAID—Toallmembersoftheplayer’sraidgroup(automatically
reverts to sending to party if the player is not in a raid group)
WHISPER—Toaspecificplayer
Pdf change page order online - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
how to move pdf pages around; reorder pages in pdf reader
Pdf change page order online - VB.NET PDF Page Move Library: re-order PDF pages in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Sort PDF Document Pages Using VB.NET Demo Code
how to move pages in a pdf document; reorder pages of pdf
910
Part IV
Reference
target(optional)—Iftypeis “WHISPER“,thenameofthetargetplayer
(in cross-realm battlegrounds, the format ‘‘Name-Realm’’ can be used to
target a player from another realm; e.g. ‘‘Thott-Cenarius’’) (string)
Example:
-- Hypothetical communication using addon messages
localMSG_PREFIX=“MY_MOD“
SendAddonMessage(MSG_PREFIX,“Resync“,“GUILD“)
SendAddonMessage(MSG_PREFIX,“VersionCheck“,“WHISPER“,player)
SendChatMessage
Sendsa chat message.
SendChatMessage(“text“[,“chatType“[,“language“[, “channel“]]])
Arguments:
text—Messagetobesent(upto255characters)(string)
chatType(optional)—Channelonwhichtosendthemessage(defaultsto SAYif
omitted) (string)
BATTLEGROUND—Messagestoabattlegroundraidgroup(sentwith/bginthe
default UI)
CHANNEL—Messagetoaserverorcustomchatchannel(sentwith/1, /2,
etc in the default UI); requireschannel number forchannel argument
DND—EnablesAway-From-Keyboardstatusfortheplayer,withtextas
the custom message seen by others attempting to whisper the player
EMOTE—Customtextemotesvisibletonearbyplayers(sentwith/einthe
default UI)
GUILD—Messagestoguildmembers(sentwith/ginthedefaultUI)
OFFICER—Messagestoguildofficers(sentwith/ointhedefaultUI)
PARTY—Messagestopartymembers(sentwith/pinthedefaultUI)
RAID—Messagestoraidmembers(sentwith/rainthedefaultUI)
RAID_WARNING—Warningtoraidmembers(sentwith/rwinthedefaultUI)
SAY—Speechtonearbyplayers(sentwith/sinthedefaultUI)
WHISPER—Messagetoaspecificcharacter(sentwith/einthedefault
UI); requires name of the character forchannel argument
YELL—Yelltonot-so-nearbyplayers(sentwith/yinthedefaultUI)
language(optional)—Languageinwhichtosendthemessage;defaultstoCom-
mon (for Alliance players) or Orcish (for Horde players) if omitted (string)
COMMON—AllianceandHumanlanguage
DARNASSIAN—NightElfLanguage
DRAENEI—DraeneiLanguage
DWARVEN—Dwarf Language
GNOMISH—Gnomelanguage
GUTTERSPEAK—Undeadlanguage
ORCISH—HordeandOrc Language
VB.NET Word: Change Word Page Order & Sort Word Document Pages
Note: if you are trying to change the order controls, please read this Word reading page which has powerful & profession imaging controls, PDF document, image
move pages within pdf; how to reorder pdf pages in reader
C# Word - Process Word Document in C#
For example, you may change your Word document order from 1, 2, 3, 4, 5 to 3, 5, 4, 2,1 with C# coding. C#.NET: Extracting Page(s) from Word.
change page order in pdf online; how to move pages in pdf reader
Chapter 27
API Reference
911
TAURAHE—TaurenLanguage
THALASSIAN—NightElfLanguage
TROLL—Trolllanguage
channel(optional)—If chatTypeis WHISPER,nameofthetargetcharacter;if
chatTypeis CHANNEL,numberidentifyingthetargetchannel;ignoredotherwise
(string)
Example:
--Send achat message to the characterthe playeriscurrently mousing
--over.This shouldberunasa macro (via keybind) so yourmousecan
--be hoveringover aunitin the3-Dworld, or aunit frame
localname =UnitName(“mouseover“)
SendChatMessage(“Hey “..name .. “I’m mousingoveryou!!!“,i
“WHISPER“,nil, name)
--This canbe runasa macro by puttingitall onone line, andadding
run infront ofit, likeso:
--
--/run local name= UnitName(“mouseover“);SendChatMessage(“Hey“i
..name .. “I’mmousingover you!!!“,“WHISPER“, nil, name)
SendMail
Sendsthe outgoing message.
SendMail(“recipient“,“subject“,“body“)
Any money or COD costsand attachments specified for the message (via
SetSendMailMoney(), SetSendMailCOD(),and
ClickSendMailItemButton())areincludedwiththemessage(andthe
valuesfor such are reset for the next outgoing message).
Arguments:
recipient—Nameofthecharactertoreceivethemail(string)
subject—Subjecttextofthemail(string)
body—Bodytextofthemail(string)
SendWho
Requestsa list of characters meeting given searchcriteriafrom the server.
SendWho(“filter“)
Text in the query will match against any of the sixsearchable fields unlessone
of the specifiersbelow is used; multiple specifierscanbe usedin one query.
Queriesare case insensitive.
n-“name“—Searchforcharacterswhosenamecontainsname
c-“class“—Searchforcharacterswhoseclassnamecontainsclass
g-“guild“—Searchforcharactersinguildswhosenamecontainsguild
r-“race“—Searchforcharacterswhoseracenamecontainsrace
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Convert Jpeg to PDF; Merge PDF Files; Split PDF Document; Remove Password from PDF; Change PDF Permission Settings. C# File: Split PDF; C# Page: Insert PDF pages
move pages in a pdf; change page order in pdf reader
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
control, developers can swap or adjust the order of all or several PowerPoint document pages, or just change the position of certain one PowerPoint page in an
how to reorder pdf pages in; how to reorder pdf pages
912
Part IV
Reference
z-“zone“—Searchforcharactersinzoneswhosenamecontainszone
X—Searchforcharacters oflevelX
X-—SearchforcharactersoflevelXorhigher
-X—SearchforcharactersoflevelXorlower
X-Y—SearchforcharactersbetweenlevelsXand Y(inclusive)
Results are not available immediately; theCHAT_MSG_SYSTEM or
WHO_LIST_UPDATEeventfireswhendataisavailable,asdeterminedbythe
SetWhoToUI()function.
Arguments:
filter—AWhosystemsearchquery(cannotbenil;usetheemptystring ““
to specify a blank query) (string)
Example:
-- Searchfor human warriors named DonaldinElwynn Forest
SendWho(’donaldz-“elwynn“ r-“human“c-“warrior“’)
SetAbandonQuest
Beginsthe process of abandoning a quest inthe player’squest log.
SetAbandonQuest(questIndex)
To finishabandoning the quest, callAbandonQuest().
Thisfunctionmust be called to select aquest in order for
GetAbandonQuestItems()orGetAbandonQuestName()toreturnvaliddata.
Arguments:
questIndex—Indexofaquestinthequestlog(between1and
GetNumQuestLogEntries())(number)
SetAchievementComparisonUnit
Enables comparing achievements/statistics with another player.
success =SetAchievementComparisonUnit(unit)
After a call to this function, theINSPECT_ACHIEVEMENT_READY event firesto
indicate that achievement/statisticcomparisonfunctions willreturn valid data
onthe givenunit.
Arguments:
unit—IDofaunittocompareagainst(unitID)
Returns:
success1ifthegivenunitisavalidunit.(Doesnotindicate
whether the unit exists or can be compared against.) (1nil)
SetActionBarToggles
Configures display of additional ActionBarsinthe default UI.
SetActionBarToggles(bar1,bar2, bar3, bar4, alwaysShow)
Arguments:
bar11toshowthebottomleftActionBar;otherwise nil(1nil)
bar21toshowthebottomrightActionBar;otherwise nil(1nil)
C# Word - Sort Word Pages Order in C#.NET
library control, developers can swap or adjust the order of all or several Word document pages, or just change the position of certain one Word page in an
pdf reorder pages online; pdf move pages
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
page from PDF file and changing the position, orientation and order of PDF file into two or small files, you may refer to this online guide. PDF Page inserting.
change page order pdf acrobat; rearrange pdf pages in preview
Chapter 27
API Reference
913
bar31toshowtheright-sideActionBar;otherwise nil(1nil)
bar41toshowthesecondright-sideActionBar;otherwise nil(1nil)
alwaysShow1toalwaysshowActionBarbackgroundsevenforemptyslots;
otherwise nil (1nil)
SetActiveTalentGroup
Switches the player’s active talent specialization.
SetActiveTalentGroup(talentGroup)
Calling this function withthe indexof an inactive talent group does not
immediately perform the switch: it beginscasting a spell(‘‘Activate Primary/
Secondary Spec’’), and only once the spellcast is complete are the player’s
talentschanged.
Calling this function withthe indexof the active talent group, or withany
argument if the player has not purchased Dual Talent Specialization, does
nothing.
Arguments:
talentGroup—Indexofthetalentspecializationtoenable(number)
SetActiveVoiceChannel
Setsthe currently active voice channel.
SetActiveVoiceChannel(index)
Arguments:
index—Indexofachannelinthechatdisplaywindow(between1and
GetNumDisplayChannels())(number)
SetActiveVoiceChannelBySessionID
Setsthe currently active voice chat channel.
SetActiveVoiceChannelBySessionID(session)
Arguments:
session—Indexofavoicesession(between1and GetNumVoiceSessions())
(number)
SetArenaTeamRosterSelection
Selects amember in an arena team roster.
SetArenaTeamRosterSelection(team,index)
Selectioninthe arenateam roster currently hasno effect beyond highlighting
list entry in the default UI.
Arguments:
team—Indexofoneoftheplayer’sarenateams(number,arenaTeamID)
index—Indexofateammembertoselect(between1and GetNumArenaTeam
Members(team))(number)
SetBagPortraitTexture
Setsa Texture object to display the icon of one of the player’sbags.
SetBagPortraitTexture(texture,container)
VB.NET PDF Password Library: add, remove, edit PDF file password
On this page, we will illustrate how to protect PDF document via password by using Change PDF original password. VB.NET: Necessary DLLs for PDF Password Edit.
move pdf pages online; change page order pdf
C# PDF Password Library: add, remove, edit PDF file password in C#
Able to change password on adobe PDF document in C# in C# project, XDoc.PDF provides some PDF security settings. On this page, we will talk about how to achieve
how to rearrange pages in a pdf reader; reordering pages in pdf document
914
Part IV
Reference
Adapts the square item icon texture to fit withinthe circular ‘‘portrait’’frames
used inmany default UIelements.
Arguments:
texture—ATextureobject(table)
container—Indexofoneoftheplayer’sbagsorothercontainers(number,con-
tainerID)
Example:
-- Seta texturetothe roundediconof theplayer’sfirst
-- bag(not thebackpack)
SetBagPortraitTexture(MyBagTexture,1)
SetBattlefieldScoreFaction
Filters the battleground scoreboardby faction/team.
SetBattlefieldScoreFaction(faction)
Arguments:
faction—Factionforwhichtoshowbattlegroundparticipantscores(number)
0—Horde
1—Alliance
nil—All
SetBinding
Binds akey combination to abinding command.
success =SetBinding(“key“[,“command“])
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2’’)(string,binding)
command(optional)—Nameofakeybindingcommand,or niltounbindthe
key (string)
Returns:
success1ifthekeybinding(orunbinding)wassuccessful;otherwise nil
(1nil)
Example:
-- Bind Control-Yto FOLLOWTARGET
SetBinding(“CTRL-Y“, “FOLLOWTARGET“)
-- UnbindMouseButton4
SetBinding(“BUTTON4“)
SetBindingClick
Binds akey combination to ‘‘click’’a Button object.
success =SetBindingClick(“key“, “buttonName“[,“mouseButton“])
Whenthe binding isused, all of the relevant mouse handlers onthe button
(save forOnEnter andOnLeave) fire just as if the button were activatedby the
mouse (includingOnMouseDown andOnMouseUp asthe key ispressed and
released).
Chapter 27
API Reference
915
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2’’)(string,binding)
buttonName—NameofaButtonobjectonwhichthebindingsimulatesaclick
(string)
mouseButton(optional)—Nameofthemousebuttonwithwhichthebinding
simulates a click (string)
Returns:
success1ifthekeybindingwassuccessful;otherwise nil(1nil)
SetBindingItem
Bindsa key combination to use anitem inthe player’s possession.
success=SetBindingItem(“key“, itemID)orSetBindingItem(“key“,i
“itemName“)orSetBindingItem(“key“,“itemLink“)
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2’’)(string,binding)
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
Returns:
success1ifthebindingwassuccessful;otherwise nil(1nil)
SetBindingMacro
Bindsa key combination to runa macro.
success=SetBindingMacro(“key“, index)ori
SetBindingMacro(“key“, “name“)
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2’’)(string,binding)
index—Indexofamacro(number,macroID)
name—Nameofamacro(string)
Returns:
success1ifthekeybindingwassuccessful;otherwise nil(1nil)
SetBindingSpell
Bindsa key combination to cast aspell.
success=SetBindingSpell(“key“, “spellname“)
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2’’)(string,binding)
spellname—Nameofaspelltobind(string)
Returns:
success1ifthekeybindingwassuccessful;otherwise nil(1nil)
Example:
--Bind Flash HealtoALT-Y
SetBindingSpell(“ALT-Y“,“Flash Heal“)
916
Part IV
Reference
SetCVar
Setsthe value of a configurationvariable.
SetCVar(“cvar“, value [, “raiseEvent“])
Arguments:
cvar—NameoftheCVartoset(string)
value—New valuefortheCVar(any)
raiseEvent(optional)—Iftrue,causesthe CVAR_UPDATEeventtofire(string)
SetChannelOwner
Gives channel ownership to another character.
SetChannelOwner(“channel“, “fullname“)
Hasno effect unlessthe player is the owner of the given channel.
Arguments:
channel—Nameofthechannel(string)
fullname—Nameofthecharactertomakethenewowner(string)
Example:
-- Give “Cladhaire“ ownershipinthe channel“monkeys“
SetChannelOwner(“monkeys“, “Cladhaire“)
SetChannelPassword
Setsa password on acustom chat channel.
SetChannelPassword(“channel“, “password“)
Arguments:
channel—Nameofthechannel(string)
password—Passwordtosetforthechannel(string)
SetChatWindowAlpha
Saves achat window’sbackground opacity setting.
SetChatWindowAlpha(index,alpha)
Used by the default UI’s functionFCF_SetWindowAlpha() which changesthe
opacity of adisplayed FloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
alpha—Alphavalue(opacity)ofthechatwindowbackground(0=fullytrans-
parent,1 = fully opaque) (number)
SetChatWindowColor
Saves achat window’sbackground color setting.
SetChatWindowColor(index,r,g,b)
Used by the default UI’s functionFCF_SetWindowColor() which changesthe
colors of adisplayedFloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
Chapter 27
API Reference
917
r—Redcomponentofthebackgroundcolor(0.0-1.0)(number)
g—Greencomponentofthebackgroundcolor(0.0-1.0)(number)
b—Bluecomponentofthebackgroundcolor(0.0-1.0)(number)
SetChatWindowDocked
Saves whether a chat window should be docked withthe mainchat window.
SetChatWindowDocked(index,docked)
Used by the default UI’s functionsFCF_DockFrame() and
FCF_UnDockFrame()whichmanagethepositioningofFloatingChatFrames.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
dockedTrueifthewindowshouldbedockedwiththemainchatwindow;
otherwisefalse (boolean)
SetChatWindowLocked
Saves whether a chat window islocked.
SetChatWindowLocked(index,locked)
Used by the default UI’s functionsFCF_OpenNewWindow() and
FCF_SetLocked()whichmanagethebehaviorofaFloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
lockedTrueiftheframeshouldbelocked;otherwise false(boolean)
SetChatWindowName
Saves achat window’sdisplay name setting.
SetChatWindowName(index,“name“)
Used by the default UI’s functionFCF_SetWindowName()whichalso handles
setting the name displayed for a FloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
name—Nametobedisplayedforthechatwindow(string)
SetChatWindowShown
Saves whether a chat windowshould be shown.
SetChatWindowShown(index,shown)
Used by the default UI’s functionFCF_OpenNewWindow()whichinitializesa
displayedFloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
shownTrueifthewindowshouldbeshown,falseotherwise(boolean)
SetChatWindowSize
Saves achat window’sfont size setting.
SetChatWindowSize(index,size)
918
Part IV
Reference
Used by the default UI’s functionFCF_SetChatWindowFontSize() which
also handleschanging the font displayed in aFloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)
(number)
size—Fontsizeforthechatwindow(inpoints)(number)
SetChatWindowUninteractable
Saves whether a chat window ismarkedasnon-interactive.
SetChatWindowUninteractable(index,setUninteractable)
Used by the default UI’s functionFCF_SetUninteractable() whichalso
handles enabling/disabling mouse eventsinthe FloatingChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
setUninteractableTrueflagsthewindowasnon-interactive;falseother-
wise (boolean)
SetCurrencyBackpack
Setsa currency type to be watched onthe Backpack UI.
SetCurrencyBackpack(index,watch)
Arguments:
index—Indexofacurrencytypeorheaderinthecurrencylist(between1and
GetCurrencyListSize()) (number)
watch1toaddthiscurrencytothebackpackUI;0toremoveitfrombeing
watched (number)
SetCurrencyUnused
Movesa currency type to or from the Unusedcurrencies list.
SetCurrencyUnused(index,makeUnused)
‘‘Unused’’ currenciesbehave no differently; the distinctiononly existsto allow
playersto hide currencies they don’t care about from the main display.
Arguments:
index—Indexofacurrencytypeorheaderinthecurrencylist(between1and
GetCurrencyListSize()) (number)
makeUnused1tomovethiscurrencytotheUnusedcategory;0toreturnitto
its original category (number)
SetCurrentGuildBankTab
Selects atab in the guild bank.
SetCurrentGuildBankTab(tab)
Arguments:
tab—Indexofaguildbanktab(between1and GetNumGuildBankTabs())
(number)
Documents you may be interested
Documents you may be interested