c# pdf viewer open source : Change page order pdf acrobat software Library cloud windows .net azure class World%20of%20Warcraft%20Programming%20(2nd%20Edition)85-part1888

Chapter 27
API Reference
809
GetTradePlayerItemInfo
Returnsinformation about an item offered for trade by the player.
name,texture,numItems,quality,isUsable, enchantment=i
GetTradePlayerItemInfo(index)
Arguments:
index—Indexofanitemslotontheplayer’ssideofthetradewindow(between
1and MAX_TRADE_ITEMS)(number)
Returns:
name—Nameoftheitem(string)
texture—Pathtoanicontexturefortheitem(string)
numItems—Numberofstackeditemsintheslot(number)
quality—Quality(rarity)leveloftheitem(number,itemQuality)
isUsable1iftheplayercharactercanuseorequiptheitem;otherwise nil
(1nil)
enchantment—Nameoftheenchantmentbeingappliedtotheitemthrough
trade; otherwisenil (string)
GetTradePlayerItemLink
Returnsa hyperlink for an item offered for trade by the player.
link =GetTradePlayerItemLink(index)
Arguments:
index—Indexofanitemofferedfortradebytheplayer(between1and
MAX_TRADE_ITEMS)(number)
Returns:
link—Ahyperlinkfortheitem(string,hyperlink)
GetTradeSkillCooldown
Returnsthe time remaining ona trade skillrecipe’scooldown.
cooldown= GetTradeSkillCooldown(index)
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
cooldown—Timeremainingbeforetherecipecanbeperformedagain(insec-
onds), ornil if the recipe iscurrently available or has no cooldown(number)
Example:
--Printcooldowns for anyapplicablerecipes
fori=1,GetNumTradeSkills()do
local cooldown=GetTradeSkillCooldown(i)
if cooldown then
localname= GetTradeSkillInfo(i)
print(“Cooldownremaining for“ ..i
name .. “: “..SecondsToTime(cooldown))
end
end
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 rearrange pages in pdf document; how to reverse pages 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
change page order pdf reader; how to reorder pages in pdf reader
810
Part IV
Reference
GetTradeSkillDescription
Returns descriptive text for a tradeskillrecipe.
description= GetTradeSkillDescription(index)
Most recipes that create items don’t provide descriptive text; descriptionsare
more often used for enchants and special recipes suchas inscriptionor
alchemy research.
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
description—Descriptivetextforthetradeskillrecipe,ornilifnotextisasso-
ciated with the recipe (string
)
GetTradeSkillIcon
Returns the iconfor atrade skill recipe.
texturePath= GetTradeSkillIcon(index)
For recipesthat create an item, thisis generally the iconof the item created; for
other recipes (suchas enchants and alchemy/inscriptionresearch) a generic
icon is used.
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
texturePath—Pathtoanicontexturefortherecipe(string)
GetTradeSkillInfo
Returns information about atrade skill header or recipe.
skillName,skillType, numAvailable,isExpanded,serviceType=i
GetTradeSkillInfo(index)
Arguments:
index—Indexofanentryinthetradeskilllist(between1and
GetNumTradeSkills())(number)
Returns:
skillName—Nameoftheentry(string)
skillType—Indicateswhethertheentryisaheaderorrecipeanddifficultyof
recipes (string)
easy—Lowchancefortheplayertogainskillbyperformingtherecipe(dis-
played as green in the default UI)
header—Thisentryisaheaderandnotanactualtradeskillrecipe
medium—Moderatechancefortheplayertogainskillbyper-
forming the recipe (displayed as yellow in the default UI)
optimal—Highchancefortheplayertogainskillbyperformingtherecipe
(displayed as orange in the default UI)
.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 reorder pages; moving pages in pdf
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 move pages around in pdf file; move pages in pdf online
Chapter 27
API Reference
811
trivial—Nochancefortheplayertogainskillbyperformingtherecipe
(displayed as gray in the default UI)
numAvailable—Numberoftimestheplayercanrepeattherecipegivenavail-
able reagents (number)
isExpanded1iftheentryisaheaderandisexpanded;otherwise nil(1nil)
serviceType—Indicateswhattypeofservicetherecipeprovides(items,
enhancements, etc ... ) (string)
Emboss—Appliesanemboss(leatherworkers)
Embroider—Appliesanembroider(tailors)
Enchant—Appliesanenchant(enchanters)
Engrave—Engravesarune(runeforging)
Inscribe—Putsaninscription(scribers)
Modify—Putsasocket(blacksmiths)
Tinker—Putsadevicelikewebbingorflexweave(engineers)
nil—Producesanitem
GetTradeSkillInvSlotFilter
Returnswhether the trade skill listing isfiltered by agiven item
equipment slot.
enabled=GetTradeSkillInvSlotFilter(index)
Arguments:
index—Indexofanitemequipmentslot(inthelistreturnedby
GetTradeSkillInvSlots()),or 0forthe‘‘All’’filter(number)
Returns:
enabled1ifthefilterisenabled;otherwise nil(1nil)
GetTradeSkillInvSlots
Returnsa list of recipe equipment slotsfor the current trade skill.
...= GetTradeSkillInvSlots()
These inventory types correspond to those of the items produced (see
GetItemInfo()and GetAuctionItemInvTypes())andcanbeusedtofilter
the recipe list.
Returns:
...—Alistofstrings,eachthelocalizednameofaninventorytypeapplicableto
the current trade skill listing (list)
GetTradeSkillItemLevelFilter
Returnsthe current settings for filtering the trade skill listing by required level
of items produced.
minLevel, maxLevel =GetTradeSkillItemLevelFilter()
Returns:
minLevel—Lowestrequiredlevelofitemstoshowinthefilteredlist(number)
maxLevel—Highestrequiredlevelofitemstoshowinthefilteredlist(number)
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
rearrange pages in pdf; how to reorder pages in 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.
rearrange pdf pages online; how to rearrange pdf pages
812
Part IV
Reference
GetTradeSkillItemLink
Returns a hyperlink for the item created by a tradeskill recipe.
link =GetTradeSkillItemLink(index)
The tooltipproduced whenresolving the link describes only the item created
by the recipe. For a link whichdescribes the recipe itself (itsreagents and
description), seeGetTradeSkillRecipeLink().
If the recipe doesnot create anitem, thisfunctionreturnsthe same hyperlink as
doesGetTradeSkillRecipeLink() (thoughthe text of the link may differ).
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
link—Ahyperlinkfortheitemcreatedbytherecipe(string)
GetTradeSkillItemNameFilter
Returns the current searchtext for filtering the trade skill listing by name.
text =GetTradeSkillItemNameFilter()
Returns:
text—Texttosearchforinrecipenames,produceditemnamesor
descriptions, or reagents;nil if no search filter is in use (string)
GetTradeSkillLine
Returns information about the current trade skill.
tradeskillName,rank, maxLevel= GetTradeSkillLine()
Returns:
tradeskillName—Nameofthetradeskill(string)
rank—Thecharacter’scurrentrankinthetradeskill(number)
maxLevel—Thecharacter’scurrentmaximumrankinthetradeskill(e.g.300for
acharacter of Artisan status) (number)
GetTradeSkillListLink
Returns a hyperlink to the player’s list of recipesfor the current trade skill.
link =GetTradeSkillListLink()
Returns:
link—Ahyperlinkotherplayerscanresolvetoseetheplayer’sfulllistof
tradeskill recipes (string, hyperlink)
GetTradeSkillNumMade
Returns the number of items created whenperforming a tradeskillrecipe.
minMade,maxMade =GetTradeSkillNumMade(index)
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(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.
pdf reverse page order online; how to rearrange pdf 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
rearrange pdf pages in preview; reordering pages in pdf document
Chapter 27
API Reference
813
Returns:
minMade—Minimumnumberofitemscreatedwhenperformingtherecipe
(number)
maxMade—Maximumnumberofitemscreatedwhenperformingtherecipe
(number)
Example:
--Printanymulti-itemrecipes
localnumSkills =GetNumTradeSkills()
fori=1,numSkills do
localminMade,maxMade= GetTradeSkillNumMade(i)
ifminMade> 1then
local link =GetTradeSkillRecipeLink(i)
if (minMade == maxMade)then
print(link.. “always creates “..minMade.. “items“)
else
print(link.. “randomly createsbetween“ .. minMade..i
“and“..maxMade..“ items“)
end
end
end
GetTradeSkillNumReagents
Returnsthe number of different reagents required for a trade skill recipe.
numReagents= GetTradeSkillNumReagents(index)
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
numReagents—Numberofdifferentreagentsrequiredfortherecipe(number)
GetTradeSkillReagentInfo
Returnsinformation about areagent in atrade skill recipe.
reagentName,reagentTexture, reagentCount, playerReagentCount =i
GetTradeSkillReagentInfo(skillIndex,reagentIndex)
Arguments:
skillIndex—Indexofarecipeinthetradeskilllist(between1and
GetNumTradeSkills())(number)
reagentIndex—Indexofareagentintherecipe(between1and
GetTradeSkillNumReagents())(number)
Returns:
reagentName—Nameofthereagent(string)
reagentTexture—Pathtoanicontextureforthereagent(string)
reagentCount—Quantityofthereagentrequiredtoperformtherecipe
(number)
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
reorder pdf page; move pages in pdf reader
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
pdf rearrange pages; reordering pdf pages
814
Part IV
Reference
playerReagentCount—Quantityofthereagentintheplayer’spossession
(number)
Example:
-- Printsthe reagent(s)required for thefirsttradeskill
-- recipelisted
localskillIndex=GetFirstTradeSkill()
localname =GetTradeSkillInfo(skillIndex)
print(format(“%stakesthe followingreagent(s):“,name))
forreagentIndex=1,GetTradeSkillNumReagents(skillIndex)do
localreagentName,_,reagentCount =i
GetTradeSkillReagentInfo(skillIndex,reagentIndex)
print(format(“ %dx %s“,reagentCount,reagentName))
end
GetTradeSkillReagentItemLink
Returns a hyperlink for areagent ina tradeskill recipe.
link =GetTradeSkillReagentItemLink(skillIndex,reagentIndex)
Arguments:
skillIndex—Indexofarecipeinthetradeskilllist(between1and
GetNumTradeSkills())(number)
reagentIndex—Indexofareagentintherecipe(between1and
GetTradeSkillNumReagents())(number)
Returns:
link—Ahyperlinkforthereagentitem(string,hyperlink)
GetTradeSkillRecipeLink
Returns hyperlink for a tradeskill recipe.
link =GetTradeSkillRecipeLink(index)
The tooltipproduced whenresolving the link describes the recipe itself—its
reagentsand (if present) description—in addition to (if applicable) the item
created. For a link whichonly describesthe created item, seeGetTradeSkill
ItemLink().
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
link—Ahyperlinkforthetradeskillrecipe(string)
GetTradeSkillSelectionIndex
Returns the index of the currently selected trade skill recipe.
index= GetTradeSkillSelectionIndex()
Selectioninthe recipe list isused only for display inthe default UI and hasno
effect onother Trade Skill APIs.
Chapter 27
API Reference
815
Returns:
index—Indexoftheselectedrecipeinthetradeskilllist(between1and
GetNumTradeSkills())(number)
GetTradeSkillSubClassFilter
Returnswhether the trade skill listing isfiltered by agiven item subclass.
enabled=GetTradeSkillSubClassFilter(index)
Arguments:
index—Indexofanitemsubclass(inthelistreturnedbyGetTradeSkill
SubClasses()),or 0forthe‘‘All’’filter(number)
Returns:
enabled1ifthefilterisenabled;otherwise nil(1nil)
GetTradeSkillSubClasses
Returnsa list of recipe subclasses for the current trade skill.
...= GetTradeSkillSubClasses()
These subclasses correspond to those of the items produced (see
GetItemInfo()and GetAuctionItemSubClasses())andcanbeusedto
filter the recipe list.
Returns:
...—Alistofstrings,eachthelocalizednameofanitemorrecipe
subclass applicable to the current trade skill listing (list)
GetTradeSkillTools
Returnsa list of required toolsfor a trade skill recipe.
toolName, hasTool, ...= GetTradeSkillTools(index)
Atool may be anitem (e.g. BlacksmithHammer, Virtuoso Inking Set) the
player must possess, or adescriptionof a generic (e.g. near anAnvil, ina
Moonwell) or specific (e.g. Netherstorm, Emerald Dragonshrine) locationto
which the player must travel inorder to perform the recipe. ThehasTool
return is only validfor the toolsthe player canpossess.
Arguments:
index—Indexofarecipeinthetradeskilllist(between1and GetNumTrade
Skills())(number)
Returns:
toolName—Nameoftherequiredtool(string)
hasTool1ifthetoolisanitemintheplayer’spossession;otherwise nil
(1nil)
...—AnadditionaltoolName, hasToolpairforeachtoolrequired(list)
GetTradeTargetItemInfo
Returnsinformation about an item offered for trade by the target.
name,texture,numItems,quality,isUsable, enchantment=i
GetTradeTargetItemInfo(index)
816
Part IV
Reference
Arguments:
index—Indexofanitemslotontheplayer’ssideofthetradewindow
(between1 andMAX_TRADE_ITEMS) (number)
Returns:
name—Nameoftheitem(string)
texture—Pathtoanicontexturefortheitem(string)
numItems—Numberofstackeditemsintheslot(number)
quality—Quality(rarity)leveloftheitem(number,itemQuality)
isUsable1iftheplayercharactercanuseorequiptheitem;otherwise nil
(1nil)
enchantment—Nameoftheenchantmentbeingappliedtotheitemthrough
trade; otherwisenil
(string)
GetTradeTargetItemLink
Returns a hyperlink for anitem offeredfor trade by the target.
link =GetTradeTargetItemLink(index)
Arguments:
index—Indexofanitemofferedfortradebythetarget(between1and
MAX_TRADE_ITEMS)(number)
Returns:
link—Ahyperlinkfortheitem(string,hyperlink)
GetTradeskillRepeatCount
Returns the number of times the trade skill recipe currently being performed
will repeat.
repeatCount= GetTradeskillRepeatCount()
Returns 1if arecipe isnot being performed; afterDoTradeSkill() iscalled,
returns the number of repetitions queued (which decrementsaseach repetition
isfinished).
Returns:
repeatCount—Numberoftimesthecurrentrecipewillrepeat(number)
GetTrainerGreetingText
Returns the current trainer’s greeting text.
text =GetTrainerGreetingText()
In the default UI, thistext isdisplayed at the topof the trainer window.
May return the empty string or the last used trainer’s greeting text if called
while not interacting withatrainer.
Returns:
text—Greetingtextforthetrainerwithwhomtheplayeriscurrentlyinteract-
ing (string)
GetTrainerSelectionIndex
Returns the indexof the currently selectedtrainer service.
selectionIndex= GetTrainerSelectionIndex()
Chapter 27
API Reference
817
Selectioninthe recipe list isused only for display inthe default UIandhas no
effect on other Trade Skill APIs.
Returns:
selectionIndex—Indexoftheselectedentryinthetrainerservice
listing (between1 andGetNumTrainerServices()) (number)
GetTrainerServiceAbilityReq
Returnsinformationabout an ability required for purchasing atrainer service.
ability,hasReq =GetTrainerServiceAbilityReq(index,abilityIndex)
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
abilityIndex—Indexofoneoftheservice’sabilityrequirements
(between1 andGetTrainerServiceNumAbilityReq(index)) (number)
Returns:
ability—Nameoftherequiredability(string)
hasReq1iftheplayerhastherequiredability;otherwise nil(1nil)
GetTrainerServiceCost
Returnsthe cost to purchase a trainer service.
moneyCost,talentCost,skillCost=GetTrainerServiceCost(index)
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
Returns:
moneyCost—Amountofmoneyrequiredtopurchasetheservice(incopper)
(number)
talentCost—Numberoftalentpointsrequiredtopurchasetheservice(gener-
ally unused) (number)
skillCost1ifpurchasingtheservicecountsagainsttheplayer’slimitof
learnable professions; otherwise 0 (number)
GetTrainerServiceDescription
Returnsthe descriptionof a trainer service.
text =GetTrainerServiceDescription(index)
Generally returns the same descriptionfoundin the spell’stooltip for spells
purchased from a classtrainer; returns nilfor trade skills andrecipes.
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
Returns:
text—Descriptionoftheservice(string)
818
Part IV
Reference
GetTrainerServiceIcon
Returns the iconfor atrainer service.
icon =GetTrainerServiceIcon(index)
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
Returns:
icon—Pathtoanicontexturefortheservice(string)
GetTrainerServiceInfo
Returns information about an entry in the trainer service listing.
serviceName, serviceSubText,serviceType,isExpanded=i
GetTrainerServiceInfo(index)
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
Returns:
serviceName—Nameoftheservice(string)
serviceSubText—Secondarytextassociatedwiththeservice(oftenaspell
rank; e.g. ‘‘(Rank 4)’’) (string)
serviceType—Typeofserviceentry(string)
available—Theplayercancurrentlyusethisservice
header—Thisentryisagroupheader,notatrainerservice
unavailable—Theplayercannotcurrentlyusethisservice
used—Theplayerhasalreadyusedthisservice
isExpanded1iftheentryisaheaderwhichiscurrentlyexpanded,or
if the header containing the entry is expanded; otherwisenil (1nil)
GetTrainerServiceItemLink
Returns a hyperlink for the item associated with atrainer service.
link =GetTrainerServiceItemLink(index)
Currently only returns item links for trainer serviceswhich teachtrade skill
recipeswhichproduce items; doesnot returnspell or recipe links.
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
Returns:
link—Ahyperlinkfortheitemassociatedwithatrainerservice(string,
hyperlink)
GetTrainerServiceLevelReq
Returns the character level required to purchase a trainer service.
reqLevel= GetTrainerServiceLevelReq(index)
Documents you may be interested
Documents you may be interested