c# pdf viewer open source : Change page order pdf SDK control API wpf azure winforms sharepoint World%20of%20Warcraft%20Programming%20(2nd%20Edition)76-part1878

Chapter 27
API Reference
719
texture—Thepathtothetexturetobedisplayedwhenthisslotisempty
(string)
checkRelic1iftheslotmightbetherelicslot;otherwise nil.Theranged
slot token is re-used for the relic slot; if this return is 1,UnitHasRelicSlot
should be used to determine how the slot should be displayed. (1nil)
GetItemCooldown
Returnscooldown information about anarbitrary item.
start, duration,enable =GetItemCooldown(itemID)ori
GetItemCooldown(“itemName“)orGetItemCooldown(“itemLink“)
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string
)
Returns:
start—ThevalueofGetTime()atthemomentthecooldownbegan,or0ifthe
item is ready (number)
duration—Thelengthofthecooldown,or0iftheitemisready(number)
enable1ifaCooldownUIelementshouldbeusedtodisplaythecooldown,
otherwise 0. (Does not always correlate with whether the item is ready.)
(number)
GetItemCount
Returnsinformationabout how many of a givenitem the player has or on
remaining item charges.
itemCount =GetItemCount(itemId,includeBank, includeCharges)ori
GetItemCount(“itemName“,includeBank,includeCharges)ori
GetItemCount(“itemLink“,includeBank,includeCharges)
When the third argumentincludeCharges is true, the returnednumber
indicatesthe total number of remaining chargesfor the item instead of how
many of the item you have; e.g. if youhave 3 WizardOilsand one of them has
been used twice, the returnedvalue will be 13.
Arguments:
itemId—Anitemid(number)
itemName—Anitemname(string)
itemLink—An itemlink(string)
includeBanktruetoincludeitemsinthebankinthereturnedcount,other-
wisefalse (boolean)
includeChargestruetocountchargesforapplicableitems,otherwise false
(boolean)
Returns:
itemCount—Thenumberofthegivenitemtheplayerhasinpossession(possi-
bly including items inthe bank), or the total number of charges on those items
(number)
Change page order pdf - 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 rearrange pages in pdf using reader; reorder pages in pdf reader
Change page order pdf - 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 pdf pages reader; pdf reverse page order
720
Part IV
Reference
Example:
_, link =GetItemInfo(“Hearthstone“)
GetItemCount(link)
-- nearlyalways returns1 formostplayers
GetItemCount(34722,true)- GetItemCount(34722)
-- returns numberof HeavyFrostweaveBandagesintheplayer’s
-- bank (notcountingthoseonhand)
GetItemCount(“DrumsofSpeed“, nil, true)
-- returnof99couldindicateplayer has twodrumsininventory,
-- oneofwhichhasbeenused onlyonce
GetItemFamily
Returns information about special bag types that canhold a given item.
bagType =GetItemFamily(itemID)orGetItemFamily(“itemName“) ori
GetItemFamily(“itemLink“)
The meaning ofbagType varies depending on the item:
If the item is a container,bagType indicates which kinds of itemsthe con-
tainer islimited to holding; abagType of 0 indicatesthe container can hold
any kind of item.
If the item is not a container,bagType indicates which kinds of
specialty containers can hold the item; abagType of 0 indicates
the item can only be put in general-purpose containers.
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
Returns:
bagType—BitwiseORofbagtypeflags:(number,bitfield)
0x0001—Quiver
0x0002—AmmoPouch
0x0004—SoulBag
0x0008—LeatherworkingBag
0x0010—InscriptionBag
0x0020—HerbBag
0x0040—EnchantingBag
0x0080—EngineeringBag
0x0100—Keyring
0x0200—GemBag
0x0400—MiningBag
0x0800—Unused
0x1000—VanityPets
Example:
functionCanGoInBag(item,bag)
--Get the item’sfamily
localitemFamily= GetItemFamily(item)
--Ifthe itemisa container, thentheitemFamilyshould be 0
VB.NET Word: Change Word Page Order & Sort Word Document Pages
Note: if you are trying to change the order of a you want to see other VB.NET Word document editing controls, please read this Word reading page which has
how to change page order in pdf document; change page order pdf reader
C# Word - Process Word Document in C#
various Word document processing implementations using C# demo codes, such as add or delete Word document page, change Word document pages order, merge or
change page order in pdf file; how to rearrange pages in a pdf reader
Chapter 27
API Reference
721
local equipSlot= select(9,GetItemInfo(item))
if equipSlot==“INVTYPE_BAG“then
itemFamily= 0
end
-- Get thebag’sfamily
local bagFamily= select(2,GetContainerNumFreeSlots(bag))
returnbagFamily ==0 or bit.band(itemFamily,bagFamily) >0
end
GetItemGem
Returnsinformation about gems socketed in an item.
name,link =GetItemGem(itemID,index) ori
GetItemGem(“itemName“, index)or GetItemGem(“itemLink“,index)
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
index—Indexofasocketontheitem(number)
Returns:
name—Nameofthegeminthesocket(string)
link—Ahyperlinkforthegeminthesocket(string,hyperlink)
GetItemIcon
Returnsthe pathto anicon texture for the item.
texture=GetItemIcon(itemID)or GetItemIcon(“itemName“) ori
GetItemIcon(“itemLink“)
UnlikeGetItemInfo, this function always returns icons for validitems, even if
the item isnot in the client’scache.
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
Returns:
texture—Pathtoanicontexturefortheitem(string)
GetItemInfo
Returnsinformation about an item, by name, link or id.
name,link,quality,iLevel,reqLevel, class,subclass, maxStack,i
equipSlot,texture,vendorPrice =GetItemInfo(itemID)ori
GetItemInfo(“itemName“) or GetItemInfo(“itemLink“)
Only returns information for itemsin the WoWclient’s local cache; returnsnil
for items the client hasnot seen.
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
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; C#
how to reorder pages in pdf reader; how to reorder pages in pdf online
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
reordering pages in pdf document; reorder pages in pdf file
722
Part IV
Reference
Arguments:
itemID—Anitem’sID(number,itemID)
itemName—Anitem’sname.Thisvaluewillonlyworkiftheplayerhasthe
item in their bags. (string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemString
portion of an item link (string)
Returns:
name—Nameoftheitem(string)
link—Ahyperlinkfortheitem(string,hyperlink)
quality—Quality(rarity)leveloftheitem.(number,itemQuality)
iLevel—Internalleveloftheitem;(number)
reqLevel—Minimumcharacterlevelrequiredtouseorequiptheitem
(number)
class—Localizednameoftheitem’sclass/type(asinthelistreturnedby
GetAuctionItemClasses())(string)
subclass—Localizednameoftheitem’ssubclass/subtype(asinthe
list returned byGetAuctionItemSubClasses()) (string)
maxStack—Maximumstacksizefortheitem(i.e.largestnum-
ber of items that can be held in a single bag slot) (number)
equipSlot—Non-localizedtokenidentifyingtheinventorytypeoftheitem
(as in the list returned byGetAuctionItemInvTypes()); name of a global
variable containing the localized name of the inventory type (string)
texture—Pathtoanicontexturefortheitem(string)
vendorPrice—PriceanNPCvendorwillpaytobuytheitem
from the player. This value was added in patch 3.2. (number)
GetItemQualityColor
Returns color values for use indisplaying itemsof a givenquality.
redComponent,greenComponent,blueComponent,hexColor=i
GetItemQualityColor(quality)
Color componentsare floating-point values between0(no component) and 1
(fullintensity of the component).
Arguments:
quality—Annumericitemquality(rarity)value(number,itemQuality)
Returns:
redComponent—Redcomponentofthecolor(number)
greenComponent—Greencomponentofthecolor(number)
blueComponent—Bluecomponentofthecolor(number)
hexColor—PrefixofacolorStringforformattingtextwiththecolor
(string)
Example:
GetItemQualityColor(4)
-- returns (approximately)0.6392,0.2078,0,9333, “|cffa335ee“
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
reverse page order pdf; move pdf pages online
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
VB.NET PDF - How to Modify PDF Document Page in VB.NET. VB.NET Guide for Processing PDF Document Page and Sorting PDF Pages Order.
pdf change page order online; move pages in pdf online
Chapter 27
API Reference
723
GetItemSpell
Returnsinformationabout the spell cast by an item’s ‘‘Use:’’effect.
name,rank =GetItemSpell(itemID)or GetItemSpell(“itemName“)ori
GetItemSpell(“itemLink“)
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
Returns:
name—Nameofthespell(string)
rank—Secondarytextassociatedwiththespell(oftenarank,e.g.‘‘Rank7’’);or
the empty string (““) if not applicable (string)
GetItemStatDelta
Returnsa summary of the difference instat bonusesbetweentwo items.
statTable =GetItemStatDelta(“item1Link“,“item2Link“ [, returnTable])
Keys inthe table returned are the names of globalvariablescontaining the
localized names of the stats (e.g._G[“ITEM_MOD_SPIRIT_SHORT“]=
“Spirit“, _G[“ITEM_MOD_HIT_RATING_SHORT“] = “Hit Rating“).
The optional argumentreturnTable allowsfor performance optimization in
caseswhere this function is expected to be called repeatedly. Rather than
creating newtableseach time the functioniscalled (eventually requiring
garbage collection), an existing table canbe recycled. (Note, however, that this
functiondoesnot clear the table’scontents; usewipe() first to guarantee
consistent results.)
Arguments:
item1Link—Anitem’shyperlink,oranystringcontainingtheitemString
portion of an item link (string, hyperlink)
item2Link—Anotheritem’shyperlink,oranystringcontaining
theitemString portion of an item link (string, hyperlink)
returnTable(optional)—Referencetoatabletobefilledwithreturnvalues
(table)
Returns:
statTable—Atablelistingthedifferenceinstatbonusesprovided
by the items (i.e. ifitem1Link is equipped, what changes to the
player’s stats would occur if it is replaced byitem2Link) (table)
Example:
--linksto some early death knightgear forillustratingtheexample...
local_,ring1Link =GetItemInfo(“Valanar’s SignetRing“)
local_,ring2Link =GetItemInfo(“Keleseth’sSignetRing“)
localstatDelta =GetItemStatDelta(ring1Link,ring2Link)
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
C# users to reorder and rearrange multi-page Tiff file Tiff image management library, you can easily change and move pages or make a totally new order for all
how to reorder pdf pages in reader; how to move pages in pdf acrobat
VB.NET PDF Password Library: add, remove, edit PDF file password
On this page, we will illustrate how to protect PDF document via Change PDF original password. In order to run the sample code, the following steps would be
pdf reorder pages online; move pages within pdf
724
Part IV
Reference
forstat,valueinpairs(statDelta)doprint(value,_G[stat]) end
-- prints(approximately,on enUS client):
-- 12CriticalStrike Rating
-- -6Strength
-- -6HitRating
-- 3 Stamina
GetItemStats
Returns a summary of anitem’sstat bonuses.
statTable= GetItemStats(“itemLink“ [, returnTable])
Keys in the table returned are the namesof global variables containing the
localized namesof the stats (e.g._G[“ITEM_MOD_SPIRIT_SHORT“]=
“Spirit“, _G[“ITEM_MOD_HIT_RATING_SHORT“] = “Hit Rating“).
The optional argumentreturnTable allowsfor performance optimization in
cases where thisfunctionis expectedto be called repeatedly. Rather than
creating newtables eachtime the functioniscalled(eventually requiring
garbage collection), an existing table canbe recycled. (Note, however, that this
function doesnot clear the table’scontents; usewipe() first to guarantee
consistent results.)
Arguments:
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string, hyperlink)
returnTable(optional)—Referencetoatabletobefilledwithreturnvalues
(table)
Returns:
statTable—Atablelistingthestatbonusesprovidedbytheitem(table)
Example:
-- links to someearlydeath knightgear for illustrating the example...
local_, swordLink= GetItemInfo(“Greatsword of the Ebon Blade“)
local_, ring1Link= GetItemInfo(“Valanar’sSignet Ring“)
localstats= GetItemStats(swordLink)
forstat,valueinpairs(stats)do print(value,_G[stat])end
-- prints(approximately,on enUS client):
-- 60.5 DamagePer Second
-- 30Strength
-- 12HitRating
-- 24Stamina
-- reusing the table...
GetItemStats(ring1Link,stats)
forstat,valueinpairs(stats)do print(value,_G[stat])end
-- 60.5 DamagePer Second
-- 12Strength
-- 12HitRating
-- 12CriticalStrike Rating
Chapter 27
API Reference
725
-- 18Stamina
--oops,it overwrote the table from before,keepingsome
--of thesword’sstats...
--let’stryagainand makesureit showsjust the ring stats
wipe(stats)
GetItemStats(ring1Link,stats)
forstat,value inpairs(stats)doprint(value, _G[stat])end
-- 12Strength
-- 12CriticalStrike Rating
-- 18Stamina
GetItemUniqueness
Returnsinformationabout uniqueness restrictions for equipping an item.
uniqueFamily,maxEquipped= GetItemUniqueness(itemID)ori
GetItemUniqueness(“itemName“)orGetItemUniqueness(“itemLink“)
Only applies to itemswith‘‘Unique Equipped’’ restrictionsupon how many
similar items canbe equipped; returnsnil for items which for which‘‘Unique’’
restricts how many the player canhave in her possession.
Also returns nil if the querieditem is not currently inthe WoW client’s item
cache.
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’slink(string)
Returns:
uniqueFamily—Thefamilyofitemswithspecialuniquenessrestrictionsto
which the item belongs (number)
maxEquipped—Themaximumnumberofitemsunderthisrestrictionthatcan
be equipped (number)
Example:
GetItemUniqueness(“RigidDragon’s Eye“)
--returns 2, 3ifyour WoWclient has seen thisgem
--up to 3gemsintheJeweler’s Gemsfamily canbeequipped
--at anygiventime
GetItemUniqueness(“RigidStormjewel“)
--returns 6, 1ifyour WoWclient has seen thisgem
--only 1gem inthe Stormjewel familycanbeequippedatany given time
GetItemUniqueness(“Figurine- Ruby Hare“)
--returns -1,1 if yourWoW clienthasseen this item
--only 1Ruby Hare can be equippedat anygiventime
GetKnownSlotFromHighestRankSlot
Returnsthe spellbook slot for the player’s highest knownrank of a spell.
maxRankSlot= GetKnownSlotFromHighestRankSlot(slot)
Arguments:
slot—Spellbookslotindexofaknownspell(number)
726
Part IV
Reference
Returns:
maxRankSlot—Spellbookslotindexofthehighestrankofthatspellknownto
the player (number)
GetLFGPartyResults
Returns information about amember of aparty in Looking for More results.
name,level,class, zone, comment,leader, tank, healer, damage=i
GetLFGPartyResults(type,name,index, partyIndex)
Can be usedwhen the 9threturn(numPartyMembers)fromGetLFGResults()
is1 or greater. The default UI usesthis returnto segregate results into separate
‘‘Individuals’’ and ‘‘Groups’’lists, and this function isused to populate the
group memberstooltip that appears when mousing over a group listing.
Arguments:
type—IndexofanLFGquerytype(inthelistreturnedbyGetLFGTypes())
(number)
name—IndexofanLFGentry(inthelistreturnedbyGetLFGTypeEntries
(type)) (number)
index—IndexofaresultintheLookingforMorelisting(between1and
GetNumLFGResults(type,name))(number)
partyIndex—Indexofapartymember,notcountingthepartyleader(between
1and select(9, GetLFGResults(type,name,index)))(number)
Returns:
name—Nameofthepartymember(string)
level—Partymember’scharacterlevel(string)
class—Localizednameofthepartymember’sclass(string)
zone—Thecharacter’scurrentlocation(string)
comment—Brieftextcommentsuppliedbythecharacter(string)
leaderTrueifthecharacteriswillingtoleadagroup;otherwise false
(boolean)
tankTrueifthecharacteriswillingtotakeontheroleofprotecting
allies by drawing enemy attacks; otherwisefalse
(boolean)
healerTrueifthecharacteriswillingtotakeontheroleofhealingallieswho
take damage; otherwisefalse (boolean)
damageTrueifthecharacteriswillingtotakeontheroleofdamagingene-
mies; otherwisefalse (boolean)
GetLFGResults
Returns information about acharacter in the Looking for More results listing.
name,level,zone,class, criteria1, criteria2, criteria3, comment,i
numPartyMembers,isLFM, classFileName,leader, tank, healer, damage,i
bossKills,talent1,talent2,talent3,isLeader,isAutoJoin,armor,i
damage, healing,meleeCrit,rangedCrit,spellCrit,manaRegen,i
manaCombatRegen,attackPower,agility,maxHealth,maxPower,i
avgGearRating,defense, dodge,block,parry, haste,expertise =i
GetLFGResults(type,name,index)
Chapter 27
API Reference
727
The default UIuses the 9threturn from this function (numPartyMembers) to
segregate resultsinto separate ‘‘Individuals’’and ‘‘Groups’’ listsfor display,
but at the APIlevel these are combined into a single listing.
Arguments:
type—IndexofanLFGquerytype(inthelistreturnedbyGetLFGTypes())
(number)
name—IndexofanLFGentry(inthelistreturnedbyGetLFGTypeEntries
(type)) (number)
index—IndexofaresultintheLookingforMorelisting(between1and
GetNumLFGResults(type,name))(number)
Returns:
name—Nameofthecharacter(string)
level—Thecharacter’s(number)
zone—Thecharacter’scurrentlocation(string)
class—Localizednameofthecharacter’sclass(string)
criteria1—Nameofthecharacter’sfirstLFGobjective(string)
criteria2—Nameofthecharacter’ssecondLFGobjective;nilifnotapplica-
ble (string)
criteria3—Nameofthecharacter’sthirdLFGobjective;nilifnotapplicable
(string)
comment—Brieftextcommentsuppliedbythecharacter(string)
numPartyMembers—Numberofadditionalmembersinthecharacter’sparty
(number)
isLFMtrueiftheplayerislookingformoremembers;otherwise false
(boolean)
classFileName—Non-localizedtokenrepresentingthecharacter’sclass
(string
)
leaderTrueifthecharacteriswillingtoleadagroup;otherwise false
(boolean)
tankTrueifthecharacteriswillingtotakeontheroleofprotecting
allies by drawing enemy attacks; otherwisefalse (boolean)
healerTrueifthecharacteriswillingtotakeontheroleofhealingallieswho
take damage; otherwisefalse (boolean)
damageTrueifthecharacteriswillingtotakeontheroleofdamagingene-
mies; otherwise false (boolean)
bossKills—Thenumberofbosskillstheplayerhas.(number)
talent1—Thenumberoftalentpointsspentintheplayer’sfirsttalenttree.
(number)
talent2—Thenumberoftalentpointsspentintheplayer’ssecondtalenttree.
(number)
talent3—Thenumberoftalentpointsspentintheplayer’sthirdtalenttree.
(number)
728
Part IV
Reference
isLeader—Whetherornottheplayeriswillingtoleadagroup.(boolean)
isAutoJoin—Whetherornottheplayerissettoautomaticallyjoingroups.
(boolean)
armor—Theplayer’sarmorrating.(number)
damage—Theplayer’sdamagerating.(number)
healing—Theplayer’shealingrating.(number)
meleeCrit—Theplayer’smeleecritrating.(number)
rangedCrit—Theplayer’srangedcritrating.(number)
spellCrit—Theplayer’sspellcritrating.(number)
manaRegen—Theplayer’soutofcombatmanaregen.(number)
manaCombatRegen—Theplayer’sin-combatmanaregen.(number)
attackPower—Theplayer’sattackpowerrating.(number)
agility—Theplayer’sagilityrating.(number)
maxHealth—Theplayer’smaximumhealth.(number)
maxPower—Theplayer’smaximumpower.(number)
avgGearRating—Theplayer’saveragegearrating(outof100).(number)
defense—Theplayer’sdefenserating.(number)
dodge—Theplayer’sdodgerating.(number)
block—Theplayer’sblockrating.(number)
parry—Theplayer’sparryrating.(number)
haste—Theplayer’shasterating.(number)
expertise—Theplayer’sexpertiserating.(number)
GetLFGRoles
Returns the group rolesfor whichthe player has signed up inthe LFGsystem.
leader, tank, healer, damage= GetLFGRoles()
Returns:
leaderTrueiftheplayeriswillingtoleadagroup;otherwise false
(boolean)
tankTrueiftheplayeriswillingtotakeontheroleofprotecting
allies by drawing enemy attacks; otherwisefalse (boolean)
healerTrueiftheplayeriswillingtotakeontheroleofhealingallieswho
take damage; otherwisefalse (boolean)
damageTrueiftheplayeriswillingtotakeontheroleofdamagingenemies;
otherwisefalse (boolean)
GetLFGStatusText
Returns information about the player’sstatusinthe LFGauto-join or LFM
auto-fill queues.
isLFG,numCriteria,...= GetLFGStatusText()
Doesnot return useful informationif the player is not queued to automatically
join or fill a group.
Documents you may be interested
Documents you may be interested