c# pdf viewer open source : Move pages in a pdf control software system azure windows .net console World%20of%20Warcraft%20Programming%20(2nd%20Edition)131-part1797

Chapter 29
Widget Reference 1269
OnScrollRangeChanged
Run whenthe scroll frame’s scroll position ischanged.
OnScrollRangeChanged(self,xOffset,yOffset)
Only runwhen the scroll position changes due to changesin the scroll child
frame’s dimensions, not when:SetHorizontalScroll() or
:SetVerticalScroll()iscalled.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(scrollframe)
xOffset—Newhorizontalscrollrange(inpixels,measuredfromtheleftmost
scroll position) (number)
yOffset—Newverticalscrollrange(inpixels,measuredfromthetopmost
scroll position) (number)
Example:
--Setthe min andmaxvalues of ascroll bar (Slider)basedon
--thescroll range
scrollFrame:SetScript(“OnScrollRangeChanged“,function(self,x, y)
verticalScrollBar:SetMinMaxValues(0,y)
end)
Thiswidget script isdefined for the following widget types: ScrollFrame
OnShow
Run whenthe frame becomes visible.
OnShow(self)
Thisscript handler runs whether the frame wasdirectly shown (viaits
:Show()method)orbecamevisibleduetoaparentframebeingshown.The
OnShowhandlerisnotruniftheframeisimplicitlyshownuponitscreation.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
Thiswidget script isdefined for the following widget types: Button,
CheckButton, ColorSelect, Cooldown, DressUpModel, EditBox, Frame,
GameTooltip, MessageFrame, Minimap, Model, MovieFrame, PlayerModel,
ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar,
TabardModel
OnSizeChanged
Run whena frame’ssize changes.
OnSizeChanged(self,width, height)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
width—Newwidthoftheframe(inpixels)(number)
height—Newheightoftheframe(inpixels)(number)
Thiswidget script isdefined for the following widget types: Button,
CheckButton, ColorSelect, Cooldown, DressUpModel, EditBox, Frame,
Move pages in a pdf - 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 change page order in pdf acrobat; how to reverse page order in pdf
Move pages in a pdf - 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
switch page order pdf; rearrange pages in pdf file
1270 Part IV
Reference
GameTooltip, MessageFrame, Minimap, Model, MovieFrame, PlayerModel,
ScrollFrame, ScrollingMessageFrame, SimpleHTML, Slider, StatusBar,
TabardModel
OnSpacePressed
Run when the space bar ispressedwhile the edit box has keyboard focus.
OnSpacePressed(self)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(editbox)
Thiswidget script isdefined for the following widget types: EditBox
OnStop
Run when the animation(or animation group) isstopped.
OnStop(self, requested)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun
(animation)
requestedTrueiftheanimationwasstoppedduetoacalltotheanimation’s
or group’s:Stop() method;false if the animation was stoppedfor other rea-
sons (boolean)
Thiswidget script isdefined for the following widget types: Alpha, Animation,
AnimationGroup, Path, Rotation, Scale, Translation
OnTabPressed
Run when the Tab key ispressed while the edit box has keyboard focus.
OnTabPressed(self)
Providing a handler for thisscript canbe useful for allowing the user to switch
quickly among severaledit boxes ina panel.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(editbox)
Thiswidget script isdefined for the following widget types: EditBox
OnTextChanged
Run when the edit box’s text is changed.
OnTextChanged(self,isUserInput)
Thisscript is run both when text is typed in the edit box (for each character
entered) and whenthe edit box’scontentsare changed via:SetText() (but
only if the text is actually changed).
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(exitbox)
isUserInputTrueifthetextchangedduetouserinput; falseifthetextwas
changed via:SetText() (boolean)
Thiswidget script isdefined for the following widget types: EditBox
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
how to move pages in a pdf file; pdf page order reverse
C# Word - Sort Word Pages Order in C#.NET
page reorganizing library control, developers can swap or adjust the order of all or several Word document pages, or just C# DLLs: Move Word Page Position.
move pages in pdf acrobat; move pdf pages in preview
Chapter 29
Widget Reference 1271
OnTextSet
Run whenthe edit box’s text is set programmatically.
OnTextSet(self)
Only runasa result of calling:SetText().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(editbox)
Thiswidget script isdefined for the following widget types: EditBox
OnTooltipAddMoney
Run whenan amount of money should be added to the tooltip.
OnTooltipAddMoney(self,amount, maxAmount)
Thishappenswhenthe tooltip isset to display anitem for which anamount of
money is displayed (e.g. an item with avendor sell price, or anequipped item
while the cursor is initem-repair mode).
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
amount—Amountofmoneytobeaddedtothetooltip(incopper)(number)
maxAmount—Asecondamountofmoneytobeaddedtothetooltip
(in copper); if non-nil, the first amount is treated as the minimum
and this amount as the maximum of a price range (number)
Example:
--Display theamount ofcopper that isaddedtothe tooltip
GameTooltip:HookScript(“OnTooltipAddMoney“, function(self,amount)
DEFAULT_CHAT_FRAME:AddMessage(format(“Money: %d“,amount))
end)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipCleared
Run whenthe tooltip ishidden or itscontent iscleared.
OnTooltipCleared(self)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetAchievement
Run whenthe tooltip isfilled with information about anachievement.
OnTooltipSetAchievement(self)
See:SetAchievement().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
C# PowerPoint - Sort PowerPoint Pages Order in C#.NET
library control, developers can swap or adjust the order of all or several PowerPoint document pages, or just change the C# DLLs: Move PowerPoint Page Position.
how to move pdf pages around; pdf rearrange pages
C# PDF File & Page Process Library SDK for C#.net, ASP.NET, MVC
RasterEdge XDoc.PDF allows you to easily move PDF document pages position, including sorting pages and swapping two pages. Copying and Pasting Pages.
how to reorder pdf pages in reader; change pdf page order reader
1272 Part IV
Reference
OnTooltipSetDefaultAnchor
Run when the tooltip is repositioned to its default anchor location.
OnTooltipSetDefaultAnchor(self)
Thishappens when(for example) mousing over aunit inthe 3D world.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetEquipmentSet
Run when the tooltip is filled with informationabout anequipment set.
OnTooltipSetEquipmentSet(self)
See:SetEquipmentSet().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetFrameStack
Run when the tooltip is filled with alist of framesunder the mouse cursor.
OnTooltipSetFrameStack(self)
See:SetFrameStack().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetItem
Run when the tooltip is filled with informationabout anitem.
OnTooltipSetItem(self)
See:GetItem() and the severalGameTooltip methodsfor filling the tooltip
with informationabout items from variousparts of the UI.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetQuest
Run when the tooltip is filled with informationabout a quest.
OnTooltipSetQuest(self)
SeeGameTooltip:SetHyperlink()to load the tooltip with information
about aquest.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
C# PDF insert text Library: insert text into PDF content in C#.net
int pageIndex = 0; // Move cursor to (400F, 100F). String outputFilePath = Program.RootPath + "\\" output.pdf"; doc.Save(outputFilePath);
how to reorder pages in pdf preview; pdf change page order acrobat
C# PDF Image Extract Library: Select, copy, paste PDF images in C#
Get image information, such as its location, zonal information, metadata, and so on. Able to edit, add, delete, move, and output PDF document image.
change pdf page order preview; reverse pdf page order online
Chapter 29
Widget Reference 1273
OnTooltipSetSpell
Run whenthe tooltip isfilled with informationabout aspell.
OnTooltipSetSpell(self)
See:SetSpell(),:SetSpellByID() and:GetSpell().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnTooltipSetUnit
Run whenthe tooltip isfilled with informationabout aunit.
OnTooltipSetUnit(self)
See:SetUnit() and:GetUnit().
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(gametooltip)
Thiswidget script isdefined for the following widget types: GameTooltip
OnUpdate
Run eachtime the screen is drawn by the game engine.
OnUpdate(self, elapsed)
Thishandler runsfor eachframe (notFrame) drawn—if WoW iscurrently
running at 27.5 frames per second, theOnUpdate handlers for every visible
Frame, Animationand AnimationGroup(ordescendantthereof)arerun
approximately every 2/55thsof a second. Therefore,OnUpdate handler canbe
useful for processeswhich need to be run very frequently or withaccurate
timing, but extensive processing in anOnUpdate handler canslow downthe
game’s framerate.
See the chapter ‘‘Responding to Graphic Updates with OnUpdate’’ for more
information.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
elapsed—NumberofsecondssincetheOnUpdatehandlerswerelastrun(likely
afraction of a second) (number)
Thiswidget script isdefined for the following widget types: Alpha, Animation,
AnimationGroup, Button, CheckButton, ColorSelect, Cooldown,
DressUpModel, EditBox, Frame, GameTooltip, MessageFrame, Minimap,
Model, MovieFrame, Path, PlayerModel, Rotation, Scale, ScrollFrame,
ScrollingMessageFrame, SimpleHTML, Slider, StatusBar, TabardModel,
Translation
OnUpdateModel
Run whena model changesor animates.
OnUpdateModel(self)
VB.NET PDF insert text library: insert text into PDF content in vb
Dim pageIndex As Integer = 0 ' Move cursor to (400F, 100F). Dim outputFilePath As String = Program.RootPath + "\\" output.pdf" doc.Save(outputFilePath).
reverse page order pdf; how to move pages within a pdf
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Rapidly and multiple PDF document (pages) creation and edit methods file formats; merge, append, and split PDF files; insert, delete, move, rotate, copy
how to rearrange pages in a pdf reader; how to rearrange pdf pages reader
1274 Part IV
Reference
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(model)
Thiswidget script isdefined for the following widget types: DressUpModel,
Model, PlayerModel, TabardModel
OnValueChanged
Run when the slider’sor statusbar’svalue changes.
OnValueChanged(self,value)
Run when the value is set programmatically withSlider:SetValue() or
StatusBar:SetValue(),aswellaswhenthevalueissetbytheuserdragging
the slider thumb.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
value—Newvalueofthesliderorthestatusbar(number)
Example:
-- Usea slidertomove aframeacross the centerofthe screen
localbutton= CreateFrame(“Button“, “TestButton“,UIParent,i
“UIPanelButtonTemplate2“)
localslider= CreateFrame(“Slider“, “TestSlider“,UIParent,i
“OptionsSliderTemplate“)
slider:SetPoint(“CENTER“,0,-60)
slider:SetWidth(400)
slider:SetMinMaxValues(-200, 200)
slider:SetValueStep(1)
slider:SetScript(“OnValueChanged“, function(self,value)
button:SetPoint(“CENTER“,value, 0)
end)
slider:SetValue(0)
Thiswidget script isdefined for the following widget types: Slider, StatusBar
OnVerticalScroll
Run when the scroll frame’s vertical scroll positionchanges.
OnVerticalScroll(self,offset)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(scrollframe)
offset—Newverticalscrollposition(inpixels,measuredfromthetopmost
scroll position) (number)
Thiswidget script isdefined for the following widget types: ScrollFrame
PostClick
Runimmediately following the button’sOnClick handler with the same
arguments.
PostClick(self,“button“,down)
Useful for processing clicks ona buttonwithout interfering withhandlers
inherited from a secure template. For further details, see the example under
OnClick.
Chapter 29
Widget Reference 1275
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(button)
button—Nameofthemousebuttonresponsiblefortheclickaction(string)
downTrueforamousebuttondownaction; falseforbuttonuporother
actions (boolean)
Thiswidget script isdefined for the following widget types: Button,
CheckButton
PreClick
Run immediately before the button’sOnClick handler withthe same
arguments.
PreClick(self, “button“,down)
Useful for processing clickson abuttonwithout interfering withhandlers
inherited from asecure template. For further details, see the example under
OnClick.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(button)
button—Nameofthemousebuttonresponsiblefortheclickaction(string)
downTrueforamousebuttondownaction; falseforbuttonuporother
actions (boolean)
Example:
<!--
Outsideof combat, changethebutton’sspell based onthe class youare
targeting.
-->
<PreClick>
ifInCombatLockdown()then
return
end
localclass =select(2, UnitClass(“target“))
localspell
ifclass==“WARRIOR“then
spell =“Blessingof Kings“
elseif class == “ROGUE“ then
spell =“Blessingof Might“
else
spell =“Blessingof Wisdom“
end
self:SetAttribute(“spell“,spell)
</PreClick>
Thiswidget script isdefined for the following widget types: Button,
CheckButton
CH A P T E R
30
Events Reference
To write an addon for World of Warcraft that can monitor changes in game
state, you must make use of game events. There are more than 400 differ-
ent events and while only a fraction of them will be used by any specific
addon, this chapter attempts to introduce each of the different events. In prac-
tice you should consult the online reference at
http://wowprogramming.com/
docs/events
for in-depth information about events (where available).
ACHIEVEMENT_EARNED
—Fires when the player earns an achievement
ACTIONBAR_HIDEGRID
—Fires when an item, spell or other entity that can be
placed into an action bar slot is removed from the cursor
ACTIONBAR_PAGE_CHANGED
—Fires when the main action bar changes pages
ACTIONBAR_SHOWGRID
—Fires when an item, spell or other entity that can be
placed into an action bar slot is picked up onto the cursor
ACTIONBAR_SLOT_CHANGED
—Fires when the contents of an action bar slot
change
ACTIONBAR_UPDATE_COOLDOWN
—Fires when the cooldown for an action bar
itembegins or ends
ACTIONBAR_UPDATE_STATE
—Fires when the state of an action bar item
changes
ACTIONBAR_UPDATE_USABLE
—Fires when an action becomes usable or
unusable
ACTIVE_TALENT_GROUP_CHANGED
—Fires when the player (with Dual Talent
Specialization enabled) switches talent builds
1277
1278 Part IV
Reference
ADDON_ACTION_FORBIDDEN
—Fires when a non-Blizzard addon attempts to
use a protected API
ADDON_LOADED
—Fires when an addon and its saved variables are loaded
AREA_SPIRIT_HEALER_IN_RANGE
—Fires when the player enters into the area
of effect of a spirit healer that periodically resurrects nearby playerunits
AREA_SPIRIT_HEALER_OUT_OF_RANGE
—Fires when the playerleaves the area
of effect of a spirit healer that periodically resurrects nearby playerunits
ARENA_OPPONENT_UPDATE
—Fires when the availability of information about
an arena opponent changes
ARENA_TEAM_INVITE_REQUEST
—Fires when the player is invited to join an
arena team
ARENA_TEAM_ROSTER_UPDATE
—Fires when roster detail information for one
of the player’s arena teams becomes available
ARENA_TEAM_UPDATE
—Fires when the playerjoins or leaves an arena team
AUCTION_BIDDER_LIST_UPDATE
—Fires when information becomes available
or changes for the list of auctions bid on by the player
AUCTION_HOUSE_CLOSED
—Fires when the player ends interaction with an
auction house
AUCTION_HOUSE_SHOW
—Fires when the player begins interaction with an
auction house
AUCTION_ITEM_LIST_UPDATE
—Fires when the information becomes avail-
able for the list of auction browse/search results
AUCTION_OWNED_LIST_UPDATE
—Fires when information becomes available
or changes for the list of auctions placed by the player
AUTOEQUIP_BIND_CONFIRM
—Fires when the playerattempts to equipan item
which will become soulbound in the process
AUTOFOLLOW_BEGIN
—Fires when the player starts following another
character
AUTOFOLLOW_END
—Fires when the player stops following another character
BAG_UPDATE
—Fires when the contents of one of the player’s containers
change
BAG_UPDATE_COOLDOWN
—Fireswhenthecooldownbeginsorends foran item
in one of the player’s containers
BANKFRAME_CLOSED
—Fires when the player ends interaction with a bank
BANKFRAME_OPENED
—Fires when the player begins interaction with a bank
Documents you may be interested
Documents you may be interested