c# pdf viewer open source : How to reorder pdf pages in software control dll windows azure .net web forms World%20of%20Warcraft%20Programming%20(2nd%20Edition)59-part1859

Chapter 27
API Reference
549
local creatureID = tonumber(“0x“..strsub(guid,9,12))
local spawnCounter = tonumber(“0x“..strsub(guid,13))
print(“Vehicle, ID #“,creatureID,“spawn #“,spawnCounter)
end
end
Hyperlink
Ahyperlink is a string containing markup allowing the client to present it as a link,
which the player can click to view more information about or take action regarding
the data it represents.
Hyperlinks take the form
|H(linktype):(linkdata)|h(text)|h, where
(linktype)determinesthetypeoflink,(linkdata)isacodereferencingthelinked
information, and(text) is the text visible to the player. Some API functions which
operate onlinksdonot require afull hyperlink,only itslinktype:linkdata portion.
Links are often encapsulated in a colorString. In such cases, the full color
String-wrapped link k is s the e only form of the link allowed to be used in chat;
attempting to transmit an invalid link may cause the player to be disconnected from
the server.
TheWoWclientrecognizesseveralkindsofhyperlinks,identifiedbytheirlinktype:
player
spell
talent
item
playerGM
enchant
achievement
glyph
quest
trade
They aredescribedinthefollowing sections. Iflinkdataelementsnotedasoptional
are omitted the client canstill resolve the link.
player
Example:|Hplayer:Aerdrig|h[Aerdrig]|h
Represents aplayer character. Left-clicking a player link inthe default UI opensthe
ChatFrameEditBox tosendawhisperedmessageto the character. Right-clickingopens
amenu with options for inviting the character to the player’s party/raid, adding the
character to the ignore list, or reporting the chat message in which the link appears
as spam. Thelinkdata for a player link consists solely of the player’s name (or in
cross-realm battlegrounds, the player’s name and home realm separated by a hyphen,
e.g. ‘‘Gundark-Broxigar’’).
playerGM
Example:|HplayerGM:Eyonix|h[Eyonix]|h
Avariation onthe player type usedexclusively for Game Master chat.
glyph
Example:|cff66bbff|Hglyph:23:460|h[Glyph of f Fortitude]|h|r
How to reorder pdf pages in - 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 reorder pages in pdf online; pdf move pages
How to reorder pdf pages in - 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 rearrange pdf pages reader; rearrange pdf pages
550
Part IV
Reference
Represents aglyph inscribedin acharacter’s spellbook. Clicking a glyph link in the
default UI shows a tooltip with its description. The linkdata for a glyph link follows
the formatsocket:glyphID:
socket(optional)—Thesocketinwhichtheglyphisplaced;values21through
26correspond to glyphIndexvalues 1through 6.
glyphID—Auniqueidentifierfortheglypheffect;notusedelsewhereintheAPI.
spell
Example:|cff71d5ff|Hspell:46584|h[Raise Dead]|h|r
Represents a spell. Clicking a spell link in the default UI shows a tooltip with its
description. The linkdataforaspelllink consistssolely of thespellIDnumberuniquely
identifying the spell, usable withAPIssuch asGetSpellInfo().
enchant
Example:|cffffd000|Henchant:59387|h[Certificate of f Ownership]|h|r
Representsatrade skillrecipe (originallyused onlyforEnchanting, but nowapplies
to all trade skills). Clicking a spell link in the default UI shows a tooltip with its
description (and that of the item it creates, if applicable). The linkdata for a spell link
consists solely of the spellIDnumberuniquely identifying the trade skillrecipe, usable
with APIssuchasGetSpellInfo().
quest
Example:|cffffff00|Hquest:982:17|h[Deep Ocean, Vast Sea]|h|r
Representsaquest fromacharacter’squest log. ClickingaquestlinkinthedefaultUI
shows atooltip with abrief descriptionof the quest and its objectives. Whenthe client
displays a quest link sent by another character, it automatically alters the enclosing
colorStringtoreflectthedifficultyofthequestrelativetotheplayer’slevel.The
linkdatafor aquest link follows the formatquestID:level:
questID—Auniquenumericidentifierforthequest.Thisnumbercorresponds
withthe numbersfound on datasitessuchashttp://wowhead.com.
level(optional)—Recommendedcharacterlevelforattemptingthequest.(A
level of -1 meansthe quest isappropriate for any level; usedfor holiday quests.)
talent
Example:|cff4e96f7|Htalent:1396:4|h[Unleashed Fury]|h|r
Represents a talent. Clicking a talent link in the default UI shows a tooltip with its
description. The linkdatafor a talent link follows the formattalentID:points:
talentID—Auniqueidentifierforthetalent;notusedelsewhereintheAPI.
rank(optional)—Numberofpointsspentinthetalent,minusone:ifthisvalue
isomitted or-1, the tooltip shows the talent as it appearsinthe Talents UIwhen
zero points have been spent; if this value is0, the tooltip shows the talent as it
appears when one point has been spent on it. Values greater than the number of
available ranks for atalent are interpretedas-1.
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.
moving pages in pdf; how to reverse page order in pdf
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.
reordering pages in pdf; reorder pages in a pdf
Chapter 27
API Reference
551
achievement
Example:|cffffff00|Hachievement:2336:060000000279E425:1:10:14:8:429
4967295:4294967295:4294967295:4294967295|h[Insane in the Membrane]
|h|r
Represents an achievement earned or in progress by a player. Clicking an
achievement linkinthe default UIshowsatooltipwithasummary of the achievement
and (if applicable) its criteria. The linkdata for an achievement link follows the for-
mat achievementID:playerGUID:completed:month:day:year:bits1:bits2:
bits3:bits4. If only the first element achievementID is specified, the client
resolving the link will show the player’s progress or completion of the achievement;
otherwise, all elementsare required:
achievementID—Auniqueidentifierfortheachievements;usablewithvarious
Achievement API functions.
playerGUID(optional)—GUIDofaplayercharacterwhoseprogressorcomple-
tion of the achievement is linked (returnvalue ofUnitGUID() without the ‘‘0x’’
prefix).
completed(optional)— 1ifthecharacterhascompletedtheachievement;other-
wise0.
month (optional)—Index of f the month (1= January) in n which the character
completed the achievement, or0 if the achievement isincomplete.
day(optional)—Dayofthemonthonwhichthecharactercompletedtheachieve-
ment, or0 if the achievement is incomplete.
year (optional)—Year (two-digit year) in which the character completedthe
achievement, or-1 if the achievement is incomplete.
bits1, bits2, bits3, bits4(optional)—Encodeddatafieldsinterpretedbythe
client to show completion of achievement criteria.
trade
Example:|cffffd000|Htrade:45361:339:375:60000000279E425:Q/nPf6nprU3
/n/fA8/Bw/PA+/B+/Aw/HA+/Bw/HA+5nfg////////P////HAAAQAA+DAAAAAAA|
h[Inscription]|h|r
Represents the entire list of recipes for a character’s trade skill or profession. The
linkdata for an achievement link follows the format spellID:skill:maxSkill:
playerGUID:data.Allelementsarerequired:
spellID—ThespellIDnumberuniquelyidentifyingthetradeskillanditsrank
(e.g. Apprentice Tailoring vs. Journeyman Tailoring), usable with APIs such as
GetSpellInfo().
skill—Thecharacter’scurrentskillintheprofession
maxSkill—Themaximumskillforthecharacter’scurrentrankintheprofession
(e.g. 375for Master rank).
playerGUID—GUIDofthecharacterwhoseprofessionislinked(returnvalueof
UnitGUID()withoutthe‘‘0x’’prefix).
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
pdf reverse page order; move pages in pdf document
VB.NET PDF: Create PDF Document Viewer in C#.NET for Document
Support navigating to the previous or next page of the PDF document; Able to insert, delete or reorder PDF document page in VB.NET document viewer;
rearrange pages in pdf reader; how to move pages in a pdf document
552
Part IV
Reference
data—Encodeddatafieldinterpretedbytheclienttoshowthecharacter’slist
of known trade skill recipes.
item
Examples:
|cffa335ee|Hitem:45457:3828:3395:3395:0:0:0:0:80|h[Staff
of Endless Winter]|h|r, |cff1eff00|Hitem:36360:0:0:0:0:0:-37:16338
78093:80|h[Frostpaw Legguards]|h|r
Represents an item. Clicking an item link in the default UI shows a tooltip
with information about the item. Control-clicking an equippable item opens the
DressUpFrame to preview how the item would look on the player character if
equipped. The linkdata for an item link follows the format itemID:enchant:
gem1:gem2:gem3:gem4:suffixID:uniqueID:level:
itemID—Theitem’sitemID.
enchant(optional)—Uniqueidentifieroftheenchantmentappliedtotheitem;
not used elsewhere in the API.
gem1, gem2, gem3, gem4 (optional)—Unique identifiers of f the enchantments
provided by gemssocketed inthe item (not the itemIDsof the gems themselves);
not used elsewhere inthe API.
suffixID (optional)—Identifies the specific c variation
represented for
random-property items (e.g. ‘‘... of the Monkey’’, ‘‘... of Frost Protection’’, etc.).
Apositive number indicatesa variation withspecific stat values(e.g.1200 = ‘‘of
the Bear’’, 8 stamina 8 strength;1220 = ‘‘of the Bear’’, 14 stamina 15 strength);
a negative number indicates a type of variation, with actual stat values to be
determined by decoding theuniqueID.
uniqueID (optional)—A number r used d internally y by y the WoW client/server
architecture totrack aspecific occurrence of an item: usedfor crafted itemswhich
display‘‘<Made byName>’’intheir tooltipsandforrandom-propertyitems.For
items with anegativesuffixID, usingbit.band(uniqueID, 0xFFFF) reveals
the factor used to calculate the item’s stats.
level—Levelofthecharacterlinkingtheitem;usedfor‘‘Heirloom’’itemswhose
stats change based onthe level of the character equipping them.
inventoryID
AninventoryID identifiesaninventory slot used(mostly) forthe equipping of items.
Inventory IDnumbersexist not onlyfor the armor and weaponslotsseeninthe default
UI’scharacter window, but alsofor bag slots, bank bag slots, the contents of the bank’s
main storage area, and the contents of the keyring. Inventory slots are not defined
as constants in the default UI; to obtain theinventoryID for a slot, use one of the
following functions:
GetInventorySlotInfo
BankButtonIDToInvSlotID
ContainerIDToInventoryID
KeyRingButtonIDToInvSlotID
C# PDF Page Rotate Library: rotate PDF page permanently in C#.net
page, it is also featured with the functions to merge PDF files using C# .NET, add new PDF page, delete certain PDF page, reorder existing PDF pages and split
how to reorder pages in a pdf document; how to rearrange pages in a pdf file
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
pdf change page order; change page order in pdf reader
Chapter 27
API Reference
553
itemID
TheitemID uniquely identifies an item; usable with APIs such asGetItemInfo().
Theseidentifiersmatchthoseutilized ondatabase sitessuchashttp://wowhead.com.
itemLocation
The itemLocation is a bitfield describing the location of an item owned by the
player. The following example code illustrates masks that can be compared with an
itemLocationtodeterminetheexactlocationdescribed:
local ITEM_INVENTORY_PLAYER = 0x00100000
local ITEM_INVENTORY_BACKPACK = 0x00200000
local ITEM_INVENTORY_BAGS = 0x00400000
local ITEM_INVENTORY_BANK = 0x00800000
local MASK_BAG = 0xf00
local MASK_SLOT = 0x3f
local bagMap = {
[0x100] = 1,
[0x200] = 2,
[0x400] = 3,
[0x800] = 4,
}
local function ItemInBag(itemLocation)
if bit.band(itemLocation, ITEM_INVENTORY_BAGS) > 0 then
local bag = bagMap[bit.band(itemLocation, MASK_BAG)]
local slot = bit.band(itemLocation, MASK_SLOT)
return bag, slot
elseif bit.band(itemLocation, ITEM_INVENTORY_BACKPACK) > 0 then
local slot = bit.band(itemLocation, MASK_SLOT)
return 0, slot
end
end
local function ItemEquipped(itemLocation)
if bit.band(itemLocation, ITEM_INVENTORY_PLAYER) > 0 then
local slot = bit.band(itemLocation, MASK_SLOT)
return slot
end
end
itemQuality
itemQuality, unsurprisingly,indicatesthequality(orrarity)ofanitem. Possible
values and examples:
1. Poor (gray): BrokenI.W.I.N. Button
2. Common(white): Archmage Vargoth’s Staff
3. Uncommon(green): X-52 Rocket Helmet
4. Rare /Superior (blue): OnyxiaScale Cloak
VB.NET PDF: VB.NET Guide to Process PDF Document in .NET Project
It can be used to add or delete PDF document page(s), sort the order of PDF pages, add image to PDF document page and extract page(s) from PDF document in VB
how to rearrange pages in a pdf document; move pages in a pdf
.NET Multipage TIFF SDK| Process Multipage TIFF Files
SDK, developers are easily to access, extract, swap, reorder, insert, mark up and delete pages in any multi upload to SharePoint and save to PDF documents.
how to move pages in pdf; change page order pdf
554
Part IV
Reference
5. Epic (purple): Talismanof EphemeralPower
6. Legendary (orange): Fragment of Val’anyr
7. Artifact /Heirloom (light yellow): Bloodied Arcanite Reaper
itemString
AnitemString refers to thelinktype:linkdata portion of an item link (the part
containing theitemID,e.g.item:19019);seethe hyperlink meta-typeformoredetails.
justifyH
justifyHisastringdescribingthehorizontaljustificationoftextwithinawidget.
Possible values:LEFT,CENTER,RIGHT.
justifyV
justifyV is a a string describing the verticaljustification n of f text within n a a widget.
Possible values:TOP,MIDDLE,BOTTOM.
layer
layerisastringidentifyingthelayerinwhicharegion’sgraphicsaredrawnrelative
to those of other regions inthe same frame; graphicsin higher layers (aslisted below)
are drawn ‘‘ontop of’’ those inlower layers.
BACKGROUND—First(lowest)layer
BORDER—Secondlayer
ARTWORK—Thirdlayer;defaultforregionsforwhichlayerisnotspecified
OVERLAY—Fourthlayer
HIGHLIGHT—Fifth(highest)layer;regionsinthislayerareautomaticallyshown
when the mouse is over the containing Frame (if the Frame’s enableMouse
property istrue).
macroID
ThemacroID is an index of one of the player’s saved macros. Macros shared by all
characters on player’s account are indexed from1 toMAX_ACCOUNT_MACROS; macros
specific to the current character are indexed fromMAX_ACCOUNT_MACROS + + 1 to
MAX_ACCOUNT_MACROS + MAX_CHARACTER_MACROS.
powerType
ThepowerType meta-type is used to indicate one of the different power types that
characters canhave. Possible valuesare:
0. Mana
1. Rage
2. Focus
3. Energy
4. Happiness
5. Runes
6. Runic Power
Chapter 27
API Reference
555
rollID
The default user interface assigns a unique numeric identifier for all items that are
able to be rolled on by the party. This identifier can be obtained by checking the
rollIDmemberofthespecificgrouplootframe.Forexample:/run print(Group
LootFrame1.rollID).
spellbookID
spellbookIDisanindexofaspellintheplayer’s(orpet’s)spellbook;usablewith
APIs such asGetSpellInfo().
spellID
spellIDisagloballyuniquenumberthatidentifiesaspell(anditsrank).Itisusable
withAPIssuchasGetSpellInfo(), andis also useful withdatabase sites.
standingID
ThestandingID identifiesa levelof reputation:
1. Hated
2. Hostile
3. Unfriendly
4. Neutral
5. Friendly
6. Honored
7. Revered
8. Exalted
The default UI provides constants which can be helpful in displaying standing
information.
The localized name for the standing N can be found in the global variable
FACTION_STANDING_LABELNorFACTION_STANDING_LABELN_FEMALE;e.g. FACTION
_STANDING_LABEL4 == “Neutral“.
NOTE
Although the male (unlabeled) and female forms are the same in the enUS
client, the same is not true for other languages. Be sure to use the appropriate
form for the character’s gender.
Color values for each standing (as seen in reputation status bars in the default UI)
can be found in the tableFACTION_BAR_COLORS.
unitID
YouseeunitID used throughout the API to identify units of interest. Possible values:
player—Theplayerhim/herself
pet—Theplayer’spet
vehicle—Thevehiclecurrentlycontrolledbytheplayer
target—Theplayer’scurrenttarget
focus—Theplayer’sfocusedunit(ascanbesetbytyping/focusname)
556
Part IV
Reference
mouseover—Theunitcurrentlyunderthemousecursor(appliestoboth unit
framesand unitsinthe 3D world)
npc—Theunittheplayeriscurrentlyinteractingwith(viatheMerchant,Trainer,
Bank, or similar UI); not necessarily anNPC (e.g. also used in the Trade UI)
party1to party4—Anothermemberoftheplayer’sparty.Indicesmatchthe
order party member framesare displayed in the default UI (party1 isat the top,
party4atthebottom),butarenotconsistentamongpartymembers(i.e.ifThrall
and Cairne are inthe same party, the player Thrallseesasparty2 may not be the
same player Cairne sees asparty2).
partypet1to partypet4—Apetbelongingtoanothermemberoftheplayer’s
party
raid1to raid40—Amemberoftheplayer’sraidgroup.Unlikewiththeparty
tokens, one of the raid unit IDswill belong to the player. Indiceshave no relation
to the arrangement of unitsin the default UI.
raidpet1to raidpet40—Apetbelonging toa memberof the player’s raid
group
arena1to arena5—AmemberoftheopposingteaminanArenamatch
AunitID canalsobeformedbyappending‘‘target’’toanexistingunitID,referring
to that unit’starget. Thiscanbe donerepeatedly.For example, consideraraidsituation
where the tokenraid13 refersto apriest:raid13target might be a rogue the priest
is healing,raid13targettarget might be the boss monster the rogue is attacking,
andraid13targettargettarget might be the warrior tanking the boss.
Many (but not all) API functions that accept aunitID also accept the name of a
unit (assuming that unit is in the player’s party or raid). For example,UnitHealth
(“Cladhaire“)willreturnthesamevalueasUnitHealth(“party1“)iftheunit
party1istheplayernamedCladhaire.Insuchsituations,aunit’stargetcanstillbe
accessed by appending-target; for example,UnitHealth(“Cladhaire-target“).
API Reference
Confirmation
AbandonQuest
Confirmsabandoning a quest.
UseSetAbandonQuest()first to select the quest to abandon.
Confirmation
AbandonSkill
Unlearnsaskill (used only for professions).
AbandonSkill(index)
Arguments:
index—Indexofanentryintheskillslist(between1and GetNumSkill
Lines()) (number)
AcceptAreaSpiritHeal
Acceptsthe next upcoming periodicresurrectionfrom abattleground spirit
healer.
Chapter 27
API Reference
557
Automatically calledin the default UIin response to theAREA_SPIRIT
_HEALER_IN_RANGEeventwhichfireswhentheplayer’sghostisneara
battleground spirit healer.
AcceptArenaTeam
Acceptsaninvitation to join an arena team.
Hardware
AcceptBattlefieldPort
Acceptsthe offered teleport to abattleground/arena or leaves the
battleground/arena or queue.
AcceptBattlefieldPort(index,accept)
Thisfunctionrequiresa hardware event whenused to accept ateleport; it can
be calledwithout ahardware event for leaving a battleground/arenaor its
queue.
Arguments:
index—Indexofabattlegroundorarenatypeforwhichtheplayerisqueued
(number)
accept1toaccepttheofferedteleport; niltoexitthequeue
or leave the battleground/arena match in progress (1nil)
AcceptDuel
Acceptsa proposed duel.
AcceptGroup
Acceptsaninvitation to join aparty or raid.
Usable in response to thePARTY_INVITE_REQUEST event whichfires whenthe
player isinvited to joinagroup. Thisfunctiondoesnot automatically hide
the default UI’s group invite dialog; doing such requires callingStaticPopup
_Hide(“PARTY_INVITE“),butonlyafterthe PARTY_MEMBERS_CHANGEDevent
firesindicating the player has successfully joined the group.
AcceptGuild
Acceptsaninvitation to join aguild.
Usable in response to theGUILD_INVITE_REQUEST event, which fires when
the player is invited to join aguild.
AcceptLFGMatch
Acceptsa proposed LFG match.
Usable after a group match has beenproposed to the player viathe
LFG_MATCH_REQUESTevent.
AcceptLevelGrant
Acceptsa level offered by the player’sRecruit-a-Friend partner.
AcceptQuest
Acceptsthe quest offeredby aquestgiver.
Usable following theQUEST_DETAIL event inwhichthe questgiver presents
the player withthe detailsof a quest and the option to accept or decline.
558
Part IV
Reference
AcceptResurrect
Acceptsanoffered resurrection spell.
Not usedfor self-resurrection; seeUseSoulstone() for such cases.
Confirmation
AcceptSockets
Acceptschangesmade in the Item Socketing UI.
Any gems added are permanently socketed into the item, andany existing
gems replaced by new gems are destroyed. This function only has effect while
the Item Socketing UIisopen(i.e. between theSOCKET_INFO_UPDATE and
SOCKET_INFO_CLOSEevents).
AcceptTrade
Acceptsa proposed trade.
Once both players have accepted, the trade process completesand the actual
exchange of items/money/enchantstakesplace.
Confirmation
AcceptXPLoss
Resurrects the player at aspirit healer, accepting possible consequences.
Resurrecting at aspirit healer generally results ina loss of durability (both
equippeditems andthose in the player’s bags) and may also result inthe
ResurrectionSicknessdebuff.
Early inthe development of World of Warcraft, resurrecting at a spirit healer
caused aloss of experience points. The change to a lossof item durability was
made before the initial public release of World of Warcraft, but the name of this
function wasnever changed.
ActionHasRange
Returns whether anaction has arange restriction.
hasRange= ActionHasRange(slot)
Arguments:
slot—Anactionbarslot(number,actionID)
Returns:
hasRange1iftheactionhasarangerestriction;otherwise nil(1nil)
AddChatWindowChannel
Adds achat channelto the saved list of those displayedin achat window.
zoneChannel= AddChatWindowChannel(index,channel)
Used by the default UI’s functionChatFrame_AddChannel() whichmanages
the set of channelmessagesshown in adisplayed ChatFrame.
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
channel—Nameofachatchannel(number)
Returns:
zoneChannel0fornon-zonechannels,otherwiseanumericindexspecificto
that channel (number)
Documents you may be interested
Documents you may be interested