c# pdf viewer open source : Reordering pages in pdf document Library application class asp.net html web page ajax World%20of%20Warcraft%20Programming%20(2nd%20Edition)116-part1780

Chapter 28
API Categories 1119
VoiceChat_IsRecordingLoopbackSound—
Returns whether a Microphone
Test is recording
VoiceChat_PlayLoopbackSound—
Plays back the Microphone Test recording
VoiceChat_RecordLoopbackSound—
Begins recording a Microphone Test
VoiceChat_StopPlayingLoopbackSound—
Stops playingtheMicrophoneTest
recording
VoiceChat_StopRecordingLoopbackSound—
Stops recording a Microphone
Test
VoiceEnumerateCaptureDevices—
Returnsthenameofanaudioinputdevice
for voice chat
VoiceEnumerateOutputDevices—
Returns the name of an audio output
device for voice chat
VoiceGetCurrentCaptureDevice—
Returns the index of the current voice
capture device
VoiceGetCurrentOutputDevice—
Returns the index of the current voice out-
put device
VoiceIsDisabledByClient—
Returns whether the voice chat system cannot
be enabled
VoiceSelectCaptureDevice—
Selects an audio input device for voice chat
VoiceSelectOutputDevice—
Selects an audio output device for voice chat
Zone Information Functions
GetMinimapZoneText—
Returns the name of the current area (as displayed in
the Minimap)
GetRealZoneText—
Returns the ‘‘official’’ name of the zone or instance in
which the player is located
GetSubZoneText—
Returns the name of the minor area in which the player is
located
GetZonePVPInfo—
Returns PvP information about the current area
GetZoneText—
Returns the name of the zone in which the player is located
IsSubZonePVPPOI—
Returns whether the current area has PvP (or other)
objectives to be displayed
Reordering pages 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
change page order in pdf reader; pdf rearrange pages online
Reordering pages 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
how to rearrange pages in a pdf reader; move pages within pdf
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
PDF page inserting function, PDF page reordering function and PDF a series of pages, and random pages to be C#.NET Project DLLs for Deleting PDF Document Page.
change page order pdf; change pdf page order online
C# TIFF: C#.NET TIFF Document Viewer, View & Display TIFF Using C#
most common TIFF file page processing, like adding, deleting and reordering pages; Free to convert TIFF document to PDF document for management purpose; Able to
change pdf page order reader; rearrange pages in pdf document
CH A P T E R
29
Widget Reference
To respond to game events or interact withthe user inany way, anaddon must make
use of game widgets. This chapter provides a reference for the various widget types
that exist in World of Warcraft, along with the script handlers that can be used for
interaction withthe user.
Widget Types
There are more 25 different widget types available in the WoW user interface. This
section details these types along with the abstract types that are used to clarify the
hierarchy and inheritance of the various widget methods.
UIObject
UIObject is an abstract UIobject type that is used to group together methods that are
commontoall user interface types. All of the various userinterface elements in World
of Warcraft are derived from UIObject.
UIObject definesthe following methods:
GetName
Returnsthe widget object’s name.
name =UIObject:GetName()
Returns:
name—Nameof theobject(string)
GetObjectType
Returnsthe object’s widget type.
type =UIObject:GetObjectType()
1121
VB.NET TIFF: VB.NET Sample Codes to Sort TIFF File with .NET
Visual Basic .NET method for sorting pages from a multi-page TIFF (Tagged Image File), PDF, Microsoft Office Besides reordering this TIFF file using VB.NET
how to rearrange pdf pages in preview; how to reorder pages in pdf reader
C# Excel - Sort Excel Pages Order in C#.NET
C#.NET Excel document page reordering control SDK (XDoc.Excel) is a thread-safe .NET library that can be used to adjust the Excel document pages order.
how to rearrange pdf pages; how to move pages in pdf files
1122 Part IV
Reference
Returns:
type—Nameoftheobject’stype(e.g.Frame, Button, FontString,etc)
(string)
IsObjectType
Returns whether the object belongsto agivenwidget type.
isType= UIObject:IsObjectType(“type“)
Arguments:
type—Nameofanobjecttype(e.g.Frame, Button, FontString,etc)(string)
Returns:
isType1iftheobjectbelongstothegiventype(orasubtypethereof);other-
wisenil (1nil)
ParentedObject
ParentedObject is an abstract UI type that provides support for querying the parent
of a given object. Some object parents are set implicitly (such as in the case of font
stringsandtextures) whereasothersare set explicitly using theSetParent() method
provided by the Regionobject type.
ParentedObject hasall the methodsfrom UIObject, plusthe following:
GetParent
Returns the object’sparent object.
parent= ParentedObject:GetParent()
Returns:
parent—Referencetotheobject’sparentobject,orniliftheobjecthasnopar-
ent (uiobject)
ScriptObject
ScriptObject is an abstract UI type that provides support for scripts, such asOnLoad,
OnEventand OnFinished.Scriptscanbesettotriggerinresponsetosomewidget
event, or as a result of user interaction. The specific scripts that are supported vary
wildly from object to object, but all objects support setting, hooking and getting of
object scripts.
UIObject definesthe following methods:
GetScript
Returns the widget’s handler functionfor a script.
handler =ScriptObject:GetScript(“scriptType“)
Arguments:
scriptType—Ascripttype;seescriptsreferencefordetails(string)
Returns:
handler—Theobject’shandlerfunctionforthescripttype(function)
C# PDF File Merge Library: Merge, append PDF files in C#.net, ASP.
NET source code for combining multiple PDF pages together in PDF document splitting, PDF page reordering and PDF all those C#.NET PDF document page processing
rearrange pdf pages; pdf reorder pages online
C# Word - Delete Word Document Page in C#.NET
function, Word page inserting function, Word page reordering function and Word document splitting function. a single page, a series of pages, and random
reorder pages pdf; move pdf pages in preview
Chapter 29
Widget Reference 1123
HasScript
Returnswhether the widget supportsa script handler.
hasScript =ScriptObject:HasScript(“scriptType“)
Arguments:
scriptType—Ascripttype;seescriptsreferencefordetails(string)
Returns:
hasScript1ifthewidgetcanhandlethescript,otherwise nil(1nil)
HookScript
Securely hooks ascript handler.
ScriptObject:HookScript(“scriptType“,handler)
Equivalent tohooksecurefunc() for script handlers; allowsone to
‘‘post-hook’’ asecure handler without tainting the original.
The original handler willstill be called, but the handler supplied will also be
calledafter the original, withthe same arguments. Returnvaluesfrom the
suppliedhandler are discarded. Note that there is no API to remove a hook
from ahandler: any hooksapplied will remaininplace until the UIisreloaded.
If there was no prior script handler set, thenthis simply sets the newfunction
asthe handler for the script type.
Arguments:
scriptType—Nameofthescriptwhosehandlershouldbehooked(string)
handler—Afunctiontobecalledwheneverthescripthandlerisrun
(function)
Example:
--hooksthedefaultUI’s playerframetoinsert achat linktothe
--player’smost recentlycompleted achievementwhen shift-clicked
functionPlayerLink(self,button,down)
if (IsModifiedClick(“CHATLINK“)) then
locallink =
i
GetAchievementLink(select(1,GetLatestCompletedAchievements()))
ChatEdit_InsertLink(link)
end
end
PlayerFrame:HookScript(“OnClick“, PlayerLink)
SetScript
Setsthe widget’shandler function for ascript.
ScriptObject:SetScript(“scriptType“, handler)
Arguments:
scriptType—Ascripttype;seescriptsfordetails(string)
handler—Afunctiontobecomethewidget’shandlerforthescripttype
(function)
C# PowerPoint - Delete PowerPoint Document Page in C#.NET
PowerPoint page insert function, PowerPoint page reordering function and PowerPoint document splitting function a single page, a series of pages, and random
pdf move pages; how to move pages within a pdf document
VB.NET Word: Change Word Page Order & Sort Word Document Pages
see in following VB.NET Word page reordering API is from this VB.NET Word pages sorting function powerful & profession imaging controls, PDF document, image to
change page order pdf preview; reorder pdf pages online
1124 Part IV
Reference
Region
Region is the basic type for anything that can occupy an area of the screen. As such,
Frames, Textures and FontStrings are all various kinds of Region. Region provides
most of the functions that support size, position and anchoring, including animation.
It is a ‘‘real virtual’’ type; it cannot be instantiated, but objects can return true when
asked if they are Regions.
Region has allthe methods from ParentedObject, plus the following:
CanChangeProtectedState
Returns whether protected propertiesof the regioncan be changedby
non-secure scripts.
canChange= Region:CanChangeProtectedState()
Addon scriptsare allowed to change protected propertiesfor non-secure
frames, or for secure frames while the player is not incombat.
Returns:
canChange1ifaddonscriptsarecurrentlyallowedtochangepro-
tected properties of the region (e.g. showing or hiding it, changing its
position, or altering frame attributes); otherwisenil (value, 1nil)
ClearAllPoints
Removesall anchor points from the region.
Region:ClearAllPoints()
CreateAnimationGroup
Creates anewAnimationGroup asa child of the region.
animationGroup=i
Region:CreateAnimationGroup([“name“[,“inheritsFrom“]])
Arguments:
name(optional)—Aglobalnametouseforthenewanimationgroup(string)
inheritsFrom(optional)—Templatefromwhichthenewanimationgroup
should inherit (string)
Returns:
animationGroup—ThenewlycreatedAnimationGroup(animgroup)
GetAnimationGroups
Returns a list of animation groupsbelonging to the region.
...= Region:GetAnimationGroups()
Returns:
...—AlistofAnimationGroupobjectsforwhichtheregionisparent(list)
GetBottom
Returns the distance from the bottom of the screen to the bottom of the region.
bottom= Region:GetBottom()
C# TIFF: How to Insert & Add Page(s) to TIFF Document Using C#
to add a new page and pages to Tiff As an excellent image and document viewing and processing to do Tiff image rotating, deleting, reordering, extracting, etc.
reverse page order pdf; change page order in pdf online
Chapter 29
Widget Reference 1125
Returns:
bottom—Distancefromthebottomedgeofthescreentothebottomedgeofthe
region (in pixels) (number)
GetCenter
Returnsthe screencoordinates of the region’scenter.
x,y =Region:GetCenter()
Returns:
x—Distancefromtheleftedgeofthescreentothecenteroftheregion(inpixels)
(number)
y—Distancefromthebottomedgeofthescreentothecenteroftheregion(in
pixels) (number)
GetHeight
Returnsthe height of the region.
height =Region:GetHeight()
Returns:
height—Heightoftheregion(inpixels)(number)
GetLeft
Returnsthe distance from the left edge of the screen to the left edge of the
region.
left =Region:GetLeft()
Returns:
left—Distancefromtheleftedgeofthescreentotheleftedgeoftheregion(in
pixels) (number)
GetNumPoints
Returnsthe number of anchor pointsdefined for the region.
numPoints =Region:GetNumPoints()
Returns:
numPoints—Numberofdefinedanchorpointsfortheregion(number)
GetPoint
Returnsinformationabout one of the region’sanchor points.
point, relativeTo,relativePoint,xOffset,yOffset=i
Region:GetPoint(index)
Arguments:
index—Indexofananchorpointdefinedfortheregion(between1and
region:GetNumPoints())(number)
Returns:
point—Pointonthisregionatwhichitisanchoredtoanother(string,anchor-
Point)
1126 Part IV
Reference
relativeTo—Referencetotheotherregiontowhichthisregionisanchored
(region)
relativePoint—Pointontheotherregiontowhichthisregionisanchored
(string
, anchorPoint)
xOffset—Horizontaldistancebetweenpointand relativePoint(inpix-
els; positive values putpoint to the right ofrelativePoint) (number)
yOffset—Verticaldistancebetweenpointand relativePoint(in
pixels; positive values putpoint belowrelativePoint) (number)
GetRect
Returns the positionand dimensions of the region.
left,bottom, width,height =Region:GetRect()
Returns:
left—Distancefromtheleftedgeofthescreentotheleftedgeoftheregion(in
pixels) (number)
bottom—Distancefromthebottomedgeofthescreentothebottomofthe
region (in pixels) (number)
width—Widthoftheregion(inpixels)(number)
height—Heightoftheregion(inpixels)(number)
GetRight
Returns the distance from the left edge of the screen to the right edge of the
region.
right= Region:GetRight()
Returns:
right—Distancefromtheleftedgeofthescreentotherightedgeoftheregion
(in pixels) (number)
GetTop
Returns the distance from the bottom of the screen to the topof the region.
top= Region:GetTop()
Returns:
top—Distancefromthebottomedgeofthescreentothetopedgeoftheregion
(in pixels) (number)
GetWidth
Returns the widthof the region.
width= Region:GetWidth()
Returns:
width—Widthoftheregion(inpixels)(number)
IsDragging
Returns whether the regioniscurrently being dragged.
isDragging=Region:IsDragging()
Chapter 29
Widget Reference 1127
Returns:
isDragging1iftheregion(oritsparentorancestor)iscurrentlybeing
dragged; otherwisenil (1nil)
IsProtected
Returnswhether the regionis protected.
isProtected,explicit= Region:IsProtected()
Non-secure scripts may change certainproperties of aprotected region (e.g.
showing or hiding it, changing its position, or altering frame attributes) only
while the player isnot in combat. Regionsmay be explicitly protected by
Blizzard scripts or XML; other regionscan become protected by becoming
children of protected regions or by being positionedrelative to protected
regions.
Returns:
isProtected1iftheregionisprotected;otherwise nil(value,1nil)
explicit1iftheregionisexplicitlyprotected;niliftheframeisonly
protected due to relationship with a protected region (value, 1nil)
SetAllPoints
Setsall anchor points of the region to match those of another region.
Region:SetAllPoints([region])orRegion:SetAllPoints([“name“])
If no regionisspecified, the region’s anchor points are set to those of itsparent.
Arguments:
region(optional)—Referencetoaregion(region)
name(optional)—Globalnameofaregion(string)
SetHeight
Setsthe region’sheight.
Region:SetHeight(height)
Arguments:
height—Newheightfortheregion(inpixels);if0,causestheregion’sheight
to be determined automatically according to its anchor points (number)
SetParent
Makesanother frame the parent of thisregion.
Region:SetParent(frame)or Region:SetParent(“name“)
Arguments:
frame—Thenewparentframe(frame)
name—Globalnameofaframe(string)
SetPoint
Setsananchor point for the region.
Region:SetPoint(“point“[, relativeTo [, “relativePoint“i
[,xOffset [, yOffset]]]])
1128 Part IV
Reference
Arguments:
point—Pointonthisregionatwhichitistobeanchoredtoanother(string,
anchorPoint)
relativeTo(optional)—Referencetotheotherregiontowhichthisregion
isto be anchored; ifnil
or omitted, anchors the regionrelative to its parent
(or to the screen dimensions if the regionhas no parent) (region)
relativePoint(optional)—Pointontheotherregiontowhichthisregionis
to be anchored; ifnil or omitted, defaults to the same value aspoint (string,
anchorPoint)
xOffset(optional)—Horizontaldistancebetween pointand relativePoint
(inpixels; positive values putpoint to the right ofrelativePoint); ifnil or
omitted, defaults to0 (number)
yOffset(optional)—Verticaldistancebetween pointand relativePoint(in
pixels; positive values putpoint belowrelativePoint); ifnil or omitted,
defaults to 0 (number)
Example:
-- Createa sampleframeand giveita visiblebackgroundcolor
localframe= CreateFrame(“Frame“,“TestFrame“, UIParent)
localbackground=i
frame:CreateTexture(“TestFrameBackground“, “BACKGROUND“)
background:SetTexture(1,1,1, 0.25)
background:SetAllPoints()
-- Setthetop leftcorner 5pxto therightand 15pxaboveUIParent’s
-- topleft corner
frame:SetPoint(“TOPLEFT“,5,15)
-- Setthebottom edgetobe10pxbelowWorldFrame’s center
frame:SetPoint(“BOTTOM“,WorldFrame,“CENTER“, 0, -10)
-- Settherightedgetobe 20px tothe leftofWorldFrame’srightedge
frame:SetPoint(“RIGHT“, WorldFrame,-20, 0)
SetWidth
Setsthe region’s width.
Region:SetWidth(width)
Arguments:
width—Newwidthfortheregion(inpixels);if0,causestheregion’swidth
to be determined automatically according to its anchor points(number)
StopAnimating
Stops any active animations involving the region or its children.
Region:StopAnimating()
Documents you may be interested
Documents you may be interested