c# pdf viewer open source : Move pages in a pdf file Library software class asp.net winforms wpf ajax World%20of%20Warcraft%20Programming%20(2nd%20Edition)71-part1873

Chapter 27
API Reference
669
TheAUCTION_BIDDER_LIST_UPDATE event firesif newdata is available;
listing information canthenbe retrievedusingGetAuctionItemInfo() or
other Auction APIs.
GetBillingTimeRested
Returnsthe amount of time for which the player must be offline in order to lift
play time restrictions.
time =GetBillingTimeRested()
After playing for a number of hours, restrictionsmay be placed on the player’s
ability to gainloot or XP, complete quests, or use trade skills; if insucha state,
the player must log off for the period of time specified by this function in order
to return to normal play.
Only used inlocaleswhere the lengthof play sessions isrestricted (e.g.
mainland China).
Returns:
time—Offlinetimerequiredtoliftplaytimerestrictions(inminutes)(number)
GetBindLocation
Returnsthe name of the player’sHearthstone location.
location= GetBindLocation()
Returns:
location—Nameoftheplayer’sHearthstonelocation(string)
GetBinding
Returnsinformationabout a key binding.
commandName,binding1,binding2 =GetBinding(index)
Arguments:
index—Indexinthekeybindingslist(between1and GetNumBindings())
(number)
Returns:
commandName—Nameofthebindingcommand(string)
binding1—Firstkeybindingforthecommand,ornilifnokeyisbound
(string, binding)
binding2—Secondkeybindingforthecommand,ornilifnokeyisbound
(string, binding)
GetBindingAction
Returnsthe action bound to akey or key combination.
action =GetBindingAction(“key“ [,checkOverride])
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2‘‘)(string,binding)
checkOverride(optional)— Truetocheckpossibleoverridebindingsfor
thekey,false or omitted to check only normal bindings (boolean)
Move pages in a pdf file - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
reorder pages pdf; reorder pdf pages reader
Move pages in a pdf file - 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 reorder pages in pdf reader; pdf rearrange pages
670
Part IV
Reference
Returns:
action—Nameoftheactionassociatedwiththekey,ortheemptystring(““)if
the key is not bound to an action (string)
GetBindingByKey
Returns the action boundto akey or key combination.
action= GetBindingByKey(“key“)
Arguments:
key—Akeyorkeycombination(e.g.‘‘CTRL-2‘‘)(string,binding)
Returns:
action—Nameoftheactionassociatedwiththekey,ortheemptystring(““)if
the key is not bound to an action (string)
GetBindingKey
Returns the key combinationsfor agivenbinding command.
key1,...= GetBindingKey(“COMMAND“)
Although the default UI only allowstwo combinationsto be boundto a
command, more thantwo canbe set viathe API.
Arguments:
COMMAND—Nameofabindingcommand(string)
Returns:
key1—Firstkeybindingforthecommand,ornilifnokeyisbound(string,
binding)
...—Alistofadditionalbindingsforthecommand(list)
GetBlockChance
Returns the player’spercentage chance to block witha shield.
chance= GetBlockChance()
Returns:
chance—Percentagechancetoblock(number)
GetBonusBarOffset
Returns the current ‘‘stance’’offset for use withthe bonusactionbar.
offset= GetBonusBarOffset()
Thisvalue correspondsto what ‘‘stance’’ the player iscurrently in, andmore
specifically which set of actionscorrespond to that stance. Action IDsfor
specialstances start onactionbar #7(orNUM_ACTIONBAR_PAGES+1), so the
offsetreturnedbythisfunctioncorrespondstothenumbertobeaddedto
NUM_ACTIONBAR_PAGESincalculatingactionIDsfortheseactionbars.
Note that the UI definitionof ‘‘stance’’includesnot just warrior stances but
also druid shapeshift forms, rogue/druid stealth, priest shadowform, and
variousother cases, but does not necessarily include all states normally
presented inthe default UI’sstance/shapeshift bar (notable exclusionsare
paladin aurasand death knight presences).
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
random pages can be deleted from PDF file as well. Sorting Pages. RasterEdge XDoc.PDF allows you to easily move PDF document pages position, including sorting
how to change page order in pdf document; how to move pages in pdf
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
Using this C#.NET Tiff image management library, you can easily change and move the position of any two or more Tiff file pages or make a totally new order for
pdf reorder pages online; how to move pages within a pdf
Chapter 27
API Reference
671
Returns:
offset—Offsetofthestance’sactionbarinrelationtoNUM_ACTIONBAR_PAGES
(number)
GetBuildInfo
Returnsthe versioninformationabout the client.
version,internalVersion,date, uiVersion= GetBuildInfo()
Returns:
version—Displayversionnumberoftheclient(e.g.“3.1.1“)(string)
internalVersion—Internalversionnumberoftheclient(e.g.“9835“)
(string)
date—Dateonwhichtheclientexecutablewasbuilt(e.g.“Apr 24
2009“);notnecessarilythedateitwasreleasedtothepublic(string)
uiVersion—VersioncompatibilitynumberforUIpurposes(e.g.30100);
generally, installed addons should have thisnumber intheInterface header
of their TOC files to avoid being marked asOut of Date and possibly not loaded
(number)
GetBuybackItemInfo
Returnsinformation about an item recently sold to avendor and available to
be repurchased.
name,texture,price, quantity,numAvailable,isUsable =i
GetBuybackItemInfo(index)
Arguments:
index—Indexofaniteminthebuybacklisting(between1and
GetNumBuybackItems())(number)
Returns:
name—Nameoftheitem(string)
texture—Pathtoanicontexturefortheitem(string)
price—Currentcosttorepurchasetheitemfromthisvendor(incopper)
(number)
quantity—Numberofstackeditemsperpurchase(number)
numAvailable—Numberofitemsavailableforpurchase,ifthevendor
has a limited stock of the item; generally 0for buyback items (number)
isUsable1iftheplayercanuseorequiptheitem;otherwise nil(1nil)
GetBuybackItemLink
Returnsa hyperlink for an item recently soldto avendor and available to be
repurchased.
link =GetBuybackItemLink(index)
Arguments:
index—Indexofaniteminthebuybacklisting(between1and
GetNumBuybackItems())(number)
C# Word - Sort Word Pages Order in C#.NET
C# DLLs: Move Word Page Position. Add references: Swap Two Word Pages Position Using C#. You may choose two pages of Word file and exchange their position.
change pdf page order; move pdf pages
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
splitting. C# DLLs: Move PowerPoint Page Position. C#. You may choose two pages of PowerPoint file and exchange their position. String
move pages within pdf; how to move pages within a pdf document
672
Part IV
Reference
Returns:
link—Ahyperlinkfortheitem(string,hyperlink)
Example:
-- Print item links for every item inthe buyback tab
fori=1,12 do
locallink = GetBuybackItemLink(i)
iflink then
print(link ..“ is availablefor buyback“)
end
end
GetCVar
Returns the value of aconfiguration variable.
string= GetCVar(“cvar“)
Causes an error if the named CVar does not exist.
Note that all values are returned asstrings: use oftonumber() may be
required if using a value in anumeric context. (See alsoGetCVarBool() for
binary values.)
Arguments:
cvar—Nameof aCVar(string)
Returns:
string—Valueof theCVar(any)
GetCVarAbsoluteMax
Returns the absolute maximum value allowedfor aconfiguration variable.
min= GetCVarAbsoluteMax(“cvar“)
Arguments:
cvar—Nameof aCVar(string)
Returns:
min—AbsolutemaximumvalueallowedfortheCVar(number)
GetCVarAbsoluteMin
Returns the absolute minimum value allowed for aconfiguration variable.
min= GetCVarAbsoluteMin(“cvar“)
Arguments:
cvar—Nameof aCVar(string)
Returns:
min—AbsoluteminimumvalueallowedfortheCVar(number)
GetCVarBool
Returns the value of aconfiguration variable ina format compatible withLua
conditional expressions.
value= GetCVarBool(“cvar“)
C# PDF insert text Library: insert text into PDF content in C#.net
int pageIndex = 0; // Move cursor to (400F, 100F). If you want to add a text string to PDF file, please try this C# demo. // Open a document.
how to move pages around in pdf file; reordering pages in pdf document
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Rapidly and multiple PDF document (pages) creation and edit methods append, and split PDF files; insert, delete, move, rotate, copy and paste PDF file page
how to rearrange pages in pdf using reader; pdf page order reverse
Chapter 27
API Reference
673
Allconfigurationvariables are stored asstrings; many CVarsrepresent the
state of abinary flag and are stored as either“1“ or“0“. This function
provides aconvenient way to test the state of such variables without the extra
syntax required to explicitly check for“1“ or“0“ values.
Arguments:
cvar—NameofaCVar(string)
Returns:
value1iftheCVar’svalueshouldbetreatedas true; nilifitshouldbe
treated as false (1nil)
GetCVarDefault
Returnsthe default value of aconfiguration variable.
value= GetCVarDefault(“CVar“)
Causesan error if the named CVar does not exist.
Arguments:
CVar—NameofaCVar(string)
Returns:
value—DefaultvalueoftheCVar(string)
GetCVarInfo
Returnsinformation about a configurationvariable.
value, defaultValue, serverStoredAccountWide,i
serverStoredPerCharacter= GetCVarInfo(“cvar“)
Arguments:
cvar—NameofaCVar(string)
Returns:
value—CurrentvalueoftheCVar(string)
defaultValue—DefaultvalueoftheCVar(string)
serverStoredAccountWide1iftheCVar’svalueissavedontheserver
and shared by all characterson the player’s account; otherwisenil
(1nil)
serverStoredPerCharacter1iftheCVar’svalueissavedonthe
server and specific to the current character; otherwisenil (1nil)
GetCVarMax
Returnsthe maximum recommendedvalue for aconfiguration variable.
max= GetCVarMax(“cvar“)
Used inthe default UIto set the upper bounds for options controlled by slider
widgets.
Arguments:
cvar—NameofaCVar(string)
Returns:
max—MaximumvalueallowedforthegivenCVar(number)
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
Certainly, random pages can be deleted from PDF file as well. PDF Page sorting. RasterEdge XDoc.PDF allows you to easily move PDF document pages position in VB
how to rearrange pages in a pdf file; pdf reorder pages
C# PDF Library SDK to view, edit, convert, process PDF file for C#
Rapidly load, create, convert and edit PDF document (pages) in C# append, and split PDF files; insert, delete, move, rotate, copy and paste PDF file page.
reorder pdf pages; how to rearrange pages in a pdf reader
674
Part IV
Reference
GetCVarMin
Returns the minimum recommendedvalue for aconfiguration variable.
min= GetCVarMin(“cvar“)
Used inthe default UI to set the lower bounds for options controlled by slider
widgets.
Arguments:
cvar—Nameof aCVar(string)
Returns:
min—MinimumvalueallowedfortheCVar(number)
GetCategoryInfo
Returns information about an achievement/statisticcategory.
name,parentID, flags =GetCategoryInfo(id)
Arguments:
id—ThenumericIDofanachievement/statisticcategory(number)
Returns:
name—Nameofthecategory(string)
parentID—IDoftheparentcategoryofwhichthisisasub-category,or-1ifthis
is a top-level category (number)
flags—Variousadditionalinformationaboutthecategory;currentlyunused
(0 for all existing categories) (bitfield)
GetCategoryList
Returns alist of allachievement categories.
categories=GetCategoryList()
Returns:
categories—AlistofachievementcategoryIDs(table)
GetCategoryNumAchievements
Returns the number of achievements/statistics to display in acategory.
numItems,numCompleted= GetCategoryNumAchievements(id)
Note thisfunctiondoesnot returnthe total number of achievements in a
category; it only returns the number to be displayedin the default UI.
Achievements may belong to acategory but not be counted for display:
e.g. among those which are part of aseries (100Quests Completed, 500Quests
Completed), only the achievement most recently completed andthe
achievement following it inthe seriesare shown.
Arguments:
id—ThenumericIDofanachievement/statisticcategory(number)
Returns:
numItems—Numberofachievementsorstatisticstodisplayinthecategory
(number)
numCompleted—Numberofcompletedachievementsinthecategory(or0for
statistics) (number)
Chapter 27
API Reference
675
GetChannelDisplayInfo
Returnsinformationabout an entry in the channel list display.
name,header,collapsed,channelNumber,count, active, category,i
voiceEnabled,voiceActive= GetChannelDisplayInfo(index)
Arguments:
index—Indexofanentryinthechannellistdisplay(between1and
GetNumDisplayChannels())(number)
Returns:
name—Nameofthechannelorheader(string)
header1iftheentryisagroupheader;otherwise nil(1nil)
collapsed1iftheentryisacollapsedgroupheader;otherwise nil(1nil)
channelNumber—Numberidentifyingthechannel(asreturnedby
GetChannelList()andusedby SendChatMessage()andotherchannelfunc-
tions) (number)
count—Numberofcharactersinthechannel(number)
active1ifthechanneliscurrentlyactive;otherwise nil.(Usedforspecial
server channels, e.g. ‘‘Trade’’ and ‘‘LookingForGroup‘‘, which canonly be used
under certain conditions) (1nil)
category—Categorytowhichthechatchannelbelongs(string)
CHANNEL_CATEGORY_CUSTOM—Customchannelscreatedbyplayers
CHANNEL_CATEGORY_GROUP—Groupchannels(party,raid,battleground)
CHANNEL_CATEGORY_WORLD—Worldchannels(General,Trade,etc.)
voiceEnabled1ifvoicechatisenabledforthechannel;otherwise nil
(1nil)
voiceActive1ifvoicechatisactiveforthechannel;otherwise nil(1nil)
GetChannelList
Returnsthe list of the channelsthe player has joined.
index, channel, ...= GetChannelList()
Returns:
index—Index ofthechannel(number)
channel—Nameofthechannel(string)
...—Additionalindex, channelpairsforeachchanneltheplayerhasjoined
(list)
GetChannelName
Returnsinformationabout a chat channel.
channel,channelName,instanceID=GetChannelName(channelIndex)ori
GetChannelName(“channelName“)
Arguments:
channelIndex—AchannelID(number)
channelName—Achannelname(string)
676
Part IV
Reference
Returns:
channel—IDofthechannel(number)
channelName—Nameofthechannel(string)
instanceID—Thechannel’sinstanceID,or0iftherearenotseparateinstances
of the channel. (number)
GetChannelRosterInfo
Returns information about acharacter inachat channel in the channellist
display.
name,owner,moderator,muted, active,enabled=i
GetChannelRosterInfo(index,rosterIndex)
Arguments:
index—Indexofachannelinthechannellistdisplay(between1and
GetNumDisplayChannels())(number)
rosterIndex—Indexofaparticipantinthechannel(between1and count,
wherecount=select(5,GetChannelDisplayInfo(index)) (number)
Returns:
name—Nameofthecharacter(string)
owner1ifthecharacteristhechannelowner;otherwise nil(1nil)
moderator1ifthecharacterisachannelmoderator;otherwise nil(1nil)
muted1ifthecharacterismuted;otherwise nil(1nil)
active1ifthecharacteriscurrentlyspeakinginthechannel;otherwise nil
(1nil)
enabled1ifthecharacterhasvoicechatactiveforthechannel;otherwise nil
(1nil)
Example:
-- Countsthe numberof players in the given channel who do nothave
-- voice chat enabled, and printsittochat.
-- This scriptshouldberun withthe“Chat“ windowopen and
-- achannelselected
localindex= GetSelectedDisplayChannel()
localcount= select(5,GetChannelDisplayInfo(index))
localactiveCount= 0
fori=1,count do
localactive =select(6, GetChannelRosterInfo(index,i))
ifactive then
activeCount=activeCount +1
end
end
print(activeCount ..“ of “..count..“ users havevoice chati
enabled in thischannel.“)
GetChatTypeIndex
Returns the numericindex corresponding to achat message type.
index= GetChatTypeIndex(“messageGroup“)
Chapter 27
API Reference
677
These indicesare used in the default UI to identify linesprinted in achat
window, allowing (for example) their color to be changed to match changes in
the player’scolor preferences.
Arguments:
messageGroup—Tokenidentifyingamessagetype(string,chatMsgType)
Returns:
index—Numericindexofthechattype(number)
GetChatWindowChannels
Returnsthe saved list of channels to which achat windowis subscribed.
channelName,channelId, ...= GetChatWindowChannels(index)
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
Returns:
channelName—Nameofthechannel(string)
channelId—Numericidforthechannel(number)
...—AdditionalchannelName, channelIdpairsforeachchannelbelonging
to the chat window (list)
GetChatWindowInfo
Returnsthe saved settings for a chat window.
name,fontSize, r, g, b,alpha, shown,locked,docked,i
uninteractable =GetChatWindowInfo(index)
These valuesreflect the settingssaved betweensessions, which are used by the
default UIto set upthe chat frames it displays.
Arguments:
index—Indexofthewindowyouwishyougetinformationon(startsat1)
(number)
Returns:
name—Nameofthechatwindow(string)
fontSize—Fontsizefortextdisplayedinthechatwindow(number)
r—Redcomponentofthewindow’sbackgroundcolor(0.0–1.0)(number)
g—Greencomponentofthewindow’sbackgroundcolor(0.0–1.0)(number)
b—Bluecomponentofthewindow’sbackgroundcolor(0.0–1.0)(number)
alpha—Alphavalue(opacity)ofthewindow’sbackground(0=fullytranspar-
ent,1 = fully opaque) (number)
shown1ifthewindowshouldbeshown;0ifitshouldbehidden(number)
locked1ifthewindowshouldbelocked;0ifitshouldbemovable/resizable
(number)
docked1ifthewindowshouldbedockedtothemainchatwindow;other-
wise 0 (number)
uninteractable1ifthewindowshouldignoreallmouseevents;otherwise0
(number)
678
Part IV
Reference
GetChatWindowMessages
Returns the savedlist of messagesto whicha chat window issubscribed.
...= GetChatWindowMessages(index)
Arguments:
index—Indexofachatframe(between1and NUM_CHAT_WINDOWS)(number)
Returns:
...—AlistofchatMsgTypesforwhichthechatwindowissubscribed(list)
GetClickFrame
Returns the Frame object associated withthe givenname.
frame= GetClickFrame(“name“)
Returns nil if there is no UIobject withthe name given, or if the named UI
object is not a Frame.
Arguments:
name—NameofaFrameorotherUIobject(string)
Returns:
frame—Areferencetothenamedframe(table)
GetCoinIcon
Returns an icon representing an amount of money.
icon =GetCoinIcon(amount)
Arguments:
amount—Amountofmoneyincopper(number)
Returns:
icon—Pathtoanicontexturerepresentingtheamount(string)
Interface\Icons\INV_Misc_Coin_01—SmallamountofGold
Interface\Icons\INV_Misc_Coin_02—LargeamountofGold
Interface\Icons\INV_Misc_Coin_03—SmallamountofSilver
Interface\Icons\INV_Misc_Coin_04—LargeamountofSilver
Interface\Icons\INV_Misc_Coin_05—SmallamountofCopper
Interface\Icons\INV_Misc_Coin_06—LargeamountofCopper
GetCoinText
Returns a localized string describing an amount of money.
coinText= GetCoinText(amount,“separator“)
Arguments:
amount—Amountofmoneyincopper(number)
separator—Stringtouseasseparator(’,‘isusedifnil)(string)
Returns:
coinText—Textdescriptionoftheamountusinglocalizednamesfor‘Gold’,
‘Silver’ and ‘Copper’ (string)
Documents you may be interested
Documents you may be interested