c# pdf viewer open source : Rearrange pdf pages Library application component asp.net azure windows mvc World%20of%20Warcraft%20Programming%20(2nd%20Edition)127-part1792

Chapter 29
Widget Reference 1229
ScrollUp
Scrollsthe message frame’s contents up by two lines.
ScrollingMessageFrame:ScrollUp()
SetFadeDuration
Setsthe duration of the fade-out animationfor disappearing messages.
ScrollingMessageFrame:SetFadeDuration(duration)
For the amount of time amessage remains in the frame before beginning to
fade, see:SetTimeVisible().
Arguments:
duration—Durationofthefade-outanimationfordisappearingmessages(in
seconds) (number)
SetFading
Sets whether messages addedto the frame automatically fade out after a
period of time.
ScrollingMessageFrame:SetFading(fading)
Arguments:
fadingTruetocausemessagesaddedtotheframetoautomati-
cally fade out after a period of time;false to leave message visible
(boolean)
SetHyperlinksEnabled
Enables or disables hyperlink interactivity in the frame.
ScrollingMessageFrame:SetHyperlinksEnabled(enable)
The frame’shyperlink-related script handlerswill only be run if hyperlinks are
enabled.
Arguments:
enableTruetoenablehyperlinkinteractivityintheframe;falsetodisable
(boolean)
SetIndentedWordWrap
Setswhether long linesof text are indented when wrapping.
ScrollingMessageFrame:SetIndentedWordWrap(indent)
Arguments:
indentTruetoindentwrappedlinesoftext; falseotherwise
(boolean)
SetInsertMode
Setsthe position at whichnewmessages are added to the frame.
ScrollingMessageFrame:SetInsertMode(“position“)
Arguments:
position—Tokenidentifyingthepositionatwhichnewmessagesshouldbe
added to the frame (string)
Rearrange pdf pages - re-order PDF pages in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Customizing Page Order of PDF Document in C# Project
reordering pdf pages; moving pages in pdf
Rearrange pdf pages - 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 in pdf document; pdf reverse page order online
1230 Part IV
Reference
BOTTOM
TOP
SetMaxLines
Setsthe maximum number of messages to be kept inthe frame.
ScrollingMessageFrame:SetMaxLines(maxLines)
If additional messagesare added beyond this number, the oldest linesare
discarded and canno longer be seen by scrolling.
Arguments:
maxLines—Maximumnumberofmessagestobekeptintheframe(number)
SetScrollOffset
Setsthe message frame’s scroll position.
ScrollingMessageFrame:SetScrollOffset(offset)
Arguments:
offset—Numberoflinestoscrollbackfromtheendoftheframe’smessagehis-
tory (number)
SetTimeVisible
Setsthe amount of time for which amessage remains visible before beginning
to fade out.
ScrollingMessageFrame:SetTimeVisible(time)
For the duration of the fade-out animation, see:SetFadeDuration().
Arguments:
time—Amountoftimeforwhichamessageremainsvisiblebeforebeginningto
fade out (in seconds) (number)
UpdateColorByID
Updatesthe color of a set of messagesalready added to the frame.
ScrollingMessageFrame:UpdateColorByID(id,red,green, blue)
Used inthe default UI to allowcustomizationof chat window message colors
by type: each type of chat window message (party, raid, emote, system
message, etc) has anumeric identifier found inthe global tableChatTypeInfo;
this is passed asthe fifthargument to:AddMessage() when messages are
added to the frame, allowing them to be identified for recoloring via this
method.
Arguments:
id—Identifierforamessage’stype(assetwhenthemessageswereaddedtothe
frame) (number)
red—Redcomponentofthenewtextcolor(0.0-1.0)(number)
green—Greencomponentofthenewtextcolor(0.0-1.0)(number)
blue—Bluecomponentofthenewtextcolor(0.0-1.0)(number)
C# TIFF: How to Reorder, Rearrange & Sort TIFF Pages Using C# Code
C# TIFF - Sort TIFF File Pages Order in C#.NET. Reorder, Rearrange and Sort TIFF Document Pages in C#.NET Application. C# TIFF Page Sorting Overview.
rearrange pages in pdf; how to rearrange pages in pdf document
VB.NET TIFF: Modify TIFF File by Adding, Deleting & Sort TIFF
you want to change or rearrange current TIFF &ltsummary> ''' Sort TIFF document pages in designed powerful & profession imaging controls, PDF document, image
how to move pages within a pdf; how to rearrange pdf pages in preview
Chapter 29
Widget Reference 1231
EditBox
EditBoxes are used to allow the player to type text into a UI component. They inherit
from FontInstance as well as Frame in order to provide the needed support for
text display, and add methods for entering text, such as positioning a cursor within
text, establishing character limits, controlling whether text should be displayed in
password-fashion (with bullets substituted for the characters), manipulating an entry
history, or controlling and responding to changesinkeyboard focus.
The most commonusefor anEditBoxistoacceptchat inputfromthe player,butthey
are also used for commands, configurationand confirmation, such as requiring you to
type‘‘DELETE’’beforedestroyingavaluableitem,orenteringthenameofanewmacro.
Most EditBoxes are derived from ChatFrameEditBoxTemplate, or use the same
texturesto create avisible frame around the editable area.
EditBox has all the methods from
Frame and FontInstance, plus the
following:
AddHistoryLine
Adds aline of text to the edit box’sstored history.
EditBox:AddHistoryLine(“text“)
Once added, the user canquickly set the edit box’scontentsto one of these
linesby pressing the up or down arrow keys. (History linesare only accessible
viathe arrow keys if the edit boxis not inmulti-line mode.)
Arguments:
text—Texttobeaddedtotheeditbox’slistofhistorylines(string)
ClearFocus
Releaseskeyboard input focus from the edit box.
EditBox:ClearFocus()
GetAltArrowKeyMode
Returnswhether arrow keysare ignored by the edit box unlessthe Alt key is
held.
enabled=EditBox:GetAltArrowKeyMode()
Returns:
enabled1ifarrowkeysareignoredbytheeditboxunlesstheAltkeyisheld;
otherwise nil (1nil)
GetBlinkSpeed
Returnsthe rate at which the text insertion blinkswhenthe edit boxis focused.
duration= EditBox:GetBlinkSpeed()
Returns:
duration—Amountoftimeforwhichthecursorisvisibleduringeach‘‘blink’’
(in seconds) (number)
GetCursorPosition
Returnsthe current cursor position inside edit box.
position= EditBox:GetCursorPosition()
VB.NET PDF File & Page Process Library SDK for vb.net, ASP.NET
page directly. Moreover, when you get a PDF document which is out of order, you need to rearrange the PDF document pages. In these
pdf change page order; how to move pages in pdf acrobat
Online Merge PDF files. Best free online merge PDF tool.
Then press the button below and download your PDF. The perfect conversion tool. By dragging your pages in the editor area you can rearrange them or delete
how to move pages around in pdf; reorder pdf pages in preview
1232 Part IV
Reference
Returns:
position—Currentpositionofthekeyboardinputcursor(between0,forthe
position before the first character, andeditbox:GetNumLetters(), for the
position after the last character) (number)
GetHistoryLines
Returns the maximum number of history lines stored by the edit box.
count= EditBox:GetHistoryLines()
Returns:
count—Maximumnumberofhistorylinesstoredbytheeditbox(number)
GetIndentedWordWrap
Returns whether long lines of text are indented whenwrapping.
indent= EditBox:GetIndentedWordWrap()
Returns:
indent1iflonglinesoftextareindentedwhenwrapping;otherwise nil
(1nil)
GetInputLanguage
Returns the currently selected keyboard input language (character set / input
method).
language= EditBox:GetInputLanguage()
Applies to keyboard input methods, not in-game languages or client locales.
Returns:
language—Tokenrepresentingthecurrentkeyboardinputmethod(string)
GetMaxBytes
Returns the maximum number of bytesof text allowed in the edit box.
maxBytes= EditBox:GetMaxBytes()
Note: Unicode characters may consist of more than one byte each, so the
behavior of abyte limit may differ from that of acharacter limit inpractical
use.
Returns:
maxBytes—Maximumnumberoftextbytesallowedintheeditbox(number)
GetMaxLetters
Returns the maximum number of text characters allowed in the edit box.
maxLetters=EditBox:GetMaxLetters()
Returns:
maxLetters—Maximumnumberoftextcharactersallowedintheeditbox
(number)
GetNumLetters
Returns the number of text characters in the edit box.
numLetters=EditBox:GetNumLetters()
C# PowerPoint - How to Process PowerPoint
pages simply with a few lines of C# code. C# Codes to Sort Slides Order. If you want to use a very easy PPT slide dealing solution to sort and rearrange
reverse page order pdf online; how to reorder pages in pdf
VB.NET Word: How to Process MS Word in VB.NET Library in .NET
well programmed Word pages sorter to rearrange Word pages in extracting single or multiple Word pages at one & profession imaging controls, PDF document, image
how to move pages within a pdf document; how to rearrange pdf pages
Chapter 29
Widget Reference 1233
Returns:
numLetters—Numberoftextcharactersintheeditbox(number)
GetNumber
Returnsthe contents of the edit box as anumber.
num= EditBox:GetNumber()
Similar totonumber(editbox:GetText()); returns0 if the contentsof the
edit boxcannot be converted to a number.
Returns:
num—Contentsoftheeditboxasanumber(number)
GetText
Returnsthe edit box’s text contents.
text =EditBox:GetText()
Returns:
text—Textcontainedintheeditbox(string)
GetTextInsets
Returnsthe insets from the edit box’s edgeswhich determine itsinteractive
text area.
left,right, top,bottom =EditBox:GetTextInsets()
Returns:
left—Distancefromtheleftedgeoftheeditboxtotheleftedgeofitsinterac-
tive text area (in pixels) (number)
right—Distancefromtherightedgeoftheeditboxtotherightedgeofitsinter-
active text area (in pixels) (number)
top—Distancefromthetopedgeoftheeditboxtothetopedgeofitsinteractive
text area (in pixels) (number)
bottom—Distancefromthebottomedgeoftheeditbox tothe
bottom edge of its interactive text area (in pixels) (number)
GetUTF8CursorPosition
Returnsthe cursor’snumeric position in the edit box, taking UTF-8 multi-byte
character into account.
position= EditBox:GetUTF8CursorPosition()
If theEditBox contains multi-byte Unicode characters, the
GetCursorPosition()methodwillnotreturncorrectresults,asitconsiders
each eight byte character to count asa single glyph. Thismethod properly
returns the positioninthe edit box from the perspective of the user.
Returns:
position—Thecursor’snumericposition(leftmostpositionis
0), taking UTF8 multi-byte characters into account. (number)
HasFocus
Returnswhether the edit box is currently focused for keyboard input.
enabled=EditBox:HasFocus()
VB.NET PowerPoint: Sort and Reorder PowerPoint Slides by Using VB.
page will teach you to rearrange and readjust amount of robust PPT slides/pages editing methods and powerful & profession imaging controls, PDF document, image
how to reorder pages in pdf preview; how to move pages around in a pdf document
Process Images in Web Image Viewer | Online Tutorials
used document types are supported, including PDF, multi-page easy to process image and file pages with the deleting a thumbnail, and you can rearrange the file
how to move pages in a pdf; move pdf pages
1234 Part IV
Reference
Returns:
enabled1iftheeditboxiscurrentlyfocusedforkeyboardinput;otherwise
nil (1nil)
HighlightText
Selectsall or a portionof the text inthe edit box.
EditBox:HighlightText([start[, end]])
Arguments:
start(optional)—Characterpositionatwhichtobegintheselection(between
0, for the position before the first character, andeditbox:GetNumLetters(),
for the position after the last character); defaults to 0if not specified (number)
end(optional)—Characterpositionatwhichtoendtheselection;ifnotspecified
or if lessthanstart, selects all characters after thestart position; if equal to
start,selectsnothingandpositionsthecursoratthe startposition(number)
Insert
Inserts text into the edit box at the current cursor position.
EditBox:Insert(“text“)
Arguments:
text—Texttobeinserted(string)
IsAutoFocus
Returns whether the edit boxautomatically acquires keyboard input focus.
enabled =EditBox:IsAutoFocus()
Returns:
enabled1iftheeditboxautomaticallyacquireskeyboardinputfocus;other-
wisenil (1nil)
IsInIMECompositionMode
Returns whether the edit boxis in Input Method Editor composition mode.
enabled =EditBox:IsInIMECompositionMode()
Character compositionmode isused for input methods in whichmultiple
keypresses generate one printed character. Insuchinput methods, the edit
box’sOnChar script isrunfor eachkeypress—if theOnChar script should act
only whena complete character is entered inthe edit box,
:IsInIMECompositionMode()canbeusedtotestforsuchcases.
Thismode iscommon in clients for languages using non-Roman characters
(suchasChinese or Korean), but canstill occur inclient languages using
Romanscripts(e.g. English)—suchas whentyping accented characters onthe
Mac client (e.g. typing ‘‘option-u’’ then ‘‘e’’ to insert the character ‘‘¨e’’).
Returns:
enabled1iftheeditboxisinIMEcharactercompositionmode;otherwise nil
(1nil)
IsMultiLine
Returns whether the edit boxshowsmore than one line of text.
multiLine= EditBox:IsMultiLine()
Chapter 29
Widget Reference 1235
Returns:
multiLine1iftheeditboxshowsmorethanonelineoftext;otherwise nil
(1nil)
IsNumeric
Returnswhether the edit box only acceptsnumeric input.
enabled=EditBox:IsNumeric()
Returns:
enabled1ifonlynumericinputisallowed;otherwise nil(1nil)
IsPassword
Returnswhether the text entered in the edit box ismasked.
enabled=EditBox:IsPassword()
Returns:
enabled1iftextenteredintheeditboxismaskedwithasteriskcharacters(*);
otherwise nil (1nil)
SetAltArrowKeyMode
Setswhether arrow keysare ignored by the edit box unlessthe Alt key isheld.
EditBox:SetAltArrowKeyMode(enable)
Arguments:
enableTruetocausetheeditboxtoignorearrowkeypressesunlesstheAlt
key is held;false to allow unmodified arrow key presses for cursor movement
(boolean)
SetAutoFocus
Setswhether the edit box automatically acquireskeyboardinput focus.
EditBox:SetAutoFocus(enable)
If auto-focus behavior isenabled, the edit box automatically acquireskeyboard
focuswhenit is shownand whenno other edit boxisfocused.
Arguments:
enableTruetoenabletheeditboxtoautomaticallyacquirekeyboardinput
focus;false to disable (boolean)
SetBlinkSpeed
Setsthe rate at which the text insertionblinkswhen the edit box is focused.
EditBox:SetBlinkSpeed(duration)
The speed indicateshow long the cursor stays ineachstate (shownand
hidden); e.g. if the blink speedis 0.5 (the default, the cursor is shownfor one
half second andthenhiddenfor one half second (thus, aone-second cycle); if
the speed is 1.0, the cursor isshownfor one second and thenhiddenfor one
second (a two-second cycle).
Arguments:
duration—Amountoftimeforwhichthecursorisvisibleduringeach‘‘blink’’
(in seconds) (number)
1236 Part IV
Reference
SetCursorPosition
Setsthe cursor positioninthe edit box.
EditBox:SetCursorPosition(position)
Arguments:
position—Newpositionforthekeyboardinputcursor(between0,forthe
position before the first character, andeditbox:GetNumLetters(), for the
position after the last character) (number)
SetFocus
Focuses the edit box for keyboard input.
EditBox:SetFocus()
Only one edit box may be focused at atime; setting focusto one edit box will
remove it from the currently focusededit box.
SetHistoryLines
Setsthe maximum number of history lines stored by the edit box.
EditBox:SetHistoryLines(count)
Linesof text can be added to the edit box’s history by calling
:AddHistoryLine();onceadded,theusercanquicklysettheeditbox’s
contents to one of these linesby pressing the up or downarrow keys. (History
linesare only accessible via the arrowkeysif the edit box isnot in multi-line
mode.)
Arguments:
count—Maximumnumberofhistorylinestobestoredbytheeditbox(number)
SetIndentedWordWrap
Setswhether long linesof text are indented whenwrapping.
EditBox:SetIndentedWordWrap(indent)
Arguments:
indentTruetoindentwrappedlinesoftext; falseotherwise
(boolean)
SetMaxBytes
Setsthe maximum number of bytes of text allowed in the edit box.
EditBox:SetMaxBytes(maxBytes)
Attemptsto type more than this number into the edit box will produce no
results; programmatically inserting text or setting the edit box’stext will
truncate input to the maximum length.
Note: Unicode characters may consist of more than one byte each, so the beha-
vior of a byte limit may differ from that of a character limit in practical use.
Arguments:
maxBytes—Maximumnumberoftextbytesallowedintheeditbox,or0forno
limit (number)
Chapter 29
Widget Reference 1237
SetMaxLetters
Setsthe maximum number of text charactersallowed inthe edit box.
EditBox:SetMaxLetters(maxLetters)
Attempts to type more thanthis number into the edit box will produce no
results; programmatically inserting text or setting the edit box’stext will
truncate input to the maximum length.
Arguments:
maxLetters—Maximumnumberoftextcharactersallowedintheeditbox,or0
for no limit (number)
SetMultiLine
Setswhether the edit box showsmore thanone line of text.
EditBox:SetMultiLine(multiLine)
When in multi-line mode, the edit box’sheight is determined by the number of
linesshown andcannot be set directly—enclosing the edit box ina
ScrollFramemayproveusefulinsuchcases.
Arguments:
multiLineTruetoallowtheeditboxtodisplaymorethanonelineoftext;
falseforsingle-linedisplay(boolean)
SetNumber
Setsthe contentsof the edit box to a number.
EditBox:SetNumber(num)
Arguments:
num—Newnumericcontentfortheeditbox(number)
SetNumeric
Setswhether the edit box only accepts numeric input.
EditBox:SetNumeric(enable)
Note: an edit box innumeric mode onlyacceptsnumeralinput—allother
characters, including those commonly usedin numeric representations (such
as.,E and-) are not allowed.
Arguments:
enableTruetoallowonlynumericinput; falsetoallowanytext(boolean)
SetPassword
Setswhether the text entered inthe edit box ismasked.
EditBox:SetPassword(enable)
Arguments:
enableTruetomasktextenteredintheeditboxwithasterisk
characters (*);false to show the actual text entered (boolean)
1238 Part IV
Reference
SetText
Setsthe edit box’s text contents.
EditBox:SetText(“text“)
Arguments:
text—Texttobeplacedintheeditbox(string)
SetTextInsets
Setsthe insets from the edit box’s edgeswhichdetermine its interactive text
area.
EditBox:SetTextInsets(left,right, top,bottom)
Arguments:
left—Distancefromtheleftedgeoftheeditboxtotheleftedgeofitsinterac-
tive text area (in pixels) (number)
right—Distancefromtherightedgeoftheeditboxtotherightedgeofitsinter-
active text area (in pixels) (number)
top—Distancefromthetopedgeoftheeditboxtothetopedgeofitsinteractive
text area (in pixels) (number)
bottom—Distancefromthebottomedgeoftheeditboxtothe
bottom edge of its interactive text area (in pixels) (number)
ToggleInputLanguage
Switchesthe edit box’slanguage input mode.
EditBox:ToggleInputLanguage()
If the edit box is inROMAN mode and analternate Input Method Editor
compositionmode isavailable (as determined by the client locale and system
settings), switches to the alternate input mode. If the edit box is in IME
compositionmode, switches back toROMAN.
AnimationGroup
An AnimationGroup is how various animations are actually applied to a region; this
ishowdifferent behaviors canbe run insequence or inparallel with eachother, auto-
matically.Whenyou pause anAnimationGroup,it trackswhichof its childanimations
were playing and how far advanced they were, and resumes them from that point.
An Animation in a group has an order from 1 to 100, which determines when it
plays; once all animations with order 1 have completed, including any delays, the
AnimationGroup starts allanimations with order 2.
An AnimationGroup can also be set to loop, either repeating from the beginning
or playing backward back to the beginning. An AnimationGroup has an OnLoop
handler that allows you to call your own code back whenever a loop completes. The
:Finish()methodstopstheanimationafterthecurrentloophascompleted,rather
thanimmediately.
AnimationGroup has all the methods from ScriptObject and ParentedObject, plus
the following:
CreateAnimation
Creates an Animationasachild of thisgroup.
Documents you may be interested
Documents you may be interested