c# pdf viewer library free : Change pdf page order online SDK application project wpf html .net UWP World%20of%20Warcraft%20Programming%20(2nd%20Edition)103-part1766

Chapter 27
API Reference
989
UnitTargetsVehicleInRaidUI
Returnswhether attempts to target aunit should target its vehicle.
targetVehicle= UnitTargetsVehicleInRaidUI(“unit“)
The unit can stillbe targeted: this flag isused to provide a convenience inthe
default UIfor certain cases(suchasthe Malygosencounter) such that clicking a
unit inthe raid UItargetsitsvehicle (e.g. so playerscan use their drakes to heal
other players’drakes).
Arguments:
unit—Aunittoquery(string,unitID)
Returns:
targetVehicleTrueifclickingtheunit’sraidUIrepresentationshouldtar-
get the unit’s vehicle instead of the unit itself; otherwisefalse (boolean)
UnitThreatSituation
Returnsthe generalthreat statusof aunit.
status =UnitThreatSituation(unit[,mobUnit]) ori
UnitThreatSituation(“name“[, mobUnit])
SeeUnitDetailedThreatSituation for detailsabout threat values.
Threat information for apair of units is only returned if the player hasthreat
against the NPC unit inquestion. (For example, no threat data is provided if
the player’spet is attacking anNPC but the player himself hastakenno action,
even thoughthe pet hasthreat against the NPC.)
Arguments:
unit—Theunitwhosethreatsituationisbeingrequested(unitid)
name—Thenameofaunittoquery.Onlyvalidfortheplayer,pet,and
party/raid members. (string)
mobUnit(optional)—AnNPCunitthefirstunitmayhavethreatagainst;if nil,
returned values reflect whichever NPC unit the first unit hasthe highest threat
against. (unitid)
Returns:
status—Athreatstatuscategory(number)
0—Unithaslessthan100%rawthreat(defaultUIshowsnoindicator)
1—Unithas100%orhigherrawthreatbutisn’tmobUnit’sprimarytarget
(default UI shows yellow indicator)
2—UnitismobUnit’sprimarytarget,andanotherunithas100%
or higher raw threat (default UI shows orange indicator)
3—UnitismobUnit’sprimarytarget,andnootherunithas100%orhigher
raw threat (default UI shows red indicator)
UnitUsingVehicle
Returnswhether aunit isusing a vehicle.
usingVehicle=UnitUsingVehicle(“unit“)
Change pdf page order online - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
pdf rearrange pages; reorder pdf page
Change pdf page order online - 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 pages in pdf document; pdf reverse page order preview
990
Part IV
Reference
Unlike similar functions,UnitUsingVehicle() also returnstrue while the
unit istransitioning betweenseats in avehicle.
Arguments:
unit—Aunittoquery(string,unitID)
Returns:
usingVehicle1iftheunitisusingavehicle;otherwise nil(1nil)
UnitVehicleSeatCount
Returns the number of seats in aunit’s vehicle.
numSeats= UnitVehicleSeatCount(“unit“)
Note: returns0 for multi-passenger mountseventhoughmultiple seatsare
available.
Arguments:
unit—Aunittoquery(string,unitID)
Returns:
numSeats—Numberofseatsintheunit’svehicle(number)
UnitVehicleSeatInfo
Returns information about seatsina vehicle.
controlType, occupantName, occupantRealm,canEject,i
canSwitchSeats= UnitVehicleSeatInfo(“unit“,seat)
Note: multi-passenger mounts appear as vehicles for passengersbut not for the
owner; seat information appliesonly to the passenger seats.
Arguments:
unit—Aunittoquery(string,unitID)
seat—Indexofaseatintheunit’svehicle(number)
Returns:
controlType—Typeofcontrolfortheseat(string)
Child—Unitinthisseatcontrolspartofthevehiclebutnotitsmovement
(e.g. a gun turret)
None—Unitinthisseathasnocontroloverthevehicle
Root—Unitinthisseatcontrolsthemovementofthevehicle
occupantName—Nameoftheunitintheseat,orniliftheseatisempty
(string)
occupantRealm—Homerealmoftheunitintheseat;niliftheseatis
empty or its occupant is from the same realm as the player (string)
canEjectTrueifthevehicle’sdrivercanejecttheoccupantoftheseat
(boolean)
canSwitchSeatsTrueiftheplayercanswitchtothisseat.(boolean)
UnitVehicleSkin
Returns the style of vehicle UIto display for aunit.
skin =UnitVehicleSkin(“unit“) or UnitVehicleSkin(“name“)
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
Convert 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
how to rearrange pages in pdf document; pdf reorder pages
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
page from PDF file and changing the position, orientation and order of PDF file into two or small files, you may refer to this online guide. PDF Page inserting.
how to reorder pdf pages in; move pdf pages in preview
Chapter 27
API Reference
991
Arguments:
unit—Aunittoquery(string,unitID)
name—Nameofaunittoquery;onlyvalidforplayer, pet,andparty/raid
members (string)
Returns:
skin—TokenidentifyingthestyleofvehicleUItodisplayfortheunit(string)
Mechanical—Usedformechanicalvehicles
Natural—Usedforcreaturemounts
UnitXP
Returnsthe player’scurrent amount of experience points.
currXP =UnitXP(“unit“)
Arguments:
unit—Aunittoquery;onlyvalidforplayer(string,unitID)
Returns:
currXP—Currentamountofexperiencepoints(number)
UnitXPMax
Return the total amount of experience points required for the player to gaina
level.
playerMaxXP= UnitXPMax(“unit“)
Arguments:
unit—Aunittoquery;onlyvalidforplayer(string,unitID)
Returns:
playerMaxXP—Totalamountofexperiencepointsrequiredfortheplayerto
gain a level (number)
UnstablePet
Makesapet from the stablesthe active pet.
UnstablePet(index)
If another pet isalready active, it will be placedinthe stables.
Arguments:
index—Indexofastableslot(between1andGetNumStablePets())(number)
UpdateAddOnCPUUsage
UpdatesaddonCPU profiling information.
Only haseffect if thescriptProfile CVar isset to 1. See
GetAddOnCPUUsage()fortheupdateddata.
UpdateAddOnMemoryUsage
Updatesaddonmemory usage information.
SeeGetAddOnMemoryUsage() for the updated data.
Protected
UpdateGMTicket
Updatesthe open GM ticket withnewtext.
UpdateGMTicket(“text“)
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
reorder pages in pdf reader; how to move pages in pdf
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
how to reverse page order in pdf; reorder pdf pages
992
Part IV
Reference
Arguments:
text—Newtextfortheticket(string)
UpdateMapHighlight
Returns information about the texture used for highlighting zones in a
continent map onmouseover.
name,fileName, texCoordX,texCoordY,textureX,textureY,i
scrollChildX,scrollChildY =UpdateMapHighlight(cursorX,cursorY)
Arguments:
cursorX—Horizontalpositionofthemousecursorrelativetothe
current world map (0 = left edge,1 = right edge) (number)
cursorY—Verticalpositionoftheunitrelativetothecurrentworldmap(0=
top,1 = bottom) (number)
Returns:
name—Thenameofthezonebeinghighlighted(string)
fileName—Uniquepartofthepathtothehighlighttextureforthe
zone; full path follows the format“Interface\\WorldMap\\“
..fileName..“\\“..fileName..“Highlight“(string)
texCoordX—RighttexCoordvalueforthehighlighttexture(number)
texCoordY—BottomtexCoordvalueforthehighlighttexture(number)
textureX—Widthofthetextureasaproportionoftheworldmap’swidth
(number)
textureY—Heightofthetextureasaproportionoftheworldmap’sheight
(number)
scrollChildX—Horizontalpositionofthetexture’stopleftcornerrelative
to the current world map (0 = left edge,1 = right edge) (number)
scrollChildY—Verticalpositionofthetexture’stopleftcornerrel-
ative to the current world map (0 = top,1 = bottom) (number)
UpdateSpells
Requestsspellbook informationfrom the server.
TheUPDATE_SPELLS event fires whennew spellbook informationisavailable.
UploadSettings
Storesa backup of game settings onthe server.
Doesnothing unless server-side settingshave been disabled by setting the
synchronizeSettingsCVar to 0.
Protected
UseAction
Uses anaction.
UseAction(slot[,“target“[,“button“]])
Arguments:
slot—Anactionbarslot(number,actionID)
target(optional)—Aunittobeusedastargetfortheaction(string,unitID)
C# Word - Process Word Document in C#
For example, you may change your Word document order from 1, 2, 3, 4, 5 to 3, 5, 4, 2,1 with C# coding. C#.NET: Extracting Page(s) from Word.
pdf reverse page order; change pdf page order
C# PDF: C# Code to Process PDF Document Page Using C#.NET PDF
Enable C#.NET developers to change the page order of source PDF document file; Allow C#.NET developers to add image to specified area of source PDF
move pages in pdf; reorder pages in pdf
Chapter 27
API Reference
993
button(optional)—Mousebuttonusedtoactivatetheaction(string)
Button4—Fourth mousebutton
Button5—Fifthmousebutton
LeftButton—Leftmousebutton(alsousedwhentheactionisactivatedvia
keyboard)
MiddleButton—Thirdmousebutton(typicallymiddlebutton/scrollwheel)
RightButton—Rightmousebutton
Protected
UseContainerItem
Activate (aswithright-clicking) anitem inone of the player’sbags.
UseContainerItem(container,slot[,“target“])
Hasthe same effect asright-clicking anitem inthe default UI; therefore, results
may vary by context. Incasesof conflict, conditionslisted first override those
below:
If the bank or guild bank UI is open, moves the item into the bank or guild
bank (or if the item is inthe bank or guild bank, movesit into the player’s
inventory).
If the trade UI is open, puts the item into the first available trade slot
(or if the item is soulbound, into the ‘‘will not be traded’’ slot).
If themerchant UIisopen and not inrepairmode, attempts to sellthe item to
the merchant.
If the Send Mail UIisopen, putsthe item into the first available slot for mes-
sage attachments.
If anitem is readable (e.g. Lament of the Highborne), opens it for reading.
If an item islootable (e.g. Magically Wrapped Gift), opens it for looting
If an item can be equipped, attempts to equip the item (placing any cur-
rently equipped item of the same type into the container slot used).
If an item has a ‘‘Use:’’ effect, activates said effect. Under this condition
only, the function is protectedand can only be called by the Blizzard UI.
If none of the above conditions are true, nothing happens.
Arguments:
container—Indexofoneoftheplayer’sbagsorothercontainers(number,con-
tainerID)
slot—Indexofanitemslotwithinthecontainer(number,containerSlotID)
target(optional)—Aunittobeusedastargetfortheaction(string,unitID)
UseEquipmentSet
Equipsthe itemsin anequipment set.
equipped= UseEquipmentSet(“name“)
Arguments:
name—Nameofanequipmentset(casesensitive)(string)
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 rearrange pages in a pdf document; change page order pdf
RasterEdge.com General FAQs for Products
receive a copy of email containing order confirmation and via the email which RasterEdge's online store sends & profession imaging controls, PDF document, image
reorder pages pdf file; how to move pages in pdf files
994
Part IV
Reference
Returns:
equippedtrueifthesetwasequipped;otherwise nil(boolean)
Protected
UseInventoryItem
Activate (as with right-clicking) an equipped item.
UseInventoryItem(slot)
If theinventoryID passed refersto anempty slot or aslot containing an item
without a ‘‘Use:’’action, thisfunctionisnot protected (i.e. usable only by the
Blizzard UI), but also has no effect.
Arguments:
slot—Aninventoryslotnumber,ascanbeobtainedfromGetInventory
SlotInfo(number,inventoryID)
Protected
UseItemByName
Uses anarbitrary item (optionally onaspecified unit).
UseItemByName(itemID[, “target“])orUseItemByName(“itemName“i
[,“target“]) or UseItemByName(“itemLink“[, “target“])
Arguments:
itemID—Anitem’sID(number)
itemName—Anitem’sname(string)
itemLink—Anitem’shyperlink,oranystringcontainingtheitemStringpor-
tion of an item link (string)
target(optional)—Aunitonwhichtousetheitem,ifapplicable(string,
unitID)
Protected
UseQuestLogSpecialItem
Uses the item associated with acurrent quest.
UseQuestLogSpecialItem(questIndex)
Available for anumber of quests whichinvolve using anitem (i.e. ‘‘Use the
MacGuffinto summonand defeat the boss’’, ‘‘Use this saw to fell 12 trees’’,
etc.)
Arguments:
questIndex—Indexofaquestlogentrywithanassociatedusableitem
(between1 andGetNumQuestLogEntries()) (number)
UseSoulstone
Instantly resurrects the player in place, if possible.
Usable if the player is dead (and has not yet released hisor her spirit to the
graveyard) and hasthe ability to instantly resurrect (provided by a Warlock’s
Soulstone or aShaman’sReincarnationpassive ability).
VehicleAimDecrement
Adjustsvehicle aim downward by a specifiedamount.
VehicleAimDecrement(amount)
Arguments:
amount—Anglebywhichtoadjustaim(inradians)(number)
Chapter 27
API Reference
995
Protected
VehicleAimDownStart
Starts adjusting vehicle aim downward.
Protected
VehicleAimDownStop
Stops adjusting vehicle aim downward.
VehicleAimGetAngle
Returnsthe aim angle of avehicle weapon.
angle= VehicleAimGetAngle()
The returnedvalue isin radians, withpositive valuesindicating upward angle,
negative valuesindicating downward angle, and 0 indicating straight ahead.
Returns:
angle—Verticalangleofvehicleweaponaim(inradians)(number)
VehicleAimGetNormAngle
Returnsthe aim angle of avehicle weapon relative to itsminimum angle.
angle= VehicleAimGetNormAngle()
The returnedvalue is in radians, with 0indicating the lowest angle allowedfor
the vehicle weaponand increasing values for upward aim.
Returns:
angle—Verticalangleofvehicleweaponaim(inradians)(number)
VehicleAimIncrement
Adjustsvehicle aim upward by a specifiedamount.
VehicleAimIncrement(amount)
Arguments:
amount—Anglebywhichtoadjustaim(inradians)(number)
VehicleAimRequestAngle
Attempts to set avehicle weapon’saim angle to a specificvalue.
VehicleAimRequestAngle(amount)
Causes aim angle to transition smoothly from the current value to the
requestedvalue (or to the closest allowedvalue to the requested value if it is
beyondthe vehicle’slimits).
Aim angle values are inradians, withpositive valuesindicating upward angle,
negative valuesindicating downward angle, and 0 indicating straight ahead.
Arguments:
amount—Newaimangle(inradians)(number)
VehicleAimRequestNormAngle
Attempts to set a vehicle weapon’saim angle to a specific value relative to its
minimum value.
VehicleAimRequestNormAngle(amount)
996
Part IV
Reference
Causes aim angle to transition smoothly from the current value to the
requested value (or to the closest allowed value to the requested value if it is
beyond the vehicle’slimits).
The returned value isinradians, with0 indicating the lowest angle allowed for
the vehicle weaponand increasing valuesfor upward aim.
Arguments:
amount—Newaimangle(inradians)(number)
Protected
VehicleAimUpStart
Starts adjusting vehicle aim upward.
Protected
VehicleAimUpStop
Stops adjusting vehicle aim upward.
VehicleCameraZoomIn
Zooms the player’sview in while ina vehicle.
VehicleCameraZoomOut
Zooms the player’sview out while inavehicle.
VehicleExit
Removesthe player from the current vehicle.
Doesnothing if the player is not ina vehicle.
VehicleNextSeat
Moves the player from his current seat in avehicle to the next sequentially
numbered seat.
If the player isinthe highest-numbered seat, cycles around to the
lowest-numbered seat.
VehiclePrevSeat
Movesthe player from his current seat in avehicle to the previoussequentially
numbered seat.
If the player isinthe lowest-numbered seat, cyclesaroundto the
highest-numbered seat.
VoiceChat_GetCurrentMicrophoneSignalLevel
Returns the current volume level of the microphone signal.
volume= VoiceChat_GetCurrentMicrophoneSignalLevel()
Returns:
volume—Thecurrentvolumelevelofthemicrophonesignal(number)
VoiceChat_IsPlayingLoopbackSound
Returns whether the Microphone Test recording is playing.
VoiceChat_IsPlayingLoopbackSound(isPlaying)
Arguments:
isPlaying1iftheloopbacksoundiscurrentlybeingplayed;otherwise nil
(number)
Chapter 27
API Reference
997
VoiceChat_IsRecordingLoopbackSound
Returnswhether aMicrophone Test isrecording.
isRecording= VoiceChat_IsRecordingLoopbackSound()
Returns:
isRecording1iftheplayerisrecordingavoicesample,otherwise0(number)
Example:
--Printa messageindicatingyourrecording status
localinsertString=““
ifVoiceChat_IsRecordingLoopbackSound()== 0then
insertString= “not“
end
DEFAULT_CHAT_FRAME:AddMessage(“Youare“..insertString..i
“currentlyrecording asoundsample.“)
VoiceChat_PlayLoopbackSound
Playsback the Microphone Test recording.
VoiceChat_RecordLoopbackSound
Beginsrecording aMicrophone Test.
VoiceChat_RecordLoopbackSound(seconds)
Arguments:
seconds—Theamountoftimetorecord(inseconds)(number)
VoiceChat_StopPlayingLoopbackSound
Stops playing the Microphone Test recording.
VoiceChat_StopRecordingLoopbackSound
Stops recording a Microphone Test.
VoiceEnumerateCaptureDevices
Returnsthe name of an audio input device for voice chat.
deviceName= VoiceEnumerateCaptureDevices(deviceIndex)
Arguments:
deviceIndex—Indexofthedevice(between1and Sound_ChatSystem_Get
NumInputDrivers())(number)
Returns:
deviceName—Nameofthedevice(string)
VoiceEnumerateOutputDevices
Returnsthe name of an audio output device for voice chat.
device =VoiceEnumerateOutputDevices(deviceIndex)
Arguments:
deviceIndex—Indexofthedevice(between1and Sound_ChatSystem_Get
NumOutputDrivers())(number)
Returns:
device—Nameofthedevice(string)
998
Part IV
Reference
VoiceGetCurrentCaptureDevice
Returns the index of the current voice capture device.
index= VoiceGetCurrentCaptureDevice()
Returns:
index—Indexofthecurrentvoicecapturedevice(between1and
Sound_ChatSystem_GetNumInputDrivers())(number)
VoiceGetCurrentOutputDevice
Returns the index of the current voice output device.
index= VoiceGetCurrentOutputDevice()
Returns:
index—Indexofthecurrentvoiceoutputdevice(between1and
Sound_ChatSystem_GetNumOutputDrivers())(number)
VoiceIsDisabledByClient
Returns whether the voice chat system cannot be enabled.
isDisabled=VoiceIsDisabledByClient()
Voice chat may be disabled if the underlying hardware doesnot support it or if
multiple instances of World of Warcraft are running onthe same hardware.
Returns:
isDisabled1ifthevoicesystemisdisabled;otherwise nil(1nil)
VoiceSelectCaptureDevice
Selects anaudio input device for voice chat.
VoiceSelectCaptureDevice(“deviceName“)
Arguments:
deviceName—Nameofanaudioinputdevice,asreturnedfrom
VoiceEnumerateCaptureDevices()(string)
VoiceSelectOutputDevice
Selectsanaudio output device for voice chat.
VoiceSelectOutputDevice(“deviceName“)
Arguments:
deviceName—Nameofanaudiooutputdevice,asreturnedfrom
VoiceEnumerateOutputDevices()(string)
Confirmation
WithdrawGuildBankMoney
Attemptsto withdraw money from the guildbank.
WithdrawGuildBankMoney(amount)
Causes aPLAYER_MONEY event to fire, indicating the amount withdrawn has
been added to the player’s total (seeGetMoney()). Causes anerror or system
message ifamount exceedsthe amount of money inthe guild bank or the
player’s alloweddaily withdrawalamount.
Arguments:
amount—Amountofmoneytowithdraw(incopper)(number)
Documents you may be interested
Documents you may be interested