c# pdf viewer open source : How to move pages within a pdf control Library platform web page asp.net .net web browser World%20of%20Warcraft%20Programming%20(2nd%20Edition)129-part1794

Chapter 29
Widget Reference 1249
local c = path:CreateControlPoint()
local d = path:CreateControlPoint()
path:SetCurve(“SMOOTH“)
path:SetDuration(4.0)
a:SetOffset(70, 0)
a:SetOrder(1)
b:SetOffset(75, -75)
b:SetOrder(2)
c:SetOffset(0, -75)
c:SetOrder(3)
d:SetOffset(0, 0)
d:SetOrder(4)
PortraitBox:Play()
Path has all the methodsfrom Animation, plusthe following:
CreateControlPoint
Createsa new control point for the givenpath.
Path:CreateControlPoint([“name“[, “template“ [, order]]])
Arguments:
name(optional)—Thenameoftheobject(string)
template(optional)—Thetemplatefromwhichthenewpointshouldinherit
(string)
order(optional)—Theorderofthenewcontrolpoint(number)
GetControlPoints
Returnsthe control points that belong to agiven path.
...= Path:GetControlPoints()
Returns:
...—AlistofControlPointobjectsthatbelongtothegivenpath.
(ControlPoint)
GetCurve
Returnsthe curveType of the givenpath.
curveType =Path:GetCurve()
Returns:
curveType—Thecurvetypeforthegivenpath(string)
NONE-Thecontrolpointsareusedliterally.
SMOOTH-Thecontrolpointsareusedwithasmoothingfunctionthatmaygive
amore pleasing animation.
GetMaxOrder
Returnsthe maximum order of the control pointsbelonging to a givenpath.
max= Path:GetMaxOrder()
Returns:
max—Themaximumorderofthecontrolpointsbelongingtothegivenpath.
This canbe used to determine how many pointsa path contains. (number
)
How to move pages within 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
rearrange pdf pages reader; pdf reverse page order
How to move pages within 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
rearrange pages in pdf; move pages in a pdf file
1250 Part IV
Reference
SetCurve
Setsthe curve type for the path animation.
Path:SetCurve(“curveType“)
Arguments:
curveType—Thecursetypeforthegivenpath(string)
NONE-Thecontrolpointsareusedliterally.
SMOOTH-Thecontrolpointsareusedwithasmoothingfunctionthatmaygive
amore pleasing animation.
ControlPoint
ControlPoint is a special type of UIObject that represent a point in a Path
Animation. The offset for eachcontrol point isfrom the origin of the animated Region.
See Pathfor more details.
ControlPoint has all the methods from ParentedObject, plus the following:
GetOffset
Returns the offset for the control point.
x, y= ControlPoint:GetOffset()
Returns:
x—Thexcoordinateoffsetforthecontrolpoint(number)
y—Theycoordinateoffsetforthecontrolpoint(number)
GetOrder
Returns the order of the control point in apath animation.
order= ControlPoint:GetOrder()
Whenthe parent pathanimationplays, the control points with alower number
are traversed before those witha higher number. Control points must have
distinct order indices, and these willbe assigned automatically as new points
are created.
Returns:
order—Positionatwhichthecontrolpointwillbetraversedrelative
to others in the same path animation (between 0 and 100) (number)
SetOffset
Setsthe offset for the control point.
ControlPoint:SetOffset(x,y)
Arguments:
x—Thexcoordinateoffsetforthecontrolpoint(number)
y—Theycoordinateoffsetforthecontrolpoint(number)
SetOrder
Setsthe order of the control point ina pathanimation.
ControlPoint:SetOrder(order)
Whenthe parent pathanimationplays, the control points with alower number
are traversed before those witha higher number. Control points must have
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Able to add and insert one or multiple pages to existing adobe PDF of adding and inserting a new blank page to the existing PDF document within a well
change page order in pdf online; how to move pages around in a pdf document
C# PowerPoint - How to Process PowerPoint
It enables you to move out useless PowerPoint document pages simply with a dealing solution to sort and rearrange PowerPoint slides order within C#.NET
how to reorder pages in pdf online; reorder pages pdf
Chapter 29
Widget Reference 1251
distinct order indices, and these will be assigned automatically asnewpoints
are created.
Arguments:
order—Positionatwhichthecontrolpointwillbetraversedrelative
to others in the same path animation (between 0 and 100) (number)
SetParent
Setsa new path animationparent for a control point.
ControlPoint:SetParent([path[, order]])ori
ControlPoint:SetParent([“path“ [, order]])
Arguments:
path(optional)—Thepathobjecttobesetasparent.(table)
path(optional)—Thenameofapathobjecttobesetasparent.(string)
order(optional)—Theorderindextosetforthecontrolpointinthenewparent
animation. (number)
Rotation
Rotation is an Animation that automatically applies an affine rotation to the region
being animated. You can set the origin around which the rotation is being done, and
the angle of rotationineither degreesor radians.
Rotationanimations have no effect onFontStrings.
Rotationhasall the methods from Animation, plus the following:
GetDegrees
Returnsthe animation’s rotationamount (indegrees).
degrees=Rotation:GetDegrees()
Returns:
degrees—Amountbywhichtheregionrotatesovertheanimation’sduration
(in degrees; positive values for counter-clockwise rotation, negative for clock-
wise) (number)
GetOrigin
Returnsthe rotationanimation’sorigin point.
point, xOffset, yOffset =Rotation:GetOrigin()
During arotation animation, the originpoint remains inplace while the
positionsof all other points inthe scaled region are moved according to the
rotation amount.
Returns:
point—Anchorpointfortherotationorigin(string,anchorPoint)
xOffset—Horizontaldistancefromtheanchorpointtotherotationorigin(in
pixels) (number)
yOffset—Verticaldistancefromtheanchorpointtotherotationorigin(inpix-
els) (number)
GetRadians
Returnsthe animation’s rotationamount (inradians).
radians=Rotation:GetRadians()
C# TIFF: C#.NET Code to Process TIFF, RasterEdge XDoc.Tiff for .
Our supported image and document formats are: TIFF, JPEG, GIF, BMP, PNG, PDF, Word and DICOM. It represents a high-level model of the pages within a Tiff file.
reorder pages of pdf; reorder pages in pdf reader
C# TIFF: How to Delete Page(s) from Multi-page TIFF File Using
Word, Excel, PowerPoint to Tiff. Convert PDF to Tiff. Page Edit. Insert Pages into Tiff File. Delete Tiff Pages. Move Tiff Page Position. Rotate a Tiff Page. Extract
pdf change page order online; how to move pages in pdf acrobat
1252 Part IV
Reference
Returns:
radians—Amountbywhichtheregionrotatesovertheanimation’sduration
(in radians; positive valuesfor counter-clockwise rotation, negative for clock-
wise) (number)
SetDegrees
Setsthe animation’s rotationamount (indegrees).
Rotation:SetDegrees(degrees)
Arguments:
degrees—Amountbywhichtheregionshouldrotateovertheanimation’s
duration (indegrees; positive values for counter-clockwise rotation, negative for
clockwise) (number)
SetOrigin
Setsthe rotationanimation’sorigin point.
Rotation:SetOrigin(“point“,xOffset,yOffset)
During arotation animation, the originpoint remains in place while the
positions of all other points in the scaledregionare moved according to the
rotationamount.
Arguments:
point—Anchorpointfortherotationorigin(string,anchorPoint)
xOffset—Horizontaldistancefromtheanchorpointtotherotationorigin(in
pixels) (number)
yOffset—Verticaldistancefromtheanchorpointtotherotationorigin(inpix-
els) (number)
SetRadians
Setsthe animation’s rotationamount (inradians).
Rotation:SetRadians(radians)
Arguments:
radians—Amountbywhichtheregionshouldrotateovertheanimation’s
duration (inradians; positive valuesfor counter-clockwise rotation, negative for
clockwise) (number)
Scale
Scale is an Animation type that automatically applies an affine scalar transformation
to the regionbeing animatedasit progresses. You cansetboth the multiplier by which
it scales, and the point from which it is scaled.
Scale animations are not appliedto FontStrings.
Scale has allthe methods from Animation, plusthe following:
GetOrigin
Returns the scale animation’s originpoint.
point,xOffset, yOffset= Scale:GetOrigin()
C# Image: C# Code to Encode & Decode JBIG2 Images in RasterEdge .
images codec into PDF documents for a better PDF compression; RasterEdge JBIG2 codec SDK controls within C# project Move license text to the new project folder
change page order in pdf file; move pages in pdf file
C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
Thumbnails can be created from PDF pages. quickly convert a large-size multi-page PDF document to of high-quality separate JPEG image files within .NET projects
pdf change page order; change page order pdf
Chapter 29
Widget Reference 1253
During ascale animation, the origin point remains in place while the positions
of all other points inthe scaledregion are moved according to the scale factor.
Returns:
point—Anchorpointforthescaleorigin(string,anchorPoint)
xOffset—Horizontaldistancefromtheanchorpointtothescaleorigin(inpix-
els) (number)
yOffset—Verticaldistancefromtheanchorpointtothescaleorigin(inpixels)
(number)
GetScale
Returnsthe animation’s scaling factors.
xFactor,yFactor= Scale:GetScale()
At the end of the scale animation, the animated region’s dimensionsare equal
to its initial dimensions multiplied by itsscaling factors.
Returns:
xFactor—Horizontalscalingfactor(number)
yFactor—Verticalscalingfactor(number)
SetOrigin
Setsthe scale animation’sorigin point.
Scale:SetOrigin(“point“,xOffset, yOffset)
During ascale animation, the origin point remains in place while the positions
of all other points inthe scaledregion are moved according to the scale factor.
Arguments:
point—Anchorpointforthescaleorigin(string,anchorPoint)
xOffset—Horizontaldistancefromtheanchorpointtothescaleorigin(inpix-
els) (number)
yOffset—Verticaldistancefromtheanchorpointtothescaleorigin(inpixels)
(number)
SetScale
Setsthe animation’s scaling factors.
Scale:SetScale(xFactor,yFactor)
At the end of the scale animation, the animated region’s dimensionsare equal
to its initial dimensions multiplied by itsscaling factors.
Arguments:
xFactor—Horizontalscalingfactor(number)
yFactor—Verticalscalingfactor(number)
Translation
Translationis anAnimationtypethat appliesanaffinetranslationto itsaffected region
automatically as it progresses. You can set the offset in both the X and Y dimensions.
Translationscan be applied normally to both Texturesand FontStrings.
C# HTML5 PDF Viewer SDK to view PDF document online in C#.NET
Page: Replace PDF Pages. Page: Move Page Position. Page: Extract View PDF document in continuous pages display mode Search text within file by using Ignore case or
reordering pages in pdf document; rearrange pages in pdf reader
C# Word - Process Word Document in C#
It enables you to move out useless Word document pages simply with a You are capable of extracting pages from Microsoft Word document within C#.NET
move pdf pages; how to move pages around in pdf
1254 Part IV
Reference
Translation hasall the methodsfrom Animation, plus the following:
GetOffset
Returns the animation’s translation offsets.
xOffset,yOffset =Translation:GetOffset()
Returns:
xOffset—Distanceawayfromtheleftedgeofthescreen(inpixels)
to move the region over the animation’s duration (number)
yOffset—Distanceawayfromthebottomedgeofthescreen(inpix-
els) to move the region over the animation’s duration (number)
SetOffset
Setsthe animation’s translation offsets.
Translation:SetOffset(xOffset,yOffset)
Arguments:
xOffset—Distanceawayfromtheleftedgeofthescreen(inpixels)
to move the region over the animation’s duration (number)
yOffset—Distanceawayfromthebottomedgeofthescreen(inpix-
els) to move the region over the animation’s duration (number)
Alpha
Alpha is a type of animation that automatically changes the transparency level of its
attached region as it progresses. You can set the degree by which it will change the
alphaasa fraction; for instance, achange of -1 willfade out aregioncompletely.
Alpha hasall the methodsfrom Animation, plus the following:
GetChange
Returns the animation’s amount of alpha (opacity) change.
change= Alpha:GetChange()
Aregion’s alphavalue can be between0 (fully transparent) and1 (fully
opaque); thus, an animation whichchangesalpha by 1will alwaysincrease the
regionto full opacity, regardless of the region’s existing alpha (andan
animation whose change amount is -1 will reduce the regionto fully
transparent).
Returns:
change—Amountbywhichtheregion’salphavaluechangesovertheanima-
tion’s duration (between-1
and1) (number)
SetChange
Setsthe animation’s amount of alpha(opacity) change.
Alpha:SetChange(change)
Aregion’s alphavalue can be between0 (fully transparent) and1 (fully
opaque); thus, an animation whichchangesalpha by 1will alwaysincrease the
VB.NET PDF- View PDF Online with VB.NET HTML5 PDF Viewer
Page: Replace PDF Pages. Page: Move Page Position. Page: Copy View PDF document in continuous pages display mode. Search text within file by using Ignore case or
how to move pages in pdf converter professional; how to move pages around in pdf file
VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
NET code. All PDF pages can be converted to separate Word files within a short time in VB.NET class application. In addition, texts
how to rearrange pages in pdf using reader; move pages in pdf document
Chapter 29
Widget Reference 1255
regionto full opacity, regardless of the region’s existing alpha(and an
animationwhose change amount is-1 willreduce the regionto fully
transparent).
Arguments:
change—Amountbywhichtheregion’salphavalueshouldchange
over the animation’s duration (between -1 and1) (number)
Widget Scripts
Widget scripts allow you to respond to user interaction and other types of widget
events(suchasaframe beingshownor hidden).Thissectiondetailsthe variouswidget
scriptsthat are available, and the list of widget types for which eachscript is valid.
OnAnimFinished
Run whenthe model’sanimationfinishes.
OnAnimFinished(self)
Only runfor models whichdo not repeat their animations(e.g. the model used
for the ‘‘icon falling into bag’’animationwhichappearsabove the default UI’s
bag buttonswhen looting or purchasing items).
Only used for animations internaltoModel objects; for widget animations, see
OnFinished.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(model)
Thiswidget script isdefined for the following widget types: DressUpModel,
Model, PlayerModel, TabardModel
OnAttributeChanged
Run whena frame attribute is changed.
OnAttributeChanged(self,“name“,value)
Attributesare used by the secure template system; see here for more details.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
name—Nameofthechangedattribute,alwayslowercase(string)
value—Newvalueoftheattribute(value)
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
OnChar
Run for eachtext character typedin the frame.
OnChar(self,“text“)
1256 Part IV
Reference
Thisscript isrun for eachcharacter produced, not necessarily eachkey pressed.
For example, on Windowscomputers, holding ALT while typing 233 on the
number pad will enter the character ‘‘´e’’; theOnChar script isrunwith“´e“ as
the second argument. Note that WoW usesthe Unicode (UTF-8) encoding, so a
string containing a single visible character may have alength greater than 1.
If ablock of text is inserted into a frame (e.g. when inserting ahyperlink), the
script is run once with the entire text asthe second argument. Only runfor
EditBoxes or framesfor whichkeyboard input is enabled.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
text—Thetextentered(string)
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
OnCharComposition
Run when the edit box’s input composition mode changes.
OnCharComposition(self,“text“)
Primarily used ininternational clientsthat can use IME composition.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
text—Partialtextinthecharactercompositionmode(string)
Thiswidget script isdefined for the following widget types: EditBox
OnClick
Run when the button is clicked.
OnClick(self,“button“, down)
By default, thisscript isonly runfor the left mouse button’s ‘‘up’’ action; the
:RegisterForClicks()methodcanbecalledtoenablethebuttontorespond
to other buttonsand actions.
Using or hooking theOnClick handler may not always be useful or desirable;
thePreClick andPostClick scriptsare provided for such purposes.
Moving the mouse away from the button before releasing it will not run the
PreClick/OnClick/PostClickhandlers,butwillstillruntheOnMouseUp
handler.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(button)
button—Nameofthemousebuttonresponsiblefortheclickaction(string)
downTrueforamousebuttondownaction; falseforbuttonuporother
actions (boolean)
Chapter 29
Widget Reference 1257
Example:
--Illustratesthe timingof mousescripthandlers whenclicking
--a button
localb =CreateFrame(“Button“,“TestButton“,UIParent,i
“UIPanelButtonTemplate2“)
b:SetPoint(“CENTER“)
b:RegisterForClicks(“AnyUp“, “AnyDown“)
localupDown ={ [false]= “Up“,[true]= “Down“}
localfunctionshow(text,color)
DEFAULT_CHAT_FRAME:AddMessage(text,color,color, color)
end
localcolor
b:SetScript(“OnMouseDown“,function(self, button)
color= .60
show(format(“OnMouseDown:%s“, button),color,color, color)
end)
b:SetScript(“OnMouseUp“,function(self,button)
color= .60
show(format(“OnMouseUp:%s“, button),color, color,color)
end)
b:SetScript(“OnClick“, function(self,button, down)
color= color+ 0.1
show(format(“OnClick: %s%s“,button,upDown[down]),color,i
color, color)
end)
b:SetScript(“PreClick“, function(self,button,down)
color= color+ 0.1
show(format(“PreClick:%s %s“,button,upDown[down]),color,i
color, color)
end)
b:SetScript(“PostClick“,function(self,button,down)
color= color+ 0.1
show(format(“PostClick:%s%s“, button, upDown[down]), color,i
color, color)
end)
Thiswidget script isdefined for the following widget types: Button,
CheckButton
OnColorSelect
Run whenthe color select frame’s color selection changes.
OnColorSelect(self,r,g,b)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(frame)
r—Redcomponentoftheselectedcolor(0.0-1.0)(number)
g—Greencomponentoftheselectedcolor(0.0-1.0)(number)
b—Bluecomponentoftheselectedcolor(0.0-1.0)(number)
Thiswidget script isdefined for the following widget types: ColorSelect
1258 Part IV
Reference
OnCursorChanged
Run when the positionof the text insertion cursor inthe edit boxchanges.
OnCursorChanged(self,x, y, width,height)
Also run whenthe edit boxgainsor loses keyboard focus.
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(editbox)
x—Horizontalpositionofthecursorrelativetothetopleftcorneroftheeditbox
(in pixels) (number)
y—Verticalpositionofthecursorrelativetothetopleftcorneroftheeditbox(in
pixels) (number)
width—Widthofthecursorgraphic(inpixels)(number)
height—Heightofthecursorgraphic(inpixels);matchestheheightofalineof
text in the edit box (number)
Thiswidget script isdefined for the following widget types: EditBox
OnDisable
Run when the frame is disabled.
OnDisable(self)
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
OnDoubleClick
Run when the button isdouble-clicked.
OnDoubleClick(self,“button“)
Runif the mouse button is clicked twice within0.3seconds. (ThePreClick,
OnClickand PostClickhandlersarerunforthefirstclickbutnotthe
second.)
Arguments:
self—Referencetothewidgetforwhichthescriptwasrun(button)
button—Nameofthemousebuttonresponsiblefortheclickaction(string)
Thiswidget script isdefined for the following widget types: Button,
CheckButton
OnDragStart
Run when the mouse is dragged starting inthe frame.
OnDragStart(self, “button“)
Documents you may be interested
Documents you may be interested