c# pdf viewer open source : Reorder pages in pdf reader SDK Library project winforms asp.net .net UWP World%20of%20Warcraft%20Programming%20(2nd%20Edition)82-part1885

Chapter 27
API Reference
779
1—Thequestwascompleted
nil—Thequesthasyettoreachaconclusion
isDaily1ifthequestisadailyquest;otherwise nil(1nil)
questID—Thequest’squestID.(number)
GetQuestMoneyToGet
Returnsthe amount of money required to complete the quest presentedby a
questgiver.
money= GetQuestMoneyToGet()
Usable following theQUEST_PROGRESS event in whichit is determined
whether the player can complete the quest.
Returns:
money—Amountofmoneyrequiredtocompletethequest(incopper)(number)
GetQuestResetTime
Returnsthe amount of time remaining until the daily quest period resets.
time =GetQuestResetTime()
Returns:
time—Amountoftimeremaininguntilthedailyquestperiodresets(inseconds)
(number)
Example:
--Printtheamount of timeuntildailiesreset
print(“Daily questsresetin“ .. SecondsToTime(GetQuestResetTime()))
GetQuestReward
Finishesturning ina quest to a questgiver, selecting anitem reward if
applicable.
GetQuestReward(choice)
Usable following theQUEST_COMPLETE event in whichthe questgiver presents
the player withrewards.
Arguments:
choice—Indexofaquestrewardchoice(between1and GetNumQuest
Choices()),or nilifthequestdoesnotofferachoiceofitemrewards(number)
GetQuestSpellLink
Returnsa hyperlink for aspell in aquestgiver dialog.
link =GetQuestSpellLink()
Only valid whenthe questgiver UIis showing the accept/decline, progress, or
completionstages of aquest dialog (between theQUEST_DETAIL and
QUEST_FINISHED, QUEST_PROGRESSand QUEST_FINISHED,or
QUEST_COMPLETEand QUEST_FINISHEDevents);otherwisemayreturnempty
valuesor those from the most recently displayed quest.
Reorder pages in pdf reader - 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; change page order pdf acrobat
Reorder pages in pdf reader - 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; move pages in pdf
780
Part IV
Reference
Returns:
link—Ahyperlinkforthespellortradeskillrecipe(string,hyperlink)
GetQuestText
Returns the text for the quest offered by aquestgiver.
text =GetQuestText()
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:
text—Thetextforthecurrentlydisplayedquest(string)
GetQuestTimers
Returns a list of the times remaining for any active timedquests.
...= GetQuestTimers()
Returns:
...—Alistofnumbers,eachtheamountoftime(inseconds)remainingfora
timed quest (number)
GetRaidRosterInfo
Returns information about amember of the player’sraid.
name,rank,subgroup, level,class,fileName,zone,online, isDead,i
role,isML =GetRaidRosterInfo(index)
Arguments:
index—Indexoftheraidmember(between1and GetNumRaidMembers());
matches the numeric part of the unit’sraidunitID, e.g.21 forraid21
(number)
Returns:
name—Nameoftheraidmember(string)
rank—Rankofthememberintheraid(number)
0—Raidmember
1—RaidAssistant
2—RaidLeader
subgroup—Indexoftheraidsubgrouptowhichthememberbelongs(between
1and MAX_RAID_GROUPS)(number)
level—Characterlevelofthemember(number)
class—Localizednameofthemember’sclass(string)
fileName—Anon-localizedtokenrepresentingthemember’sclass(string)
zone—Nameofthezoneinwhichthememberiscurrentlylocated(string)
online1ifthememberiscurrentlyonline;otherwise nil(1nil)
isDead1ifthememberiscurrentlydead;otherwise nil(1nil)
role—Grouproleassignedtothemember(string)
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
Reorder, Rearrange and Sort TIFF Document Pages in C#.NET Application. C# TIFF Page Sorting Overview. Reorder TIFF Pages in C#.NET Application.
change pdf page order online; how to move pages in a pdf file
VB.NET PowerPoint: Sort and Reorder PowerPoint Slides by Using VB.
Sort and Reorder PowerPoint Slides Range with VB amount of robust PPT slides/pages editing methods powerful & profession imaging controls, PDF document, image
how to move pages around in a pdf document; how to move pages in a pdf document
Chapter 27
API Reference
781
MAINASSIST
MAINTANK
isML1ifthememberisthemasterlooter;otherwise nil(1nil)
GetRaidRosterSelection
Returnsthe indexof the selected unit in the raidroster.
raidIndex =GetRaidRosterSelection()
Selectioninthe raid roster is used only for display in the default UIand hasno
effect on other Raid APIs.
Returns:
raidIndex—Indexoftheraidmember(between1and GetNumRaid
Members());matchesthenumericpartoftheunit’s raid unitID,e.g. 21for
raid21 (number)
GetRaidTargetIndex
Returnsthe indexof the raid target marker on aunit.
index= GetRaidTargetIndex(“unit“) or GetRaidTargetIndex(“name“)
Arguments:
unit—Aunittoquery(string,unitID)
name—Thenameofaunittoquery;onlyvalidforplayer, pet,andparty/raid
members (string)
Returns:
index—Indexofatargetmarker(number)
1—Star
2—Circle
3—Diamond
4—Triangle
5—Moon
6—Square
7—Cross
8—Skull
nil—Nomarker
GetRangedCritChance
Returnsthe player’s ranged critical strike chance.
critChance= GetRangedCritChance()
Returns:
critChance—Theplayer’spercentagecriticalstrikechanceforrangedattacks
(number)
GetReadyCheckStatus
Returnsa unit’sstatusduring aready check.
status =GetReadyCheckStatus(“unit“)
Returnsnil for all unitsunless the player isthe party/raid leader or araid
assistant.
Arguments:
unit—Aunitintheplayer’spartyorraid(string,unitID)
Returns:
status—Readycheckstatusfortheunit(string)
Read PDF in Web Image Viewer| Online Tutorials
Extract images from PDF documents; Add, reorder pages in PDF files; Save and print Document Viewer, make sure that you have install RasterEdge PDF Reader Add-on
move pdf pages; pdf move pages
C# PDF Page Rotate Library: rotate PDF page permanently in C#.net
Enable batch changing PDF page orientation without other PDF reader control. PDF page, delete certain PDF page, reorder existing PDF pages and split
rearrange pdf pages in reader; rearrange pdf pages
782
Part IV
Reference
“notready“—Unithasrespondedasnotready
“ready“—Unithasrespondedasready
“waiting“—Unithasnotyetresponded
nil—Noreadycheckisinprogress
GetReadyCheckTimeLeft
Returns the amount of time left onthe current ready check.
timeLeft= GetReadyCheckTimeLeft()
Returns0 if no ready check is inprogress.
Returns:
timeLeft—Amountoftimeremainingonthereadycheck(inseconds)
(number)
GetRealNumPartyMembers
Returns the number of members inthe player’snon-battleground party.
numMembers=GetRealNumPartyMembers()
Whenthe player isina party/raid and joinsa battleground or arena, the
normalparty/raid functionsrefer to the battleground’sparty/raid, but the
game still keepstrack of the player’splace in anon-battleground party/raid.
Returns:
numMembers—Numberofmembersintheplayer’snon-battlegroundparty
(number)
GetRealNumRaidMembers
Returns the number of members inthe player’snon-battleground raid.
numMembers=GetRealNumRaidMembers()
Whenthe player isina party/raid and joinsa battleground or arena, the
normalparty/raid functionsrefer to the battleground’sparty/raid, but the
game still keepstrack of the player’splace in anon-battleground party/raid.
Returns:
numMembers—Numberofmembersintheplayer’snon-battlegroundraid
(number)
GetRealZoneText
Returns the ‘‘official’’ name of the zone or instance inwhichthe player is
located.
zoneName= GetRealZoneText()
Thisname matchesthat seeninthe Who, Guild, andFriends UIswhen
reporting character locations. It may differ from those the default UIdisplays
inother locations (GetZoneText() andGetMinimapZoneText()), especially
if the player is in an instance: e.g. this function returns‘‘The Stockade’’ when
the othersreturn ‘‘Stormwind Stockade’’.
Returns:
zoneName—Nameofthezoneorinstance(string)
VB.NET TIFF: Modify TIFF File by Adding, Deleting & Sort TIFF
Users can use it to reorder TIFF pages in ''' &ltsummary> ''' Sort TIFF document pages in designed powerful & profession imaging controls, PDF document, image
how to move pages in pdf; how to reorder pages in pdf preview
C# PDF: C# Code to Process PDF Document Page Using C#.NET PDF
just following attached links. C# PDF: Add, Delete, Reorder PDF Pages Using C#.NET, C# PDF: Merge or Split PDF Files Using C#.NET.
rearrange pages in pdf file; how to reorder pdf pages in reader
Chapter 27
API Reference
783
GetRealmName
Returnsthe name of the player’srealm (server name).
realm= GetRealmName()
Returns:
realm—Thenameoftheplayer’srealm(server)(string)
GetRefreshRates
Returnsa list of available screen refresh rates.
...= GetRefreshRates()
The current refreshrate canbe found in thegxRefresh CVar.
Returns:
...—Alistofnumbers,eachanavailablescreenrefreshrate(inhertz,orcycles
per second) (number)
GetReleaseTimeRemaining
Returnsthe amount of time remaining until the player’sspirit isautomatically
releasedwhen dead.
timeleft= GetReleaseTimeRemaining()
Returns-1 if the player diedin adungeonor raid instance; insuchcases, the
player’s spirit will not be released automatically (seeRepopMe() to release
manually).
Returns:
timeleft—Amountoftimeremaininguntiltheplayer’sspiritisauto-
matically released to the nearest graveyard (in seconds) (number)
GetRepairAllCost
Returnsthe cost to repair all of the player’sdamaged items.
repairAllCost, canRepair= GetRepairAllCost()
Returns0,nil if none of the player’s itemsare damaged. Only returns valid
data while interacting witha vendor which allowsrepairs(i.e. for whom
CanMerchantRepair()returns 1).
Returns:
repairAllCost—Costtorepairalldamageditems(incopper)(number)
canRepair1ifrepairsarecurrentlyavailable;otherwise nil(1nil)
GetResSicknessDuration
Returnsthe duration of resurrection sickness at the player’scurrent level.
resSicknessTime= GetResSicknessDuration()
Returnsnil for playersunder level 10, who are allowed to resurrect at aspirit
healer without suffering resurrectionsickness.
Returns:
resSicknessTime—Textdescribingthedurationofresurrection
sickness were the player to resurrect at a spirit healer (string
)
VB.NET TIFF: VB.NET Sample Code to Process & Manage TIFF Page
certain TIFF page, and sort & reorder TIFF pages in Process TIFF Pages Independently in VB.NET Code. powerful & profession imaging controls, PDF document, image
reorder pages pdf file; how to move pages around in pdf
C# Word: How to Create Word Document Viewer in C#.NET Imaging
in C#.NET; Offer mature Word file page manipulation functions (add, delete & reorder pages) in document viewer; Rich options to add
reorder pdf pages online; change page order in pdf online
784
Part IV
Reference
GetRestState
Returns the player’scurrent rest state.
state,name,multiplier= GetRestState()
Returns:
state—Numberidentifyingthecurrentreststate(number)
1—Rested
2—Normal
3—Tired;usedinlocaleswithaccountplaytimelimits
4—Unhealthy;usedinlocaleswithaccountplaytimelimits
name—Localizedtextdescribingtheplayer’scurrentreststate(string)
multiplier—Multiplierforexperiencepointsearnedfromkills(number)
GetRewardHonor
Returns the amount of honor pointsawarded whencompleting aquest.
honor= GetRewardHonor()
Only valid whenthe questgiver UIisshowing the accept/decline or
completionstages of aquest dialog (betweentheQUEST_DETAIL and
QUEST_FINISHEDevents,orbetweenthe QUEST_COMPLETEand
QUEST_FINISHEDevents);otherwisemayreturnzerooravaluefromthemost
recently displayed quest.
Returns:
honor—Thehonorpointstobeawarded(number)
GetRewardMoney
Returns the amount of money awarded whencompleting a quest.
money= GetRewardMoney()
Only valid whenthe questgiver UIisshowing the accept/decline or
completionstages of aquest dialog (betweentheQUEST_DETAIL and
QUEST_FINISHEDevents,orbetweenthe QUEST_COMPLETEand
QUEST_FINISHEDevents);otherwisemayreturnzerooravaluefromthemost
recently displayed quest.
Returns:
money—Theamountofmoneytobeawarded(incopper)(number)
GetRewardSpell
Returns information about aspell awarded when completing a quest.
texture,name,isTradeskillSpell,isSpellLearned =GetRewardSpell()
Only valid whenthe questgiver UIisshowing the accept/decline or
completionstages of aquest dialog (betweentheQUEST_DETAIL and
QUEST_FINISHEDevents,orbetweenthe QUEST_COMPLETEand
QUEST_FINISHEDevents);otherwisemayreturnzeroorvaluesfromthemost
recently displayed quest.
If bothisTradeskillSpell andisSpellLearned arenil, the reward isa
spellcast upon the player.
Chapter 27
API Reference
785
Returns:
texture—Pathtothespell’sicontexture(string)
name—Nameofthespell(string)
isTradeskillSpell1ifthespellisatradeskillrecipe;otherwise nil(1nil)
isSpellLearned1iftherewardteachestheplayeranewspell;otherwise nil
(1nil)
GetRewardTalents
Returnsthe talent points awardedwhen completing aquest.
talents=GetRewardTalents()
Only valid whenthe questgiver UIis showing the accept/decline or
completionstages of aquest dialog (between theQUEST_DETAIL andQUEST
_FINISHEDevents,orbetweenthe QUEST_COMPLETEand QUEST_FINISHED
events); otherwise may return zero or a value from the most recently displayed
quest.
(Very few questsaward talent points; currently thisfunctionality isonly used
withinthe DeathKnight starting experience.)
Returns:
talents—Thetalentpointstobeawarded(number)
GetRewardText
Returnsquestgiver dialog to be displayedwhen completing a quest.
text =GetRewardText()
Only valid whenthe questgiver UIis showing the completion stage of aquest
dialog (betweentheQUEST_COMPLETE andQUEST_FINISHED events);
otherwise may returnthe empty string or avalue from the most recently
displayedquest.
Returns:
text—Texttobedisplayedforthequestcompletiondialog(string)
GetRewardTitle
Returnsthe title awardedwhen completing aquest.
title= GetRewardTitle()
Only valid whenthe questgiver UIis showing the accept/decline or
completionstages of aquest dialog (between theQUEST_DETAIL and
QUEST_FINISHEDevents,orbetweenthe QUEST_COMPLETEand QUEST
_FINISHEDevents);otherwisemayreturnniloravaluefromthemostrecently
displayedquest.
Returns:
title—Thetitletobeawarded,ornilifthequestdoesnotrewardatitle
(string)
GetRuneCooldown
Returnscooldown information about one of the player’s rune resources.
start, duration,runeReady =GetRuneCooldown(slot)
786
Part IV
Reference
Note the placement of runes3-4(normally Unholy) and 5-6(normally Frost)
are reversed inthe default UI. Also note the behavior of returned valuesdiffers
slightly from most other GetXYZCooldown-style functions.
Arguments:
slot—Indexofaruneslot,aspositionedinthedefaultUI:(number)
1—Leftmost
2—Secondfromleft
3—Fifthfromleft(secondfromright)
4—Sixthfromleft(rightmost)
5—Thirdfromleft
6—Fourthfromleft
Returns:
start—ThevalueofGetTime()atthemomentthecooldownbegan,or0ifthe
rune is ready (number)
duration—Thelengthofthecooldown(regardlessofwhethertheruneiscur-
rently cooling down) (number
)
runeReadyTrueiftherunecanbeused;falseiftheruneiscoolingdown
(boolean)
GetRuneCount
Returns the number of available rune resources in one of the player’s rune
slots.
count= GetRuneCount(slot)
Returns 1 if arune isready and 0if a rune ison cooldown.
Arguments:
slot—Indexofaruneslot,aspositionedinthedefaultUI:(number)
1—Leftmost
2—Secondfromleft
3—Fifthfromleft(secondfromright)
4—Sixthfromleft(rightmost)
5—Thirdfromleft
6—Fourthfromleft
Returns:
count—Numberofavailablerunesintheslot(number)
GetRuneType
Returns the type of one of the player’s rune resources.
runeType= GetRuneType(slot)
Note the placement of runes3-4(normally Unholy) and 5-6(normally Frost)
are reversed inthe default UI.
Arguments:
slot—Indexofaruneslot,aspositionedinthedefaultUI:(number)
1—Leftmost
2—Secondfromleft
3—Fifthfromleft(secondfromright)
4—Sixthfromleft(rightmost)
5—Thirdfromleft
6—Fourthfromleft
Chapter 27
API Reference
787
Returns:
runeType—Typeoftherune(number)
1—Bloodrune
2—Unholyrune
3—Frostrune
4—Deathrune
GetRunningMacro
Returnsthe indexof the currently running macro.
index= GetRunningMacro()
Returns:
index—Indexofthecurrentlyrunningmacro,ornilifnomacroisrunning
(number, macroID)
GetRunningMacroButton
Returnsthe mouse buttonthat was used to activate the running macro.
button =GetRunningMacroButton()
Returns:
button—Nameofthemousebuttonusedtoactivatethemacro;always
‘‘LeftButton’’ if the macro was triggered by a key binding (string)
Button4
Button5
LeftButton
MiddleButton
RightButton
GetSavedInstanceInfo
Returnsinformationona specific instance to whichthe player is saved.
instanceName,instanceID,instanceReset,instanceDifficulty,locked,i
extended, instanceIDMostSig, isRaid,maxPlayers, difficultyName=i
GetSavedInstanceInfo(index)
Arguments:
index—Indexofasavedinstance(between1and GetNumSavedInstances())
(number)
Returns:
instanceName—Nameoftheinstance(string)
instanceID—Uniqueidentifierofthesavedinstance(commonlyknownasa
RaidID) (number)
instanceReset—Approximatenumberofsecondsremaininguntiltheinstance
resets (number)
instanceDifficulty—Difficultylevelofthesavedinstance(number)
1—Normal(’10Player’ifinstanceisaraid)
2—Heroic(’25Player’ifinstanceisaraid)
3—10 PlayerHeroic
4—25 PlayerHeroic
788
Part IV
Reference
locked— (boolean)
extendedtrueiftheresettimehasbeenextendedpastitsnormaltime;other-
wisefalse (boolean)
instanceIDMostSig— (number)
isRaid— (boolean)
maxPlayers—Numberofplayersallowed(number)
difficultyName—Astringrepresentingthedifficultyofthegiveninstance.
(string)
GetScreenHeight
Returns the height of the screen for UIlayout purposes.
height= GetScreenHeight()
Measurementsfor layout are affected by the UIScale setting (i.e. theuiscale
CVar) and may not matchactual screenpixels.
Returns:
height—Heightofthescreeninlayoutpixels(number)
GetScreenResolutions
Returns a list of available screenresolutions.
...= GetScreenResolutions()
Returns:
...—Alistofstrings,eachadescriptionofthedimensionsofanavail-
able screen resolution (e.g.“800x600“,“1024x768“) (string)
Example:
-- Print allavailable screenresolutions:
print(“Availableresolutions:“, string.join(“, “,i
GetScreenResolutions()))
GetScreenWidth
Returns the widthof the screen for UIlayout purposes.
screenWidth= GetScreenWidth()
Measurementsfor layout are affected by the UIScale setting (i.e. theuiscale
CVar) and may not matchactual screenpixels.
Returns:
screenWidth—Widthofthescreeninlayoutpixels(number)
GetScriptCPUUsage
Returns the total CPUtime usedby the scripting system.
usage= GetScriptCPUUsage()
Only returns valid data if thescriptProfile CVar is set to 1; returns 0
otherwise.
Documents you may be interested
Documents you may be interested