c# pdf viewer open source : How to change page order in pdf document application SDK utility azure wpf asp.net visual studio World%20of%20Warcraft%20Programming%20(2nd%20Edition)91-part1895

Chapter 27
API Reference
869
TheKNOWLEDGE_BASE_QUERY_LOAD_SUCCESSalso indicates that the
requestedresults are available; thisfunction presentsan alternative that canbe
used across UIreloadsor login/logout.
Returns:
isLoadedTrueifqueryresultsareavailable;otherwise false(boolean)
KBSetup_BeginLoading
Loadsa maximum number of ‘‘TopIssues’’ from agiven page.
KBSetup_BeginLoading(numArticles,currentPage)
Arguments:
numArticles—Thenumberofarticlesdisplayedperpage.Thisis
typically the constantKBASE_NUM_ARTICLES_PER_PAGE (number)
currentPage—Thepagetodisplay(number)
KBSetup_GetArticleHeaderCount
Returnsthe number of ‘‘Top Issues’’ articles onthe current page.
articleHeaderCount= KBSetup_GetArticleHeaderCount()
Returns:
articleHeaderCount—Thenumberof‘‘TopIssues’’articlesonthecurrent
page (number)
KBSetup_GetArticleHeaderData
Returnsheader information about a‘‘TopIssue’’article.
articleId,title, isHotIssue,isRecentlyUpdated=i
KBSetup_GetArticleHeaderData(index)
Arguments:
index—Theindexofthearticletoquery(number)
Returns:
articleId—AuniquearticleIdforthearticle(number)
title—Thetitleofthearticle(string)
isHotIssuetrueifthearticleisa‘‘HotIssue’’,otherwise false(boolean)
isRecentlyUpdatedtrueifthearticlehasbeenrecentlyupdated,otherwise
false (boolean)
KBSetup_GetCategoryCount
Returnsthe number of available knowledge base categories.
numCategories= KBSetup_GetCategoryCount()
Returns:
numCategories—Thenumberofavailableknowledgebasecategories(number)
KBSetup_GetCategoryData
Returnsinformation about aknowledge base category.
categoryId,name= KBSetup_GetCategoryData(index)
Arguments:
index—Theindexofthecategory(number)
How to change page order in pdf document - 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 online; change page order pdf
How to change page order in pdf document - 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
move pages within pdf; how to reorder pages in a pdf document
870
Part IV
Reference
Returns:
categoryId—Theuniqueidentifierforthegivencategory(number)
name—Thenameofthecategory(string)
KBSetup_GetLanguageCount
Returns the number of available knowledge base languages.
numLanguages =KBSetup_GetLanguageCount()
Returns:
numLanguages—Thenumberofavailableknowledgebaselanguages(number)
KBSetup_GetLanguageData
Returns information about agiven knowledge base language.
languageId,name =KBSetup_GetLanguageData(index)
Arguments:
index—Indexofalanguagetoquery(between1and KBSetup_Get
LanguageCount()(number)
Returns:
languageId—Anumberidentifyingthelanguageinarticleheaders(number)
name—Thenameofthelanguage(string)
KBSetup_GetSubCategoryCount
Returns the number of available subcategories for agiven category.
numSubCategories= KBSetup_GetSubCategoryCount(index)
Arguments:
index—Theindexofthecategory(number)
Returns:
numSubCategories—Thenumberofavailablesubcategories(number)
KBSetup_GetSubCategoryData
Returns information aknowledge base subcategory.
categoryId,name =KBSetup_GetSubCategoryData(index,subindex)
Arguments:
index—Theindexofthecategory(number)
subindex—Theindexofthesubcategory(number)
Returns:
categoryId—TheuniquecategoryIdforthegivensubcategory(number)
name—Thenameofthesubcategory(string)
KBSetup_GetTotalArticleCount
Returns the number of ‘‘Top Issues’’ articles.
numArticles= KBSetup_GetTotalArticleCount()
Returns:
numArticles—Thetotalnumberof‘‘TopIssues’’articles(number)
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
rearrange pdf pages in reader; pdf change page order
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 reverse pages in pdf; pdf page order reverse
Chapter 27
API Reference
871
KBSetup_IsLoaded
Returnswhether the knowledge base default query has completed
successfully.
isLoaded= KBSetup_IsLoaded()
TheKNOWLEDGE_BASE_SETUP_LOAD_SUCCESSalso indicates that the
knowledge base setup iscomplete; thisfunctionpresentsanalternative that
can be used acrossUIreloads or login/logout.
Returns:
isLoadedTrueifresultsfortheknowledgebase’sdefault‘‘TopIssues’’
query are available;false if a query isin progressor has failed (boolean)
KBSystem_GetMOTD
Returnsthe currently knowledge base MOTD.
text =KBSystem_GetMOTD()
Returns:
text—Themessageofthedayfortheknowledgebasesystem(string)
KBSystem_GetServerNotice
Returnsthe text of the knowledge base server system notice.
text =KBSystem_GetServerNotice()
Returns:
text—Thetextoftheknowledgebasesystemservernotice(string)
KBSystem_GetServerStatus
Returnsthe knowledge base server system statusmessage.
statusMessage= KBSystem_GetServerStatus()
Returns:
statusMessage—Theknowledgebaseserverstatusmessage,ornil(string)
KeyRingButtonIDToInvSlotID
ReturnstheinventoryID corresponding to aslot in the keyring.
slot =KeyRingButtonIDToInvSlotID(slot)
Arguments:
slot—Indexofakeyslotwithinthekeyring(number,containerSlotID)
Returns:
slot—IdentifierforthekeyslotusablewithInventoryAPIs(number,invento-
ryID)
LFGQuery
RequestsLooking for More information from the server.
LFGQuery(type, index)
Query resultsare not available immediately; theUPDATE_LFG_LIST event fires
when databecomesavailable; listing information can thenbe retrieved using
GetLFGResults()orrelatedAPIs.
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#
reorder pages pdf file; reorder pages in pdf
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
and Files, adding a page into PDF document, deleting unnecessary page from PDF file and changing the position, orientation and order of PDF document pages with
how to move pages in pdf converter professional; change pdf page order preview
872
Part IV
Reference
Arguments:
type—IndexofanLFGquerytype(inthelistreturnedbyGetLFGTypes())
(number)
index—IndexofanLFGentry(inthelistreturnedbyGetLFGTypeEntries
(type)) (number)
Confirmation
LearnPreviewTalents
Commitschanges made inthe Talent UI’spreviewmode.
LearnPreviewTalents(isPet)
Arguments:
isPettruetoedittalentsfortheplayer’spet,falsetoedittalentsforthe
player (boolean)
LearnTalent
Learns atalent, spending one talent point.
LearnTalent(tabIndex,talentIndex, isPet,talentGroup)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
talentIndex—Indexofatalentoption(between1and GetNumTalents())
(number)
isPetTruetoedittalentsfortheplayer’spet,falsetoedittalentsforthe
player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1—Primary Talents
2—Secondary Talents
nil—Currentlyactivetalents
LeaveBattlefield
Immediately exitsthe current battleground instance.
Returns the player to the location from whichhe or she joined the battleground
andapplies the Deserter debuff.
LeaveChannelByName
Leaves achat channel.
LeaveChannelByName(“name“)
Arguments:
name—Nameofachatchanneltoleave(string)
LeaveParty
Exits the current party or raid.
If there are only two charactersinthe party or raid, causes the party or raid to
be disbanded.
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
change pdf page order; reorder pdf pages
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
how to move pages around in a pdf document; rearrange pages in pdf reader
Chapter 27
API Reference
873
ListChannelByName
Requeststhe list of participantsina chat channel.
ListChannelByName(“channel“) or ListChannelByName(channelIndex)
FirestheCHAT_MSG_CHANNEL_LIST event listing the names of all characters in
the channel.
Arguments:
channel—Nameofachannel(string)
channelIndex—Indexofachannel(number)
ListChannels
Requestsa list of channelsjoined by the player.
FirestheCHAT_MSG_CHANNEL_LIST event listing the names and indices of all
channelsjoined by the player.
LoadAddOn
Loadsa LoadOnDemand-capable addon.
loaded,reason= LoadAddOn(“name“)orLoadAddOn(index)
If the given addon hasdependencies whichare also LoadOnDemand-capable,
those addons willbe loaded as well. Thisfunctionwill not load disabled
addons.
Arguments:
name—Nameofanaddon(nameoftheaddon’sfolderandTOCfile,nottheTitle
found in the TOC) (string)
index—Indexofanaddonintheaddonlist(between1and GetNumAddOns())
(number)
Returns:
loaded1ifloadingtheaddonwassuccessful;otherwise nil(number)
reason—Iftheaddoncouldnotbeloaded,anunlocalizedstringtoken
indicating the reason for failure. Localized strings for display can be found by
prepending“ADDON_“; e.g.ADDON_DEP_MISSING==“Dependencymissing“.
(string)
BANNED—Banned
CORRUPT—Corrupt
DEP_BANNED—Dependencybanned
DEP_CORRUPT—Dependencycorrupt
DEP_DISABLED—Dependencydisabled
DEP_INCOMPATIBLE—Dependencyincompatible
DEP_INSECURE—Dependencyinsecure
DEP_INTERFACE_VERSION—Dependencyoutofdate
DEP_MISSING—Dependencymissing
DEP_NOT_DEMAND_LOADED—Dependencynotloadableondemand
DISABLED—Disabled
INCOMPATIBLE—Incompatible
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 document
how to reorder pages in pdf preview; change pdf page order reader
C# PDF Password Library: add, remove, edit PDF file password in C#
Able to change password on adobe PDF document in C#.NET. On this page, we will talk about how to achieve In order to run the sample code, the following steps
how to move pages in a pdf document; pdf change page order acrobat
874
Part IV
Reference
INSECURE—Insecure
INTERFACE_VERSION—OutofDate
MISSING—Missing
NOT_DEMAND_LOADED—Notloadableondemand
LoadBindings
Loadsa set of key bindings.
LoadBindings(set)
TheUPDATE_BINDINGS event fires whenthe new bindingshave takeneffect.
Arguments:
set—Asetofkeybindingstoload(number)
0—Default keybindings
1—Account-widekeybindings
2—Character-specific keybindings
LoggingChat
Enables or disables saving chat text to a file.
isLogging= LoggingChat(toggle)
Text received viathe chat system (but not necessarily all text displayed in chat
windows) will be saved to the fileLogs/WoWChatLog.txt
(pathis relative to
the folder containing the World of Warcraft client); the file isnot actually
updated until the player logsout.
Chat text in the log file followsa similar format to its display in-game, but with
added timestamps.
Arguments:
toggleTruetoenablechatlogging;falseoromittedtodisable(boolean)
Returns:
isLogging1ifchatloggingisenabled;otherwise nil(1nil)
Example:
-- example log
6/716:51:26.790 Gorrokhas comeonline.
6/716:51:30.054 [3.tehgladiators]Gorrokjoined channel.
6/716:52:18.553 |Hchannel:Guild|h[Guild]|hSpin:Bah!
6/716:52:27.803 |Hchannel:Guild|h[Guild]|hSpin:Got Mr. Pinchy, but
firstonewas justa buff
6/716:52:41.752 |Hchannel:Guild|h[Guild]|hValiant:ahwell,maybe
thenext time
6/716:52:57.504 [1.Trade] Yolanda:need healerpremade EOTS
LoggingCombat
Enables or disables saving combat log datato a file.
isLogging= LoggingCombat(toggle)
Chapter 27
API Reference
875
Combat log datawill be saved to the fileLogs/WoWCombatLog.txt (pathis
relative to the folder containing the World of Warcraft client); the file is not
actually updated untilthe player logs out.
Arguments:
toggleTruetoenablecombatlogging;falseoromittedtodisable(boolean)
Returns:
isLogging1ifcombatloggingisenabled;otherwise nil(1nil)
Example:
-- example log file contents
6/7 17:08:46.784 SPELL_CAST_SUCCESS,0x060000000279E425,“Gundark“,0x511,
0xF13000482C5462D1,“Timber Worg“,0x10a48,49576,“Death Grip“,0x1
6/7 17:08:47.089 SPELL_AURA_APPLIED,0x060000000279E425,“Gundark“,0x511,
0xF13000482C5462D1,“Timber Worg“,0x10a48,49560,“Death Grip“,0x1,DEBUFF
6/7 17:08:47.886 SWING_DAMAGE,0x060000000279E425,“Gundark“,0x511,0xF130
00482C5462D1,“Timber Worg“,0x10a48,374,0,1,0,0,0,nil,nil,nil
6/7 17:08:47.887 SPELL_DAMAGE,0x060000000279E425,“Gundark“,0x511,0xF130
00482C5462D1,“Timber Worg“,0x10a48,50401,“Razor Frost“,0x10,5,0,16,0,0,0
,nil,nil,nil
6/7 17:08:47.887 SPELL_AURA_APPLIED,0x060000000279E425,“Gundark“,0x511,
0xF13000482C5462D1,“Timber Worg“,0x10a48,51714,“Frost Vulnerability“,0x1
0,DEBUFF
6/7 17:08:48.207 SPELL_CAST_SUCCESS,0x060000000279E425,“Gundark“,0x511,
0xF13000482C5462D1,“Timber Worg“,0x10a48,49896,“Icy Touch“,0x10
6/7 17:08:48.327 SWING_MISSED,0xF13000482C5462D1,“Timber Worg“,0x10a48,
0x060000000279E425,“Gundark“,0x511,DODGE
6/7 17:08:48.328 SPELL_PERIODIC_HEAL,0x060000000279E425,“Gundark“,0x511
,0x060000000279E425,“Gundark“,0x511,50475,“Blood Presence“,0x1,15,15,nil
Logout
Attempts to log out and return to the character selectionscreen.
Results vary based oncurrent conditions:
If the player is in combat or under other temporary restrictions
(e.g. falling), fires theUI_ERROR_MESSAGE event with a mes-
sage indicating the player cannot log out at the moment.
If the player is not in an inn, major city, or other ‘‘rest’’ area (i.e.
IsResting()returns nil),firesthe PLAYER_CAMPINGevent,causingthe
default UIto show a countdown, logging the player out after a period of
time if not canceled.
If the player is in a ‘‘rest’’ area, logs out immediately.
LootSlot
Attempts to pick up an item available as loot.
LootSlot(slot)
If the item in the loot slot bindson pickup, theLOOT_BIND_CONFIRM event
fires, indicating thatConfirmLootSlot(slot) must be called in order to
actually loot the item. Please note: if you callthiswhile processing a
876
Part IV
Reference
LOOT_OPENEDeventanditisthelastitemtobelootedfromthecorpse,can
causeLOOT_CLOSED to fire and be processedbefore yourLOOT_OPENED event
handler completes.
Arguments:
slot—Indexofalootslot(between1and GetNumLootItems())(number)
LootSlotIsCoin
Returns whether aloot slot contains money.
isCoin= LootSlotIsCoin(slot)
Arguments:
slot—Indexofalootslot(between1and GetNumLootItems())(number)
Returns:
isCoin1ifthelootslotcontainsmoney;otherwise nil(1nil)
LootSlotIsItem
Returns whether aloot slot contains anitem.
isItem= LootSlotIsItem(slot)
Arguments:
slot—Indexofalootslot(between1and GetNumLootItems())(number)
Returns:
isItem1ifthelootslotcontainsanitem;otherwise nil(1nil)
MouselookStart
Enables mouselook mode, inwhichcursor movement rotates the camera.
MouselookStop
Disablesmouselook mode.
Protected
MoveAndSteerStart
Beginsmoving the player character forward while steering via mouse
movement.
After calling thisfunction, the player character begins moving forward while
cursor movement rotates(or steers) the character, altering yaw (facing) and/or
pitch(verticalmovement angle) as well as cameraposition.
Equivalent to calling bothCameraOrSelectOrMoveStartand
TurnOrActionStartwithoutcallingtherespectiveStopfunctions;i.e.
holding bothleft and right mouse buttons down. Used by theMOVEANDSTEER
binding, which canbe customized to allowalternate access to thisaction if the
player’s system does not allow pressing multiple mouse buttons at once.
Protected
MoveAndSteerStop
Endsmovement initiated byMoveAndSteerStart.
After calling thisfunction, forward movement and character steering stopsand
normalcursor movement resumes.
Used by theMOVEANDSTEER binding.
Chapter 27
API Reference
877
Protected
MoveBackwardStart
Beginsmoving the player character backward.
Used by theMOVEBACKWARD binding.
Protected
MoveBackwardStop
Ends movement initiated byMoveBackwardStart.
Protected
MoveForwardStart
Beginsmoving the player character forward.
Used by theMOVEFORWARD binding.
Protected
MoveForwardStop
Ends movement initiated byMoveForwardStart.
MoveViewDownStart
Beginsorbiting the camera downward (to look upward).
MoveViewDownStop
Ends cameramovement initiated byMoveViewDownStart.
MoveViewInStart
Beginszooming the camerainward (towards/through the player character).
MoveViewInStop
Ends cameramovement initiated byMoveViewInStart.
MoveViewLeftStart
Beginsorbiting the camera around the player character to the left.
‘‘Left’’here isrelative to the player’s facing; i.e. the camera orbits clockwise if
looking down. Moving the camerato the left causesit to look towardsthe
character’sright.
MoveViewLeftStop
Ends cameramovement initiated byMoveViewLeftStart.
MoveViewOutStart
Beginszooming the cameraoutward(away from the player character).
MoveViewOutStop
Ends cameramovement initiated byMoveViewOutStart.
MoveViewRightStart
Beginsorbiting the camera around the player character to the right.
‘‘Right’’ here is relative to the player’sfacing; i.e. the cameraorbits
counter-clockwise if looking down. Moving the camerato the right causes it to
look towards the character’s left.
MoveViewRightStop
Ends cameramovement initiated byMoveViewRightStart.
MoveViewUpStart
Beginsorbiting the cameraupward (to look down).
878
Part IV
Reference
MoveViewUpStop
Endscamera movement initiated byMoveViewUpStart.
Mac OS X only
MovieRecording_Cancel
Cancelsvideo recording and compression.
If arecording is in progress, recording is stopped and the results discarded. If
compression isinprogress, compression isstoppedand the uncompressed
portion of the movie is deleted.
Mac OS X only
MovieRecording_DataRate
Returns the datarate required for a givenset of video recording parameters.
dataRate= MovieRecording_DataRate(width,framerate,sound)
The value returned isa prediction of the rate at whichdata will be written to
the hard drive while recording. If the hardware cannot support thisdata rate,
game performance may suffer andrecording may stop.
Arguments:
width—Widthoftheoutputvideo(inpixels)(number)
framerate—Numberofvideoframestoberecordedpersecond(number)
sound1ifgameaudioistobecapturedwithvideo;otherwise0(number)
Returns:
dataRate—Summaryofthedatarate(e.g.‘‘438.297KB/s’’,‘‘11.132MB/s’’)
(string)
Example:
-- Calculatethe dataraterequiredforthe following:
-- 1024x768videoat 29.97framesper secondwith sound
localdataRate= MovieRecording_DataRate(1024,29.97,1)
print(dataRate..“ is required forthis recording.“)
Mac OS X only
MovieRecording_DeleteMovie
Deletesan uncompressed movie.
MovieRecording_DeleteMovie(“filename“)
Arguments:
filename—Pathtoanuncompressedmovie(asprovidedinthe
MOVIE_UNCOMPRESSED_MOVIEevent)(string)
Mac OS X only
MovieRecording_GetAspectRatio
Returns the aspect ratio of the game display.
ratio= MovieRecording_GetAspectRatio()
Used inthe default UI to calculate dimensions for scaling captured video to
predetermined widths.
For example, if the aspect ratio is 0.75(asona 1600x1200screen), amovie
scaled to 640pixelswide will be 480pixelstall; but if the aspect ratio is0.625
(as ona 1440x900 screen), a movie scaled to 640pixelswide will be
400pixelstall.
Documents you may be interested
Documents you may be interested