c# pdf viewer open source : Move pages in pdf reader software Library cloud windows .net azure class World%20of%20Warcraft%20Programming%20(2nd%20Edition)84-part1887

Chapter 27
API Reference
799
Arguments:
id—Indexofaspellinthespellbook(number,spellbookID)
bookType—Typeofspellbook(string)
pet—The pet’sspellbook
spell—Theplayer’sspellbook
Returns:
spellName—Localizednameofthespell(string)
subSpellName—Secondarytextassociatedwiththespell(e.g.‘‘Rank5’’,‘‘Racial
Passive’’, ‘‘Artisan’’) (string)
GetSpellPenetration
Returnsthe amount of enemy magicresistance ignored due to the player’s
Spell Penetration Rating.
penetration= GetSpellPenetration()
Returns:
penetration—Amountofenemymagicresistanceignoredduetotheplayer’s
Spell Penetration Rating (number)
GetSpellTabInfo
Returnsinformation about a tab inthe spellbook.
name,texture,offset,numSpells =GetSpellTabInfo(index)
Arguments:
index—Indexofaspellbooktab(between1and GetNumSpellTabs())
(number)
Returns:
name—Nameofthespellbooktab(string)
texture—Pathtoanicontextureforthespellbooktab(string)
offsetspellbookIDofthefirstspelltobelistedunderthetab(number)
numSpells—Numberofspellslistedunderthetab(number)
Example:
--PrintthevalidspellIds for each tab
localnumTabs= GetNumSpellTabs()
fori=1,numTabs do
localname,texture,offset,numSpells=GetSpellTabInfo(i)
print(“Spelltab\““ .. name..“\“contains spellsfrom id “i
..offset+ 1 ..“ through “..offset +numSpells)
end
GetSpellTexture
Returnsthe icon texture path for aspell.
texture=GetSpellTexture(index,“bookType“)orGetSpellTexture(“name“)
Arguments:
index—Indexofaspellinthespellbook(number,spellbookID)
bookType—Typeofspellbook(string)
Move 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
pdf reverse page order; reorder pdf pages reader
Move 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
rearrange pages in pdf online; how to change page order in pdf acrobat
800
Part IV
Reference
pet—Thepet’sspellbook
spell—Theplayer’sspellbook
name—Name of aspell(string)
Returns:
texture—Pathtoanicontextureforthespell(string)
GetStablePetFoodTypes
Returns the types of food that astabled pet willeat.
...= GetStablePetFoodTypes(index)
Arguments:
index—Indexofastableslot(number)
0—Active pet
1to NUM_PET_STABLE_SLOTS—Astabledpet
Returns:
...—Alistofstrings,eachthelocalizednameofafoodtypethepetwilleat
(list)
GetStablePetInfo
Returns information about astabled pet.
icon,name,level,family,talent =GetStablePetInfo(index)
Arguments:
index—Indexofastableslot(number)
0—Active pet
1to NUM_PET_STABLE_SLOTS—Astableslot
Returns:
icon—Pathtoanicontextureforthepet(string)
name—Nameof thepet(string)
level—Levelofthepet(number)
family—Localizednameofthepet’screaturefamily(e.g.Cat,Bear,Chimaera)
(string)
talent—Localizednameofthepet’stalenttree(e.g.Ferocity,Tenacity,Cun-
ning) (string)
GetStatistic
Returns data for astatistic.
info =GetStatistic(id)
Arguments:
id—ThenumericIDofastatistic(number)
Returns:
info—Thedataforthestatistic,or‘‘--’’ifnonehasyetbeenrecordedforit
(string)
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
rearrange pdf pages reader; pdf page order reverse
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 rearrange pages in pdf using reader; how to reorder pdf pages
Chapter 27
API Reference
801
GetStatisticsCategoryList
Returnsa list of all statistic categories.
categories= GetStatisticsCategoryList()
Returns:
categories—AlistofstatisticcategoryIDs(table)
GetSubZoneText
Returnsthe name of the minor area inwhich the player islocated.
subzoneText= GetSubZoneText()
Subzonesare named regionswithina larger zone or instance: e.g. the Valley of
TrialsinDurotar, the Terrace of Light inShattrath City, or the NjornStair in
Utgarde Keep.
Returns:
subzoneText—Nameofthecurrentsubzone(string)
GetSuggestedGroupNum
Returnsthe suggested groupsize for attempting the quest currently
offered by a questgiver.
suggestedGroup =GetSuggestedGroupNum()
Usable following theQUEST_DETAIL event inwhichthe questgiver presents
the player withthe detailsof a quest and the option to accept or decline.
Returns:
suggestedGroup—Suggestedgroupsizeforattemptingthequestcurrently
offered by a questgiver (number)
GetSummonConfirmAreaName
Returnsthe destination areaof an offeredsummons.
area =GetSummonConfirmAreaName()
The name returnedis generally that of the subzone in whichthe summoner
performed the spell.
Usable between whentheCONFIRM_SUMMON event fires(due to a summoning
spell cast by another player) and whenthe value returned by
GetSummonConfirmTimeLeft()reacheszero.
Returns:
area—Nameofthelocationtowhichtheplayerwillbeteleporteduponaccept-
ing the summons (string)
GetSummonConfirmSummoner
Returnsthe name of the unit offering asummonsto the player.
text =GetSummonConfirmSummoner()
Usable between whentheCONFIRM_SUMMON event fires(due to a summoning
spell cast by another player) and whenthe value returned by
GetSummonConfirmTimeLeft()reacheszero.
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.
pdf change page order online; how to reorder pdf pages in
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Barcoding. XImage.Barcode Reader. XImage.Barcode Generator. Others. RasterEdge XDoc.PDF allows you to easily move PDF document pages position, including
move pages within pdf; how to reverse page order in pdf
802
Part IV
Reference
Returns:
text—Nameofthesummoningunit(string)
GetSummonConfirmTimeLeft
Returns the amount of time remaining before anofferedsummonsexpires.
timeleft= GetSummonConfirmTimeLeft()
Returns 0 if no summons iscurrently available.
Returns:
timeleft—Timeremaininguntiltheofferedsummonscannolongerbe
accepted (in seconds) (number)
GetSummonFriendCooldown
Returns cooldown informationabout the player’s Summon Friend ability.
start,duration =GetSummonFriendCooldown()
Returns:
start—ThevalueofGetTime()atthemomentthecooldownbegan,or0ifthe
ability is ready (number)
duration—Thelengthofthecooldown,or0iftheabilityisready(number)
GetTabardCreationCost
Returns the cost to create a guildtabard.
cost =GetTabardCreationCost()
Only returns valid data if the player is interacting with atabard designer (i.e.
betweentheOPEN_TABARD_FRAME andCLOSE_TABARD_FRAME events).
Returns:
cost—Thecostofcreatingaguildtabard,incopper(number)
GetTalentInfo
Returns information about atalent option.
name,iconTexture, tier, column, rank,maxRank, isExceptional,i
meetsPrereq, previewRank,meetsPreviewPrereq=i
GetTalentInfo(tabIndex,talentIndex,inspect, pet,talentGroup)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
talentIndex—Indexofatalentoption(between1and GetNumTalents())
(number)
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1—Primary Talents
C# PDF insert text Library: insert text into PDF content in C#.net
to PDF in preview without adobe reader installed in int pageIndex = 0; // Move cursor to (400F outputFilePath = Program.RootPath + "\\" output.pdf"; doc.Save
reorder pages in pdf file; reordering pdf pages
VB.NET PDF insert text library: insert text into PDF content in vb
PDF in preview without adobe reader component installed. Dim pageIndex As Integer = 0 ' Move cursor to String = Program.RootPath + "\\" output.pdf" doc.Save
rearrange pages in pdf document; how to reorder pages in pdf file
Chapter 27
API Reference
803
2—Secondary Talents
nil—Currentlyactivetalents
Returns:
name—Nameofthetalent(string)
iconTexture—Theicontextureofthetalent.(string)
tier—Rowinwhichthetalentshouldbedisplayed(1=top)(number)
column—Columninwhichthetalentshouldbedisplayed(1=left)(number)
rank—Numberofpointsspentinthetalent(number)
maxRank—Maximumnumberofpointsthatcanbespentinthetalent(number)
isExceptional1ifthetalentconfersanewability(spell);otherwise nil
(1nil)
meetsPrereq1iftheprerequisitestolearningthetalenthavebeenmet;other-
wisenil (1nil)
previewRank—Numberofpointsspentinthetalentinpreviewmode(number)
meetsPreviewPrereq1iftheprerequisitestolearningthetalenthavebeen
met in preview mode; otherwisenil (1nil)
GetTalentLink
Returnsa hyperlink for atalent.
link =GetTalentLink(tabIndex,talentIndex,inspect,pet, talentGroup)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
talentIndex—Indexofatalentoption(between1and GetNumTalents())
(number)
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1—PrimaryTalents
2—Secondary Talents
nil—Currentlyactivetalents
Returns:
link—Ahyperlinkrepresentingthetalentandthenumberofpointsspentinit
(string, hyperlink)
GetTalentPrereqs
Returnsinformation about prerequisites to learning a talent.
tier,column,isLearnable, isPreviewLearnable,...=i
GetTalentPrereqs(tabIndex,talentIndex, inspect,pet, talentGroup)
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.
reorder pdf pages; change page order in pdf file
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Rapidly and multiple PDF document (pages) creation and edit methods file formats; merge, append, and split PDF files; insert, delete, move, rotate, copy
reorder pdf page; change page order pdf preview
804
Part IV
Reference
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
talentIndex—Indexofatalentoption(between1and GetNumTalents())
(number)
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1—Primary Talents
2—Secondary Talents
nil—Currentlyactivetalents
Returns:
tier—Rowinwhichthetalent’sprerequisiteisdisplayed(1=top)(number)
column—Columninwhichthetalent’sprerequisiteisdisplayed(1=left)
(number)
isLearnable1ifthetalentislearnable;otherwise nil(1nil)
isPreviewLearnable1ifthetalentislearnableinpreviewmode;otherwise
nil (1nil)
...—Additionalsetsoftier, column, isLearnable, isPreviewLearnable
values for each prerequisite to learning the talent (list)
GetTalentTabInfo
Returns information about atalent tab.
name,icon,points, background,previewPoints=i
GetTalentTabInfo(tabIndex,inspect,pet, talentGroup)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1—Primary Talents
2—Secondary Talents
nil—Currentlyactivetalents
Returns:
name—Nameofthetalenttab(string)
icon—Pathtoanicontextureforthetalenttab(string)
Chapter 27
API Reference
805
points—Numberofpointsspentinthetalenttab(number)
background—Pathtoabackgroundtextureforthetalenttab(string)
previewPoints—Numberofpointsspentinthetalenttabinpreviewmode
(number)
GetTargetTradeMoney
Returnsthe amount of money offered for trade by the target.
amount =GetTargetTradeMoney()
Returns:
amount—Amountofmoneyofferedfortradebythetarget(incopper)
(number)
GetTaxiBenchmarkMode
Returnswhether flight pathbenchmark mode isenabled.
isBenchmark= GetTaxiBenchmarkMode()
Returns:
isBenchmark1iftaxibenchmarkmodeisenabled;otherwise nil(1nil)
GetTerrainMip
Returnsthe level of terraindetail displayed.
terrainDetail= GetTerrainMip()
Correspondsto the ‘‘Terrain Blending’’slider in the default UI’sVideo Options
pane.
Returns:
terrainDetail—Levelofterraindetaildisplayed(number)
0—Low detail
1—High detail
GetText
Returnsa localized string according to givenparameters.
text =GetText(“token“[,gender[,ordinal]])
Appliesto any global variable whose name fitsa standard format: for example,
GetText(“foo“)returnsthevalueoftheglobalvariable foo(ifitexists),and
GetText(“foo“, 3)returnsthevalueof foo_FEMALE(orifitdoesnotexist,
the value offoo). Causes aLuaerror if the givenvariable does not exists(or is
nil).
Arguments:
token—Basenameofalocalizedstringtoken(string)
gender(optional)—Genderofthestring’ssubject(asreturnedby UnitSex())
(number)
ordinal(optional)—Currentlyunused(number)
Returns:
text—Thelocalizedstringaccordingtothegivenparameters(string)
806
Part IV
Reference
Example:
GetText(“FACTION_STANDING_LABEL1“)
-- returns the valueof “FACTION_STANDING_LABEL1“
-- (“Hated“on enUS clients)
GetText(“FACTION_STANDING_LABEL1“,3)
-- returns the valueof “FACTION_STANDING_LABEL1_FEMALE“
-- (“Hated“on enUS clients, butdistinctfrom themale formin
-- certain other locales)
GetThreatStatusColor
Returns color valuesfor agiventhreat status.
red, green,blue =GetThreatStatusColor(status)
Color component values are floating point numbersbetween0 and 1, with 1
representing full intensity.
Arguments:
status—Athreatstatuscategory,asreturnedbyUnitThreatSituationor
UnitDetailedThreatSituation(number)
Returns:
red—Redcomponentofthecolor(number)
green—Greencomponentofthecolor(number)
blue—Bluecomponentofthecolor(number)
GetTime
Returns a number representing the current time (withmillisecond precision).
time =GetTime()
Unlike withtime(), the number returned by this function has no meaning of
itsownand may not be comparable acrossclients; however, since it also
provides higher resolution it canbe compared against itself for high-precision
time measurements.
Returns:
time—Anumberthatrepresentsthecurrenttimeinseconds(withmillisecond
precision) (number)
GetTitleName
Returns the text of an available player title.
titleName= GetTitleName(titleIndex)
Arguments:
titleIndex—Indexofatitleavailabletotheplayer(between1and
GetNumTitles())(integer)
Returns:
titleName—Thetextofthetitle(string)
Example:
-- Print allavailable titles
Chapter 27
API Reference
807
fori=1,GetNumTitles()do
print(GetTitleName(i))
end
GetTitleText
Returnsthe title text for the quest presented by a questgiver.
text =GetTitleText()
Only valid following theQUEST_DETAIL,QUEST_PROGRESS, or
QUEST_COMPLETEevents;otherwisemayreturnniloravaluefromthemost
recently displayedquest.
Returns:
text—Titletextforthequest(string)
GetTotalAchievementPoints
Returnsthe player’stotal achievement points earned.
points =GetTotalAchievementPoints()
Returns:
points—Totalnumberofachievementpointsearnedbytheplayer(number)
GetTotemInfo
Returnsinformation ona currently active totem (or ghoul).
haveTotem,name,startTime,duration, icon= GetTotemInfo(slot)
Totem functions are also used for ghouls summoned by a DeathKnight’sRaise
Dead ability (if the ghoulisnot made a controllable pet by the Master of
Ghouls talent).
Arguments:
slot—Whichtotemtoquery(number)
1—Fire(orDeathKnight’sghoul)
2—Earth
3—Water
4—Air
Returns:
haveTotemTrueifatotemofthegiventypeisactive(boolean)
name—Thenameofthetotem(string)
startTime—ThevalueofGetTime()whenthetotemwascreated(number)
duration—Thetotaldurationthetotemwilllast(inseconds)(number)
icon—Pathtoatexturetouseasthetotem’sicon(string)
GetTotemTimeLeft
Returnsthe time remaining before atotem (or ghoul) automatically disappears.
seconds=GetTotemTimeLeft(slot)
UsingGetTime() and the third and fourthreturns (startTime and
duration)of GetTotemInfo()insteadofthisfunctionisrecommendedif
frequent updates are needed.
808
Part IV
Reference
Totem functionsare also used for ghoulssummoned by aDeathKnight’s Raise
Dead ability (if the ghoul isnot made a controllable pet by the Master of
Ghouls talent).
Arguments:
slot—Whichtotemtoquery(number)
1—Fire(orDeathKnight’sghoul)
2—Earth
3—Water
4—Air
Returns:
seconds—Timeremainingbeforethetotem/ghoulisautomaticallydestroyed
(number)
GetTrackedAchievements
Returns numeric IDsof the achievementsflagged for display inthe objectives
tracker UI.
...= GetTrackedAchievements()
Returns:
...—ListofnumericIDsfortheachievementsbeingtracked(list)
GetTrackingInfo
Returns information about agiven tracking option.
name,texture,active,category= GetTrackingInfo(index)
Arguments:
index—Indexofatrackingabilitytoquery(between1and GetNumTracking
Types()) (number)
Returns:
name—Localizednameofthetrackingability(string)
texture—Pathtoanicontextureforthetrackingability(string)
active1ifthetrackingabiltyisactive;otherwise nil(1nil)
category—Categoryofthetrackingability;usedinthedefaultUI
to determine whether to strip the border from the ability’s icon tex-
ture, and also indicates when the ability can be used: (string)
other—Abilityisavailabletoallplayersandcanbeusedatanytime
spell—Abilityisaspellfromtheplayer’sspellbook;usingitmaybesubject
to spell casting restrictions
GetTrackingTexture
Returns the texture of the active tracking ability.
texture =GetTrackingTexture()
Returns ‘‘Interface\Minimap\Tracking\None’’if no tracking ability is active.
Returns:
texture—Pathtoanicontexturefortheactivetrackingability(string)
Documents you may be interested
Documents you may be interested