c# pdf viewer open source : Change page order pdf acrobat Library software class asp.net winforms web page ajax World%20of%20Warcraft%20Programming%20(2nd%20Edition)80-part1883

Chapter 27
API Reference
759
GetNumStablePets
Returnsthe number of stabled pets.
numPets=GetNumStablePets()
Returned value does not include the current pet.
Returns:
numPets—Numberofpetsinthestables(number)
GetNumStableSlots
Returnsthe number of stable slots the player haspurchased.
numSlots= GetNumStableSlots()
Returns:
numSlots—Numberofusablestableslots(number)
GetNumTalentGroups
Returnsthe number of talent specsa character can switchamong.
numTalentGroups= GetNumTalentGroups(isInspect,isPet)
Arguments:
isInspecttruetoquerytalentinfoforthecurrentlyinspectedunit, falseto
query talent info for the player (boolean)
isPettruetoquerytalentinfofortheplayer’spet,falsetoquerytalentinfo
for the player (boolean)
Returns:
numTalentGroups—Numberoftalentgroupsthecharacterhasenabled
(number)
1—Default
2—ThecharacterhaspurchasedDualTalentSpecialization
GetNumTalentTabs
Returnsthe number of talent tabsfor the player, pet, or inspect target.
numTabs=GetNumTalentTabs(inspect,pet)
Arguments:
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
Returns:
numTabs—Numberoftalenttabs(number)
GetNumTalents
Returnsthe number of optionsin atalent tab.
numTalents= GetNumTalents(tabIndex,inspect, pet)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
Change page order pdf acrobat - 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 pages in a pdf file; how to reverse page order in pdf
Change page order pdf acrobat - 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
moving pages in pdf; how to change page order in pdf document
760
Part IV
Reference
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
Returns:
numTalents—Numberofdifferenttalentoptions(number)
GetNumTitles
Returns the number of available player titles.
numTitles= GetNumTitles()
Includes all titles, not just those earned by the player
Returns:
numTitles—Numberofavailableplayertitles(number)
GetNumTrackedAchievements
Returns the number of achievements flaggedfor display inthe objectives
tracker UI.
count= GetNumTrackedAchievements()
Returns:
count—Numberofachievementsflaggedfortracking(number)
GetNumTrackingTypes
Returns the number of available minimapobject/unit tracking abilities.
count= GetNumTrackingTypes()
Returns:
count—Numberofavailabletrackingtypes(number)
GetNumTradeSkills
Returns the number of entries inthe trade skill listing.
numSkills= GetNumTradeSkills()
Entriesinclude both group headers and individual trade skill recipes. Reflects
the list asit should currently be displayed, not necessarily the complete list. If
headers are collapsedor a filter is enabled, asmaller number will be returned.
Returns 0 if atrade skill isnot ‘‘open’’.
Returns:
numSkills—Numberofheadersandrecipestodisplayinthetradeskilllist
(number)
GetNumTrainerServices
Returns the number of entries inthe trainer service listing.
numServices= GetNumTrainerServices()
Entriesinclude both group headers andindividual trainer services(i.e. spells
or recipesto be purchased). Reflectsthe list as it should currently be displayed,
.NET PDF Document Viewing, Annotation, Conversion & Processing
Convert image files to PDF. File & Page Process. Re-order, rotate PDF pages. PDF Read. Print. Support for all the print modes in Acrobat PDF.
pdf change page order; how to rearrange pdf pages online
VB.NET PDF: How to Create Watermark on PDF Document within
create a watermark to PDF file in order to help or image (such as business's logo) on any desired PDF page. And with our PDF Watermark Creator, users need no
how to rearrange pages in a pdf document; rearrange pages in pdf file
Chapter 27
API Reference
761
not necessarily the complete list. If headers are collapsedor a filter is enabled, a
smaller number willbe returned.
Returns0 if not interacting witha trainer.
Returns:
numServices—Numberofheadersandservicestodisplayinthetrainerservice
listing (number)
GetNumVoiceSessionMembersBySessionID
Returnsthe number of membersina voice channel.
numMembers= GetNumVoiceSessionMembersBySessionID(sessionId)
Arguments:
sessionId—Indexofavoicesession(between1and GetNumVoice
Sessions()) (number)
Returns:
numMembers—Numberofmembersinthevoicechannel(number)
GetNumVoiceSessions
Returnsthe number of available voice channels.
count= GetNumVoiceSessions()
Returns0 if voice chat is disabled.
Returns:
count—Numberofavailablevoicesessions(number)
GetNumWhoResults
Returnsthe number of results from a Who system query.
numResults,totalCount= GetNumWhoResults()
Returns:
numResults—Numberofresultsreturned(number)
totalCount—Numberofresultstodisplay(number)
GetNumWorldStateUI
Returnsthe number of worldstate UI elements.
numUI= GetNumWorldStateUI()
World State UI elements include PvP, instance, and quest objective information
(displayed at the top center of the screeninthe default UI) aswell asmore
specific information for ‘‘controlpoint’’style PvP objectives. Examples: the
Horde/Alliance score inArathi Basin, the tower status andcapture progress
bars inHellfire Peninsula, the progresstext inthe Black Morassand Violet
Hold instances, and the event status text for questsThe Light of Dawnand The
Battle For The Undercity.
Returns:
numUI—Returnsthenumberofworldstateelements(number)
GetObjectiveText
Returnsa summary of objectives for the quest offered by aquestgiver.
questObjective =GetObjectiveText()
GIF to PDF Converter | Convert GIF to PDF, Convert PDF to GIF
as easy as printing; Support both single-page and batch Drop image to process GIF to PDF image conversion; Provide filter option to change brightness, color and
change pdf page order; reorder pages of pdf
JPEG to PDF Converter | Convert JPEG to PDF, Convert PDF to JPEG
It can be used standalone. JPEG to PDF Converter is able to convert image files to PDF directly without the software Adobe Acrobat Reader for conversion.
change pdf page order preview; rearrange pdf pages online
762
Part IV
Reference
Only valid whenthe questgiver UIisshowing the accept/decline stage of a
quest dialog (betweentheQUEST_COMPLETE andQUEST_FINISHEDevents);
otherwise may return the empty string or a value from the most recently
displayed quest.
Returns:
questObjective—Theobjectivetextforthecurrentlydisplayedquest
(string)
GetOptOutOfLoot
Returns whether the player hasopted out of loot rolls.
isOptOut= GetOptOutOfLoot()
Whenopting out, no prompt will be shownfor loot whichordinarily would
prompt the player to roll(need/greed) or pass; the loot rolling processwill
continue for other group members asif the player hadchosento passonevery
roll.
Returns:
isOptOut1iftheplayerhasoptedoutoflootrolls;otherwise nil(1nil)
GetOwnerAuctionItems
Requestsdata from the server for the list of auctions created by the player.
TheAUCTION_OWNED_LIST_UPDATE event fires if new datais available; listing
information canthenbe retrieved usingGetAuctionItemInfo() or other
AuctionAPIs.
GetPVPDesired
Returns whether the player hasmanually enabled PvP status.
isPVPDesired =GetPVPDesired()
Only indicateswhether the player hasmanually and directly enabled his PvP
flag (e.g. by typing ‘‘/pvp’’ or using the default UI’s menu whenright-clicking
the player portrait); returns0 if the player only became PvP flagged by
attacking anenemy player, entering an enemy zone, etc.
Returns:
isPVPDesired1ifthePVPflagwastoggledonbytheplayermanually;other-
wise 0 (number)
GetPVPLifetimeStats
Returns the player’slifetime total of honorable kills and highest rank achieved.
hk,highestRank =GetPVPLifetimeStats()
Highest rank achieved appliesonly to the older PvP rewardssystem that was
abandoned with the WoW2.0patch, but is stillaccurate for playerswho
participated in it.
Returns:
hk—Numberofhonorablekillstheplayerhasscored(number)
highestRank—Highestranktheplayereverachievedinthepre-2.0PvP
rewards system (number)
PDF to WORD Converter | Convert PDF to Word, Convert Word to PDF
PDF to Word Converter has accurate output, and PDF to Word Converter doesn't need the support of Adobe Acrobat & Microsoft Word.
reorder pages in pdf; pdf rearrange pages online
TIFF to PDF Converter | Convert TIFF to PDF, Convert PDF to TIFF
doesn't require other third-party such as Adobe Acrobat. a few clicks; Ability to convert PDF documents to and upgrade; Easy to convert multi-page PDF files to
how to rearrange pages in a pdf file; move pages in a pdf file
Chapter 27
API Reference
763
GetPVPRankInfo
Returnsinformation about a given PvPrank index.
rankName, rankNumber =GetPVPRankInfo(index[, “unit“])
These ranks are no longer inuse, asthey were part of the older PvP rewards
system that was abandonedwiththe WoW 2.0patch.
Arguments:
index—Indexofarank(beginsat1,correspondingtoanever-used‘‘Pariah’’
rank; actual ranks start at 5) (number)
unit(optional)—Aunittouseasbasisfortherankname(i.e.toreturn
Horde rank names for Horde units and Alliance rank names for Alliance
units); if omitted, uses the player’s faction (string, unitID)
Returns:
rankName—Nameoftherank(string)
rankNumber—Indexoftherankrelativetounrankedstatus(positivevaluesfor
ranksearned through honorable kills, negative valuesfor the unuseddishonor-
able ranks) (number)
GetPVPSessionStats
Returnsthe number of kills andhonor pointsscored by the player since
logging in.
honorKills,honorPoints =GetPVPSessionStats()
Returns:
honorKills—Numberofhonorablekillsscored(number)
honorPoints—Amountofhonorcurrencyearned(number)
GetPVPTimer
Returnsthe amount of time untilthe player’s PVP flag expires.
timer= GetPVPTimer()
Returns300000or higher if the player’sPvP flag ismanually enabled or if the
player isina PvP or enemy zone.
Returns:
timer—Millisecondsremaininguntiltheplayer’sPvPflagexpires(number)
GetPVPYesterdayStats
Returnsthe number of kills andhonor pointsscored by the player on the
previous day.
honorKills,honorPoints =GetPVPYesterdayStats()
Returns:
honorKills—Numberofhonorablekillsscored(number)
honorPoints—Amountofhonorcurrencyearned(number)
GetParryChance
Returnsthe player’sparry chance.
chance =GetParryChance()
DICOM to PDF Converter | Convert DICOM to PDF, Convert PDF to
Adobe Acrobat or any other print drivers when they use DICOM to PDF Converter. Additionally, high-quality image conversion of DICOM & PDF files in single page
rearrange pages in pdf reader; how to rearrange pdf pages in preview
BMP to PDF Converter | Convert Bitmap to PDF, Convert PDF to BMP
interface; Powerful image converter for Bitmap and PDF files; No need for Adobe Acrobat Reader & print driver during conversion; Support
move pdf pages in preview; how to move pages within a pdf document
764
Part IV
Reference
Returns:
chance—Theplayer’spercentagechancetoparrymeleeattacks(number)
GetPartyAssignment
Returns whether aparty/raid member isassigned a specificgroup role.
isAssigned=GetPartyAssignment(“assignment“, “unit“)ori
GetPartyAssignment(“assignment“,“name“ [,exactMatch])
Arguments:
assignment—Agrouproleassignment(string)
MAINASSIST—Returnwhethertheunitisassignedthemainassistrole
MAINTANK—Returnwhethertheunitisassignedthemaintankrole
unit—Aunitintheplayer’spartyorraid(string,unitID)
name—Nameofaunitintheplayer’spartyorraid(string)
exactMatch(optional)— Truetocheckonlyunitswhosenameexactly
matches thename given;false to allow partial matches (boolean)
Returns:
isAssigned1iftheunitisassignedthespecifiedrole;otherwise nil(1nil)
GetPartyLeaderIndex
Returns the index of the current party leader.
index= GetPartyLeaderIndex()
Returns 0 if the player isthe party leader or if the player is not ina party.
Returns:
index—Numericportionoftheparty unitIDforthepartyleader(e.g.3=
party3) (number)
GetPartyMember
Returns whether aparty member exists at a givenindex.
hasMember= GetPartyMember(index)
Arguments:
index—Indexofapartymember(between1and MAX_PARTY_MEMBERS),
or the numeric portion of apartyunitID (e.g. 3 =party3) (number)
Returns:
hasMember1ifthegiven indexcorrespondstoamemberintheplayer’s
party; otherwisenil (1nil)
GetPetActionCooldown
Returns cooldown informationabout agivenpet actionslot.
start,duration,enable= GetPetActionCooldown(index)
Arguments:
index—Indexofapetactionbutton(between1and NUM_PET_ACTION_SLOTS)
(number)
Returns:
start—ThevalueofGetTime()atthemomentthecooldownbegan,or0ifthe
action is ready (number)
Chapter 27
API Reference
765
duration—Thelengthofthecooldown,or0iftheactionisready(number)
enable1ifaCooldownUIelementshouldbeusedtodisplaythecooldown,
otherwise 0. (Does not always correlate with whether the action is ready.)
(number)
GetPetActionInfo
Returnsinformation about a pet action.
name,subtext,texture, isToken, isActive,autoCastAllowed,i
autoCastEnabled= GetPetActionInfo(index)
Arguments:
index—Indexofapetactionbutton(between1and NUM_PET_ACTION_SLOTS)
(number)
Returns:
name—Localizednameoftheaction,oratokenwhichcanbeusedtogetthe
localized name of a standard action (string)
subtext—Secondarytextfortheaction(generallyaspellrank;e.g.‘‘Rank8’’)
(string)
texture—Pathtoanicontexturefortheaction,oratokenwhichcan
be used to get the texture path of a standard action (string)
isToken1ifthereturned nameand texturearetokensforstandardactions,
which should be used to look up actual values (e.g.PET_ACTION_ATTACK,
PET_ATTACK_TEXTURE);nilif nameand texturecanbedisplayedas-is(1nil)
isActive1iftheactioniscurrentlyactive;otherwise nil.(Indicateswhich
state is chosenfor the follow/stay and aggressive/defensive/passive switches.)
(1nil)
autoCastAllowed1ifautomaticcastingisallowedfortheaction;otherwise
nil (1nil)
autoCastEnabled1ifautomaticcastingiscurrentlyturnedonfortheaction;
otherwise nil (1nil)
GetPetActionSlotUsable
Returnswhether apet actioncan be used.
usable =GetPetActionSlotUsable(index)
Used inthe default UIto show pet actions as grayed out whenthe pet cannot
be commanded to perform them (e.g. when the player or pet isstunned).
Arguments:
index—Indexofapetactionbutton(between1and NUM_PET_ACTION_SLOTS)
(number)
Returns:
usable1ifthepetactioniscurrentlyavailable;otherwise nil(1nil)
GetPetActionsUsable
Returnswhether the pet’sactions are usable.
petActionsUsable= GetPetActionsUsable()
766
Part IV
Reference
Note:GetPetActionSlotUsable canreturnnilfor individual actions evenif
GetPetActionsUsablereturns1(thoughnottheotherwayaround).
Returns:
petActionsUsable1ifthepet’sactionsareusable;otherwise nil(1nil)
GetPetExperience
Returns information about experience points for the player’spet.
currXP, nextXP= GetPetExperience()
Returns:
currXP—Thepet’scurrentamountofexperiencepoints(number)
nextXP—Totalamountofexperiencepointsrequiredforthepettogainalevel
(number)
GetPetFoodTypes
Returns a list of the food typesthe player’s pet willeat.
...= GetPetFoodTypes()
Returns:
...—Alistofstrings,eachthelocalizednameofafoodtypethepetwilleat
(list)
Bread—Bakedgoods
Cheese—Cheeseproducts
Fish—Raw andcookedfish
Fruit—Fruits
Fungus—Mushrooms,lichens,andsimilar
Meat—Rawandcookedmeat
GetPetHappiness
Returns information about the player’spet’s happiness.
happiness,damagePercentage= GetPetHappiness()
Returns:
happiness—Numberidentifyingthepet’scurrenthappinesslevel(number)
1—Unhappy
2—Content
3—Happy
damagePercentage—Percentagemultiplierforthepet’soutgoingdamage
(number)
GetPetIcon
Returns an icon representing the current pet.
texture =GetPetIcon()
Used inthe default Pet Stables andTalent UIsfor hunter pets; returnsnil for
other pets.
Returns:
texture—Pathtoanicontextureforthepet(string)
Chapter 27
API Reference
767
GetPetTalentTree
Returnsthe name of the talent tree used by the player’scurrent pet.
talent =GetPetTalentTree()
Hunter petsuse one of three different talent treesaccording to pet type.
Returnsnil if the player doesnot have apet or the player’s current pet does
not use talents (i.e. warlock pets, quest pets, etc.)
Returns:
talent—Localizednameofthepet’stalenttree(string)
GetPetTimeRemaining
Returnsthe time remaining before atemporary pet is automatically dismissed.
petTimeRemaining= GetPetTimeRemaining()
Temporary petsinclude priests’ Shadowfriend, mages’ Water Elemental, and
variousquest-related pets.
Returns:
petTimeRemaining—Amountoftimeremaininguntilthetemporarypetis
automatically dismissed (inseconds), ornil if the player doesnot have atempo-
rary pet (number)
GetPetitionInfo
Returnsinformation about the currently openpetition.
petitionType,title, bodyText,maxSignatures, originatorName,i
isOriginator,minSignatures= GetPetitionInfo()
Returns:
petitionType—Typeofthepetition(string)
arena—An arena teamcharter
guild—Aguildcharter
title—Titleofthepetition(string)
bodyText—Bodytextofthepetition(string)
maxSignatures—Maximumnumberofsignaturesallowed(number)
originatorName—Nameofthecharacterwhoinitiallypurchasedthecharter
(string)
isOriginator1iftheplayeristhepetition’soriginator;otherwise nil(1nil)
minSignatures—Minimumnumberofsignaturesrequiredtoestablishthe
charter (number)
GetPetitionItemInfo
Returnsinformation about a purchasable arena team charter.
name,texture,price= GetPetitionItemInfo(team)
Arguments:
team—Indexofateamsizeforacharter(number,arenaTeamID)
768
Part IV
Reference
Returns:
name—Nameofthepetition(string)
texture—Pathtoanicontextureforthepetition(string)
price—Costtopurchasethepetition(incopper)(number)
GetPetitionNameInfo
Returns the name of acharacter who has signed the currently offeredpetition.
name =GetPetitionNameInfo(index)
Arguments:
index—Indexofasignatureslotonthepetition(between1and
minSignatures,where minSignatures = select(7,GetPetitionInfo()))
(number)
Returns:
name—Nameofthesignatorycharacter,orniliftheslothasnotyetbeensigned
(string)
GetPlayerFacing
Returns the player’sorientation (heading).
facing= GetPlayerFacing()
Indicates the directionthe player modelis (normally) facing and inwhich the
player willmove if he begins walking forward, not the cameraorientation.
Returns:
facing—Directiontheplayerisfacing(inradians,0=north,valuesincreasing
counterclockwise) (number)
GetPlayerInfoByGUID
Returns information about aplayer character identified by globally unique
identifier.
class,classFilename,race, raceFilename,sex=i
GetPlayerInfoByGUID(“guid“)
Returnsnil if giventhe GUID of anon-player unit.
Arguments:
guid—Globallyuniqueidentifierofaplayerunit(string,guid)
Returns:
class—Localizednameoftheunit’sclass(string)
classFilename—Non-localizedtokenidentifyingtheunit’sclass(string)
race—Localizednameoftheunit’srace(string)
raceFilename—Non-localizedtokenidentifyingtheunit’srace(string)
sex—Numberidentifyingtheunit’sgender(number)
1—Neuter/ Unknown
2—Male
3—Female
Documents you may be interested
Documents you may be interested