c# pdf viewer open source : Move pdf pages application software tool html windows web page online World%20of%20Warcraft%20Programming%20(2nd%20Edition)70-part1872

Chapter 27
API Reference
659
0x00000004AUTOCOMPLETE_FLAG_FRIEND:Charactersfromtheplayer’s
friends list
0x00000010AUTOCOMPLETE_FLAG_INTERACTED_WITH:Characterswith
whom the player has recently interacted
0x00000020AUTOCOMPLETE_FLAG_ONLINE:Currentlyonlinefriendsand
guildmates
0xffffffffAUTOCOMPLETE_FLAG_ALL:Allcharacters
maxResults—Maximumnumberofresultstobereturned(number)
cursorPosition(optional)—Cursorpositioninthe inputString;currently
unused (number)
Returns:
...—Alistofstrings,eachthenameofacharactermatchingthesearchparame-
ters (list)
Example:
--printsupto10namesoffriendsandguildmembersstartingwith “G“
print(GetAutoCompleteResults(“g“,i
bit.bor(AUTOCOMPLETE_FLAG_IN_GUILD,
AUTOCOMPLETE_FLAG_FRIEND),AUTOCOMPLETE_FLAG_NONE,10))
--printsupto10namesofguildmembersnotonthefriendslist
--startingwith “G“
print(GetAutoCompleteResults(“g“, AUTOCOMPLETE_FLAG_IN_GUILD,i
AUTOCOMPLETE_FLAG_FRIEND,10))
GetAvailableLevel
Returnsthe level of aquest available from the current Quest NPC.
level= GetAvailableLevel(index)
Only returns valid informationafter aQUEST_GREETING event.
Note: Most quest NPCspresent available quests using the
GetGossipAvailableQuests()insteadofthisfunction.
Arguments:
index—IndexofaquestavailablefromthecurrentQuestNPC(between1and
GetNumAvailableQuests())(number)
Returns:
level—Recommendedcharacterlevelforattemptingthequest(number)
GetAvailableTitle
Returnsthe name of a quest available from the current Quest NPC.
title= GetAvailableTitle(index)
Only returns valid informationafter aQUEST_GREETING event.
Note: Most quest NPCspresent available quests using theGetGossip
AvailableQuests()insteadofthisfunction.
Move pdf pages - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
reverse page order pdf; rearrange pages in pdf reader
Move pdf pages - 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
reorder pages in a pdf; how to move pdf pages around
660
Part IV
Reference
Arguments:
index—IndexofaquestavailablefromthecurrentQuestNPC(between1and
GetNumAvailableQuests())(number)
Returns:
title—Titleofthequest(string)
GetBackpackCurrencyInfo
Returns information about acurrency marked for watching on the Backpack
UI.
name,count,extraCurrencyType,icon,itemID =i
GetBackpackCurrencyInfo(index)
Arguments:
index—Indexofaslotfordisplayingcurrenciesonthebackpack(between1
andMAX_WATCHED_TOKENS) (number)
Returns:
name—Nameofthecurrencytype(string)
count—Amountofthecurrencytheplayerhas(number)
extraCurrencyType—Typeofthecurrency(number)
0—Item-basedcurrency
1—Arena points
2—Honor points
icon—Pathtoanicontexturerepresentingthecurrencyitem(for
Honor/Arena points, not the icon displayed in the default UI) (string)
itemID—IDforthecurrencyitem(number)
GetBagName
Returns the name of one of the player’s bags.
name =GetBagName(container)
Returns nil for the bank and keyring, for bank bagswhile the player isnot at
the bank, and for empty bag or bank bag slots.
Arguments:
container—Indexofoneoftheplayer’sbagsorothercontainers(number,
containerID)
Returns:
name—Nameofthecontainer(string)
Example:
-- Print thenamesoftheplayer’s bagstochat
fori=0,4do
localname = GetBagName(i)
ifname then
print(“Bag“,i,“:“, name)
end
end
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
RasterEdge XDoc.PDF allows you to easily move PDF document pages position, including sorting pages and swapping two pages. Copying and Pasting Pages.
how to rearrange pages in a pdf document; move pages in a pdf file
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
Using this C#.NET Tiff image management library, you can easily change and move the position of any two or more Tiff file pages or make a totally new order for
how to reorder pages in pdf file; reorder pdf pages in preview
Chapter 27
API Reference
661
GetBankSlotCost
Returnsthe cost of the next purchasable bank bag slot.
cost =GetBankSlotCost()
Returns999999999 if the player owns allavailable slots.
Returns:
cost—Costofthenextavailablebankbagslot(incopper)(number)
GetBarberShopStyleInfo
Returnsinformationabout the selectedbarber shop style option.
name,unused,cost,isCurrent =GetBarberShopStyleInfo(styleIndex)
Arguments:
styleIndex—Indexofastyleoption(number)
1—Hair (orHorn)Style
2—Hair(orHorn) Color
3—Variesbyraceandgender:FacialHair,Earrings,Features,Hair,Horns,
Markings, Normal, Piercings, or Tusks
Returns:
name—Nameofthestyleoption,ornilifthestyleisnotnamed(string)
unused—Currentlyunused(string)
cost—Priceofapplyingthestyleoption,notincludingchangestootherstyle
options (in copper) (number)
isCurrent1ifthestyleoptionmatchesthecharacter’sexistingstyle;other-
wisenil (1nil)
GetBarberShopTotalCost
Returnsthe total price of selected barber shop style changes.
cost =GetBarberShopTotalCost()
Returns:
cost—Priceofthebarbershopstylechange(incopper)(number)
GetBattlefieldEstimatedWaitTime
Returnsthe estimated wait time on abattleground or arenaqueue.
waitTime= GetBattlefieldEstimatedWaitTime(index)
Arguments:
index—Indexofabattleground/arenaqueuetheplayerhasjoined(between1
andMAX_BATTLEFIELD_QUEUES) (number)
Returns:
waitTime—Estimatedwaittimetojointhebattleground/arena(inmillisec-
onds) (number)
GetBattlefieldFlagPosition
Returnsthe positionof aflag in abattleground.
flagX, flagY,flagToken =GetBattlefieldFlagPosition(index)
C# Word - Sort Word Pages Order in C#.NET
page reorganizing library control, developers can swap or adjust the order of all or several Word document pages, or just C# DLLs: Move Word Page Position.
how to move pages in a pdf; how to reorder pages in pdf preview
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
library control, developers can swap or adjust the order of all or several PowerPoint document pages, or just change the C# DLLs: Move PowerPoint Page Position.
how to change page order in pdf acrobat; reverse pdf page order online
662
Part IV
Reference
Arguments:
index—Indexofaflag(between1and GetNumBattlefieldFlag
Positions())(number)
Returns:
flagX—Horizontal(X)coordinateoftheflag’spositionrelativetothezonemap
(0 = left edge,1 = right edge) (number)
flagY—Vertical(Y)coordinateoftheflag’spositionrelativetothezonemap
(0 = bottom edge,1 = top edge) (number)
flagToken—Uniqueportionofthepathtoatexturefortheflag;preface
with“Interface\\WorldStateFrame\“ for the full path (string)
GetBattlefieldInfo
Returns information about abattleground for whichthe player can queue.
mapName,mapDescription,minLevel,maxLevel,bracketMin,bracketMax,i
maxGroup= GetBattlefieldInfo()
Returns:
mapName—Localizednameofthebattleground(string)
mapDescription—Localizeddescriptivetextaboutthebattleground(string)
minLevel—Minimumcharacterlevelrequiredtoenterthebattleground
(number)
maxLevel—Maximumcharacterlevelallowedinthebattleground(number)
bracketMin—Lowestlevelofcharactersintheplayer’slevelbracketforthe
battleground (number)
bracketMax—Highestlevelofcharactersintheplayer’slevelbracketforthe
battleground (number)
maxGroup—Maximumnumberofplayersallowedwhenjoiningthebattle-
ground queue as a group (number)
GetBattlefieldInstanceExpiration
Returns the amount of time remaining before allplayersare removed from the
instance, if ina battleground instance where the match hascompleted.
timeLeft= GetBattlefieldInstanceExpiration()
Returns:
timeLeft—Amountoftimeremaining(inmilliseconds)beforeallplayersare
removed from the instance, if in abattleground instance where the match has
completed; otherwise 0. (number
)
GetBattlefieldInstanceInfo
Returns a numeric ID for a battleground instance in the battleground queueing
list.
instanceID=GetBattlefieldInstanceInfo(index)
Thisnumber is seen in the instance names in said listings and elsewhere inthe
Battlegrounds UI(e.g. the 13in ‘‘You are eligible to enter Warsong
Gulch 13‘‘).
C# PDF insert text Library: insert text into PDF content in C#.net
int pageIndex = 0; // Move cursor to (400F, 100F). String outputFilePath = Program.RootPath + "\\" output.pdf"; doc.Save(outputFilePath);
rearrange pages in pdf online; how to reorder pages in pdf
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
RasterEdge XDoc.PDF allows you to easily move PDF document pages position in VB.NET sample codes, including sorting pages and swapping two pages.
how to rearrange pages in pdf document; how to reorder pdf pages in
Chapter 27
API Reference
663
Arguments:
index—Indexinthebattlegroundqueuelisting(1forthefirstavail-
able instance, or between 2andGetNumBattlefields() for other instances)
(number)
Returns:
instanceID—NumericIDofthebattlegroundinstance(number)
GetBattlefieldInstanceRunTime
Returnsthe amount of time since the current battleground instance opened.
time =GetBattlefieldInstanceRunTime()
Returns:
time—Amountoftimesincethecurrentbattlegroundinstanceopened(inmil-
liseconds) (number)
Example:
--Printthecurrentbattlegroundtimeasa string
print(SecondsToTime(GetBattlefieldInstanceRunTime()/1000))
GetBattlefieldMapIconScale
Returnsthe scale to be used for displaying battleground map icons.
scale= GetBattlefieldMapIconScale()
Used inthe default UIto determine the size of the point of interest icons
(towers, graveyards, etc.) onthe zone map (the small battle minimap). The
default size of the iconsis set byDEFAULT_POI_ICON_SIZE and the scale is
used to grow or shrink them depending onthe size of the map.
Returns:
scale—Scalefactorformapicons(between0and1)(number)
Example:
--Setthe sizeofanicon scaledbythis value
localsize =DEFAULT_POI_ICON_SIZE* GetBattlefieldMapIconScale()
icon:SetWidth(size)
icon:SetHeight(size)
GetBattlefieldPortExpiration
Returnsthe time left on abattleground or arenainvitation.
expiration= GetBattlefieldPortExpiration(index)
Arguments:
index—Indexofabattleground/arenaqueuetheplayerhasjoined(between1
andMAX_BATTLEFIELD_QUEUES) (number)
Returns:
expiration—Timeremainingbeforetheplayer’sinvitationtoenterthe
battleground/arena expires (in seconds); 0 if the player has not yet been
invited to enter or isalready inthe battleground/arena instance (number)
VB.NET PDF insert text library: insert text into PDF content in vb
Dim pageIndex As Integer = 0 ' Move cursor to (400F, 100F). Dim outputFilePath As String = Program.RootPath + "\\" output.pdf" doc.Save(outputFilePath).
switch page order pdf; how to move pages around in a pdf document
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Get image information, such as its location, zonal information, metadata, and so on. Able to edit, add, delete, move, and output PDF document image.
change pdf page order online; pdf change page order online
664
Part IV
Reference
Example:
-- Print thetime leftfor allactivebattlegroundqueues
forindex=1,MAX_BATTLEFIELD_QUEUESdo
localstatus,name =GetBattlefieldStatus(index)
ifstatus == “confirm“then
print(format(
“Your invitationto %s willexpire in %d seconds.“,
name, GetBattlefieldPortExpiration(index)
))
end
end
GetBattlefieldPosition
Returns the positionof abattleground team member not inthe player’sgroup.
unitX,unitY, name= GetBattlefieldPosition(index)
Still used in the default UI but no longer useful; as allteam members ina
battleground match are automatically joined into araid group. SeeGetPlayer
MapPosition()instead.
Arguments:
index—Indexofateammember(between1and GetNumBattlefield
Positions())(number)
Returns:
unitX—Horizontal(X)coordinateoftheunit’spositionrelativetothezonemap
(0 = left edge,1 = right edge) (number)
unitY—Vertical(Y)coordinateoftheunit’spositionrelativetothezonemap
(0 = bottom edge,1 = top edge) (number)
name—Nameoftheunitfordisplayonthemap(string)
GetBattlefieldScore
Returns basic scoreboard information for abattleground/arena participant.
name,killingBlows,honorableKills,deaths, honorGained,faction,i
rank,race,classToken,damageDone, healingDone=i
GetBattlefieldScore(index)
Doesnot include battleground-specific score data (e.g. flags captured in
Warsong Gulch, towers assaulted in AlteracValley, etc); seeGetBattle
fieldStatData()forsuchinformation.
Arguments:
index—Indexofaparticipantinthebattleground/arenascoreboard
(between1 andGetNumBattlefieldScores()) (number)
Returns:
name—Nameoftheparticipant(string)
killingBlows—Numberofkillingblowsscoredbytheparticipantduringthe
match (number)
Chapter 27
API Reference
665
honorableKills—Numberofhonorablekillsscoredbytheparticipantduring
the match (number)
deaths—Numberoftimestheparticipantdiedduringthematch(number)
honorGained—Amountofhonorpointsgainedbytheparticipantduringthe
match (number)
faction—Factionorteamtowhichtheparticipantbelongs(number)
0—Horde(Battleground)/GreenTeam(Arena)
1—Alliance(Battleground)/GoldTeam(Arena)
rank—Deprecated;always0(number)
race—Localizednameoftheparticipant’srace(string)
classToken—Non-localizedtokenrepresentingtheparticipant’sclass(string)
damageDone—Totalamountofdamagedonebytheparticipantduringthe
match (number)
healingDone—Totalamountofhealingdonebytheparticipantduringthe
match (number)
GetBattlefieldStatData
Returnsbattleground-specific scoreboard informationfor abattleground
participant.
columnData= GetBattlefieldStatData(index,statIndex)
Battleground-specific statisticsinclude flags captured inWarsong Gulch,
towersassaulted inAlterac Valley, etc. For the name and icon associatedwith
each statistic, seeGetBattlefieldStatInfo().For basicbattleground score
information, seeGetBattlefieldScore().
Arguments:
index—Indexofaparticipantinthebattleground/arenascoreboard
(between1 andGetNumBattlefieldScores()) (number)
statIndex—Indexofabattleground-specificstatistic(between1and
GetNumBattlefieldStats())(number)
Returns:
columnData—Theparticipant’sscoreforthestatistic(number)
Example:
--Printoutthe player’s battlegroundstatistics
localplayerName= UnitName(“player“)
forplayerIndex =1,GetNumBattlefieldStats()do
localname= GetBattlefieldScore(playerIndex)
ifname== playerNamethen
local output= “Battlegroundstats for“..name..“:\n“
forstatIndex =1,GetNumBattlefieldStats()do
output =output..“
“.. GetBattlefieldStatInfo(statIndex)i
..“: “..GetBattlefieldStatData(statIndex).. “\n“
end
print(output)
666
Part IV
Reference
break
end
end
GetBattlefieldStatInfo
Returns information about abattleground-specific scoreboard column.
text,icon,tooltip =GetBattlefieldStatInfo(statIndex)
Battleground-specificstatisticsinclude flagscaptured in Warsong Gulch,
towersassaulted in Alterac Valley, etc.
Arguments:
statIndex—Indexofabattleground-specificstatistic(between1and
GetNumBattlefieldStats())(number)
Returns:
text—Nametodisplayforthestatistic’sscoreboardcolumnheader(string)
icon—Pathtoanicontextureforthestatistic(string)
tooltip—Texttobedisplayedasatooltipwhenmousingoverthescoreboard
column (string)
GetBattlefieldStatus
Returns information about an active or queued battleground/arenainstance.
status, mapName,instanceID,bracketMin,bracketMax, teamSize,i
registeredMatch=GetBattlefieldStatus(index)
Arguments:
index—Indexofabattleground/arenaqueuetheplayerhasjoined(between1
andMAX_BATTLEFIELD_QUEUES) (number)
Returns:
status—Statusoftheplayerwithrespecttothebattleground(string)
active—Theplayeriscurrentlyplayinginthisbattleground
confirm—Theplayerhasbeeninvitedtoenterthisbattlegroundbuthasnot
done so yet
none—Nobattlegroundorqueueatthisindex
queued—Theplayerisqueuedforthisbattleground
mapName—Nameofthebattleground(e.g.‘‘AlteracValley‘‘)orarena(‘‘All
Arenas’’ whilequeued; ‘‘Eastern Kingdoms’’ regardless of destination
while status isconfirm, e.g. ‘‘Dalaran Sewers’’whileactive) (string)
instanceID—Ifinabattlegroundorqueuedforaspecificinstance,the
number identifying that instance (e.g. 13 in ‘‘Warsong Gulch13‘‘); otherwise 0
(number)
bracketMin—Lowestlevelofcharactersintheplayer’slevelbracketforthe
battleground (number)
bracketMax—Highestlevelofcharactersintheplayer’slevelbracketforthe
battleground (number)
Chapter 27
API Reference
667
teamSize—Numberofplayersperteamforanarenamatch(number)
0—Notanarenamatch
2—2v2Arena
3—3v3Arena
5—5v5Arena
registeredMatch1ifaratedarenamatch;otherwise nil(1nil)
GetBattlefieldTeamInfo
Returnsinfoabout teams and their ratingsin aratedarena match.
teamName, teamRating,newTeamRating= GetBattlefieldTeamInfo(index)
Usable following theUPDATE_BATTLEFIELD_SCORE event.
Arguments:
index—Indexofateaminthearenamatch(number)
0—GreenTeam
1—GoldTeam
Returns:
teamName—Nameoftheteam(string)
teamRating—Theteam’sratingatthestartofthematch(number)
newTeamRating—Newratingfortheteamwhenthematchiscomplete
(number)
GetBattlefieldTimeWaited
Returnsthe amount of time elapsed since the player joined the queue for a
battleground/arena.
timeInQueue= GetBattlefieldTimeWaited(index)
Arguments:
index—Indexofabattleground/arenaqueuetheplayerhasjoined(between1
andMAX_BATTLEFIELD_QUEUES) (number)
Returns:
timeInQueue—Timeelapsedsincetheplayerjoinedthequeue(inmilliseconds)
(number)
GetBattlefieldVehicleInfo
Returnsinformationabout specialvehiclesin the current zone.
vehicleX, vehicleY,unitName, isPossessed,vehicleType,orientation,i
isPlayer, isAlive =GetBattlefieldVehicleInfo(index)
Used only for certain vehicles incertainzones: includes the airships in
Icecrown aswellasvehiclesused inUlduar, Wintergrasp, and Strand of the
Ancients.
Arguments:
index—Indexofaspecialvehicle(between1and GetNumBattlefield
Vehicles()) (number)
Returns:
vehicleX—Horizontalpositionofthevehiclerelativetothezonemap(0=left
edge,1 = right edge) (number)
668
Part IV
Reference
vehicleY—Verticalpositionofthevehiclerelativetothezonemap(0=top,
=bottom) (number)
unitName—Localizednameofthevehicle(string)
isPossessedTrueifthevehicleiscontrolledbyanotherunit(boolean)
vehicleType—Tokenindicatingtypeofvehicle;sometypescanbeused
as keysto the globalVEHICLE_TEXTURES table to get display texture information
for the vehicle (string)
Airship Alliance—TheAllianceflyingquesthubinIcecrown
Airship Horde—TheHordeflyingquesthubinIcecrown
Drive—Alandvehiclesuchasasiegeengine
Fly—Aflyingvehicle
Idle—Anon-movingvehicle(e.g.anartilleryturret)
orientation—Facingangleofthevehicle((inradians,0=north,values
increasing counterclockwise) (number)
isPlayerTrueifthevehicleiscontrolledbytheplayer(boolean)
isAliveTrueifthevehiclehasnotbeendestroyed(boolean)
GetBattlefieldWinner
Returns the winner of the current battlegroundor arena match.
winner= GetBattlefieldWinner()
Returns:
winner—Indexofthewinningteamifinacompletedmatch;otherwisenil
(number)
0—Horde(Battleground)/GreenTeam(Arena)
1—Alliance(Battleground)/GoldTeam(Arena)
GetBattlegroundInfo
Returns information about available battlegrounds.
name,canEnter, isHoliday,minlevel =GetBattlegroundInfo(index)
Arguments:
index—Indexofabattleground(between1and NUM_BATTLEGROUNDS)
(number)
Returns:
name—Localizednameofthebattleground(AlteracValley,WarsongGulch,etc.)
(string)
canEnter1iftheplayercanenterthebattleground;otherwise nil(1nil)
isHoliday1ifa‘‘holiday’’offeringbonushonoriscurrentlyactiveforthe
battleground; otherwisenil (1nil)
minlevel—Minimumcharacterlevelrequiredtoenterthebattleground
(number)
GetBidderAuctionItems
Requestsdata from the server for the list of auctions bid onby the player.
Documents you may be interested
Documents you may be interested