c# pdf viewer open source : Reorder pages in pdf document Library SDK API .net wpf html sharepoint World%20of%20Warcraft%20Programming%20(2nd%20Edition)123-part1788

Chapter 29
Widget Reference 1189
SetTalent
Fills the tooltipwithinformation about a talent.
GameTooltip:SetTalent(tabIndex,talentIndex, inspect,pet, talentGroup)
Arguments:
tabIndex—Indexofatalenttab(between1and GetNumTalentTabs())
(number)
talentIndex—Indexofatalentoption(between1and GetNum
Talents())(number)
inspecttruetoreturninformationforthecurrentlyinspected
unit;false to return information for the player (boolean)
pettruetoreturninformationfortheplayer’spet; falsetoreturninforma-
tion for the player (boolean)
talentGroup—Whichsetoftalentstoedit,iftheplayerhasDualTalentSpecial-
ization enabled (number)
1- PrimaryTalents
2- Secondary Talents
nil- Currentlyactivetalents
SetText
Setsthe tooltip’s text.
GameTooltip:SetText(“text“[, r [,g [, b[,a]]]])
Any other content currently displayedin the tooltipwill be removed or
hidden, and the tooltip’ssize willbe adjusted to fit the newtext.
Arguments:
text—Texttobedisplayedinthetooltip(string)
r(optional)—Redcomponentofthetextcolor(0.0-1.0)(number)
g(optional)—Greencomponentofthetextcolor(0.0-1.0)(number)
b(optional)—Bluecomponentofthetextcolor(0.0-1.0)(number)
a(optional)—Alpha(opacity)forthetext(0.0=fullytransparent,1.0=fully
opaque) (number)
SetTotem
Fills the tooltipwithinformationabout one of the player’sactive totems.
GameTooltip:SetTotem(slot)
Totem functions are also used for ghouls summoned by a DeathKnight’sRaise
Dead ability (if the ghoulisnot made a controllable pet by the Master of
Ghouls talent).
Arguments:
slot—Whichtotemtoquery(number)
1-Fire(orDeathKnight’sghoul)
2-Earth
3-Water
4-Air
Reorder 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
how to move pages in pdf reader; how to move pages within a pdf document
Reorder 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; rearrange pages in pdf file
1190 Part IV
Reference
SetTracking
Fillsthe tooltip withinformation about the currently selected tracking type.
GameTooltip:SetTracking()
If no tracking type isselected, the tooltip reads ‘‘Click to choose tracking type’’
(or localized equivalent).
SetTradePlayerItem
Fillsthe tooltip withinformation about an item offered for trade by the player.
GameTooltip:SetTradePlayerItem(index)
See:SetTradeTargetItem() for itemsto be received from the trade.
Arguments:
index—Indexofanitemofferedfortradebytheplayer(between1and
MAX_TRADE_ITEMS)(number)
SetTradeSkillItem
Fillsthe tooltip withinformation about an item created by atrade skill recipe
or areagent in the recipe.
GameTooltip:SetTradeSkillItem(skillIndex[,reagentIndex])
Arguments:
skillIndex—Indexofarecipeinthetradeskilllist(between1and
GetNumTradeSkills())(number)
reagentIndex(optional)—Indexofareagentintherecipe(between 1and
GetTradeSkillNumReagents());ifomitted,displaysatooltipfortheitemcre-
ated by the recipe (number)
SetTradeTargetItem
Fillsthe tooltip withinformation about an item offered for trade by the target.
GameTooltip:SetTradeTargetItem(index)
See:SetTradePlayerItem() for itemsto be traded away by the player.
Arguments:
index—Indexofanitemofferedfortradebythetarget(between1and
MAX_TRADE_ITEMS)(number)
SetTrainerService
Fillsthe tooltip withinformation about atrainer service.
GameTooltip:SetTrainerService(index)
Arguments:
index—Indexofanentryinthetrainerservicelisting(between1and
GetNumTrainerServices())(number)
SetUnit
Fillsthe tooltip withinformation about aunit.
GameTooltip:SetUnit(“unit“)
Arguments:
unit—Aunittoquery(string,unitid)
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.
change page order in pdf online; how to change page order in pdf acrobat
VB.NET PowerPoint: Sort and Reorder PowerPoint Slides by Using VB.
Sort and Reorder PowerPoint Slides Range with VB.NET amount of robust PPT slides/pages editing methods & profession imaging controls, PDF document, image to
change pdf page order preview; move pages in pdf acrobat
Chapter 29
Widget Reference 1191
SetUnitAura
Fills the tooltipwithinformation about abuff or debuff on aunit.
GameTooltip:SetUnitAura(“unit“, index[, “filter“])
Arguments:
unit—Aunittoquery(string,unitID)
index—Indexofabuffordebuffontheunit(number)
filter(optional)—Alistoffilterstousewhenresolvingtheindex,separated
by the pipe ‘|’ character; e.g.“RAID|PLAYER“ willquery group buffscast by the
player (string)
CANCELABLE-Showaurasthatcanbecancelled
HARMFUL-Show debuffs only
HELPFUL-Show buffsonly
NOT_CANCELABLE-Showaurasthatcannotbecancelled
PLAYER-Showaurastheplayerhascast
RAID-Showaurastheplayercancastonparty/raidmembers(asopposedto
self buffs)
SetUnitBuff
Fills the tooltipwithinformation about abuff on aunit.
GameTooltip:SetUnitBuff(“unit“, index[, “filter“])
Thismethod is an aliasfor:SetUnitAura() with abuilt-inHELPFUL filter
(whichcannot be removed or negated with theHARMFUL
filter).
Arguments:
unit—Aunittoquery(string,unitID)
index—Indexofabuffordebuffontheunit(number)
filter(optional)—Alistoffilterstousewhenresolvingtheindex,separated
by the pipe ‘|’ character; e.g.“RAID|PLAYER“ willquery group buffscast by the
player (string)
CANCELABLE-Showaurasthatcanbecancelled
NOT_CANCELABLE-Showaurasthatcannotbecancelled
PLAYER-Showaurastheplayerhascast
RAID-Showaurastheplayercancastonparty/raidmembers(asopposedto
self buffs)
SetUnitDebuff
Fills the tooltipwithinformation about adebuff on aunit.
GameTooltip:SetUnitDebuff(“unit“, index [, “filter“])
Thismethod is an aliasfor:SetUnitAura() with abuilt-inHARMFUL filter
(whichcannot be removed or negated with theHELPFUL filter).
Arguments:
unit—Aunittoquery(string,unitID)
C# PDF: C# Code to Process PDF Document Page Using C#.NET PDF
C# PDF Page Processing: Sort PDF Pages - online C#.NET tutorial page for how to reorder, sort, reorganize or re-arrange PDF document files using C#.NET code.
how to move pages in a pdf file; pdf reorder pages online
C# PDF Page Rotate Library: rotate PDF page permanently in C#.net
with the functions to merge PDF files using C# .NET, add new PDF page, delete certain PDF page, reorder existing PDF pages and split PDF document in both
how to move pages in pdf; reverse page order pdf
1192 Part IV
Reference
index—Indexofabuffordebuffontheunit(number)
filter(optional)—Alistoffilterstousewhenresolvingtheindex,separatedby
the pipe ‘|’ character; e.g.“CANCELABLE|PLAYER“ will query cancelable debuffs
cast by the player (string
)
CANCELABLE-Showaurasthatcanbecancelled
NOT_CANCELABLE-Showaurasthatcannotbecancelled
PLAYER-Showaurastheplayerhascast
RAID-Showaurastheplayercancastonparty/raidmembers(asopposedto
self buffs)
Minimap
Minimapisaframetype whosebackdropisfilledinwithatop-downrepresentationof
the area around the character being played. You can have more than one if you are so
inclined, but they can’t have different coordinates or locations, and tracking blips do
not work correctly unless they’re the exact same size. You can use methodsto control
the textures that are used by the minimap to display different elements suchasgroup
members or arrowsto nearbypointsof interest, but youcannot determine wherethese
thingsare. You can also adjust the zoom on a Minimapor determine where it isbeing
pinged by youor another member of your group.
The stock UI uses a Minimap only once, predictably for the minimap in the upper
right, but some mods will move it or create a larger, fainter version to use as a
‘‘heads-updisplay.’’
Minimap hasall the methodsfrom Frame, plus the following:
GetPingPosition
Returns the locationof the last ‘‘ping’’ on the minimap.
x, y= Minimap:GetPingPosition()
Coordinatesare pixeldistancesrelative to the center of the minimap (not
fractions of the minimap’ssize as with:GetPingPosition()); positive
coordinates are above or to the right of the center, negative are below or to the
left.
Returns:
x—Horizontalcoordinateofthe‘‘ping’’position(number)
y—Verticalcoordinateofthe‘‘ping’’position(number)
GetZoom
Returns the minimap’s current zoom level.
zoomLevel= Minimap:GetZoom()
Returns:
zoomLevel—Indexofthecurrentzoomlevel(between0forthewidestpossible
zoom and(minimap:GetZoomLevels()-1) for the narrowest possible zoom)
(number)
Read PDF in Web Image Viewer| Online Tutorials
Extract images from PDF documents; Add, reorder pages in PDF files; detailed information for reading and editing PDF in RasterEdge Web Document Viewer
change page order in pdf file; how to reorder pages in pdf
VB.NET TIFF: Modify TIFF File by Adding, Deleting & Sort TIFF
Users can use it to reorder TIFF pages in &ltsummary> ''' Sort TIFF document pages in designed powerful & profession imaging controls, PDF document, image to
pdf change page order acrobat; how to move pages in pdf
Chapter 29
Widget Reference 1193
GetZoomLevels
Returnsthe number of available zoom settingsfor the minimap.
zoomLevels= Minimap:GetZoomLevels()
Returns:
zoomLevels—Numberofavailablezoomsettingsfortheminimap(number)
PingLocation
’’Pings’’the minimap at agivenlocation.
Minimap:PingLocation(x,y)
Coordinates are pixel distancesrelative to the center of the minimap(not
fractions of the minimap’s size as with:GetPingPosition());positive
coordinatesare above or to the right of the center, negative are belowor to the
left.
Arguments:
x—Horizontalcoordinateofthe‘‘ping’’position(inpixels)(number)
y—Verticalcoordinateofthe‘‘ping’’position(inpixels)(number)
SetBlipTexture
Setsthe texture used to display quest and tracking iconson the minimap.
Minimap:SetBlipTexture(“filename“)
The replacement texture must matchthe specificationsof the default texture
(Interface\\Minimap\\ObjectIcons): 256pixelswide by 64pixelstall,
containing an8x2 grid of icons each32x32 pixels square.
Arguments:
filename—Pathtoatexturecontainingdisplayquestandtrackingiconsforthe
minimap (string)
SetClassBlipTexture
Setsthe texture used to display party and raid members on the
minimap.
Minimap:SetClassBlipTexture(“filename“)
Usefulnessof this method to addons islimited, asthe replacement texture
must matchthe specificationsof the default texture
(Interface\\Minimap\\PartyRaidBlips): 256 pixels wide by 128pixels
tall, containing an 8x4 gridof icons each32x32pixelssquare.
Arguments:
filename—Pathtoatexturecontainingiconsforpartyandraidmembers
(string)
SetCorpsePOIArrowTexture
Setsthe texture used to the player’scorpse whenlocated beyond the scope of
the minimap.
Minimap:SetCorpsePOIArrowTexture(“filename“)
C# Word: How to Create Word Document Viewer in C#.NET Imaging
in C#.NET; Offer mature Word file page manipulation functions (add, delete & reorder pages) in document viewer; Rich options to add
switch page order pdf; reorder pages in pdf
.NET Multipage TIFF SDK| Process Multipage TIFF Files
upload to SharePoint and save to PDF documents. View, edit, insert, delete and mark up pages in multi Easily add, modify, reorder and delete TIFF tags; Perfectly
how to rearrange pdf pages online; pdf reverse page order
1194 Part IV
Reference
The default texture isInterface\\Minimap\\ROTATING-
MINIMAPCORPSEARROW.
Arguments:
filename—Pathtoatextureimage(string)
SetIconTexture
Setsthe texture usedto display various pointsof interest on the minimap.
Minimap:SetIconTexture(“filename“)
Usefulness of this method to addons is limited, asthe replacement texture
must matchthe specificationsof the default texture
(Interface\\Minimap\\POIIcons): a 256x256pixel square containing a
16x16 gridof icons each16x16pixelssquare.
Arguments:
filename—Pathtoatexturecontainingiconsforvariousmaplandmarks
(string)
SetMaskTexture
Setsthe texture usedto mask the shape of the minimap.
Minimap:SetMaskTexture(“filename“)
White areasinthe texture define where the dynamically drawn minimap is
visible. The default mask (Textures\\MinimapMask) iscircular; atexture
image consisting of an all-white square will result in asquare minimap.
Arguments:
filename—Pathtoatextureusedtomasktheshapeoftheminimap(string)
SetPOIArrowTexture
Setsthe texture used to represent pointsof interest located beyond the scope of
the minimap.
Minimap:SetPOIArrowTexture(“filename“)
Thistexture isused for pointsof interest suchasthose which appear when
asking acity guard for directions. The default texture is
Interface\Minimap\ROTATING-MINIMAPGUIDEARROW.
Arguments:
filename—Pathtoatextureimage(string)
SetPlayerTexture
Setsthe texture used to represent the player on the minimap.
Minimap:SetPlayerTexture(“filename“)
The default texture isInterface\Minimap\MinimapArrow.
Arguments:
filename—Pathtoatextureimage(string)
SetPlayerTextureHeight
Setsthe height of the texture used to represent the player on the minimap.
Minimap:SetPlayerTextureHeight(height)
Chapter 29
Widget Reference 1195
Arguments:
height—Heightofthetextureusedtorepresenttheplayerontheminimap
(number)
SetPlayerTextureWidth
Setsthe width of the texture used to represent the player on the minimap.
Minimap:SetPlayerTextureWidth(width)
Arguments:
width—Widthofthetextureusedtorepresenttheplayerontheminimap
(number)
SetStaticPOIArrowTexture
Setsthe texture used to represent static points of interest located beyond the
scope of the minimap.
Minimap:SetStaticPOIArrowTexture(“filename“)
Thistexture isused for static points of interest such as nearby towns andcities.
The default texture isInterface\\Minimap\\ROTATING-
MINIMAPARROW.
Arguments:
filename—Pathtoatextureimage(string)
SetZoom
Setsthe minimap’szoom level.
Minimap:SetZoom(zoomLevel)
Arguments:
zoomLevel—Indexofazoomlevel(between0forthewidestpossiblezoom
and(minimap:GetZoomLevels()-1) for the narrowest possible zoom)
(number)
Model
Whenyouwanttodisplay arendering of athree-dimensionalobjectaspartof theUI, a
Model frame is your basic tool. These frames provide arendering environment which
is drawninto the backdrop of their frame, allowing you to display the contents of an
.m2file andset facing, scale, light and fog information, or runmotions associated with
the model.
It’s comparatively rare to see the basic Model type used; most renderings of models
inthe stock UI and modsuse PlayerFrame to display players, pets andmounts.
Model has all the methodsfrom Frame, plus the following:
AdvanceTime
Advances to the model’s next animation frame.
Model:AdvanceTime()
(Appliesto 3D animations defined withinthe model file, not UIAnimations.)
1196 Part IV
Reference
ClearFog
Disablesfog display for the model.
Model:ClearFog()
ClearModel
Removesthe 3D model currently displayed.
Model:ClearModel()
GetFacing
Returns the model’scurrent rotationsetting.
facing= Model:GetFacing()
The 3Dmodel displayed by the model object can be rotated about its vertical
axis. For example, amodel of a player race facestowardsthe viewer when its
facing isset to 0; setting facing tomath.pi facesit away from the viewer.
Returns:
facing—Currentrotationangleofthemodel(inradians)(number)
GetFogColor
Returns the model’scurrent fog color.
red, green,blue =Model:GetFogColor()
Doesnot indicate whether fog display is enabled.
Returns:
red—Redcomponentofthecolor(0.0-1.0)(number)
green—Greencomponentofthecolor(0.0-1.0)(number)
blue—Bluecomponentofthecolor(0.0-1.0)(number)
GetFogFar
Returns the far clipping distance for the model’sfog.
distance= Model:GetFogFar()
Thisdetermines how far from the camerathe fog ends.
Returns:
distance—Thedistancetothefogfarclippingplane(number)
GetFogNear
Returns the near clipping distance for the model’sfog.
distance= Model:GetFogNear()
Thisdetermines how close to the camera the fog begins.
Returns:
distance—Thedistancetothefognearclippingplane(number)
GetLight
Returns propertiesof the light sourcesused whenrendering the model.
enabled,omni,dirX,dirY,dirZ,ambIntensity,ambR,ambG,ambB,i
dirIntensity,dirR,dirG,dirB =Model:GetLight()
Chapter 29
Widget Reference 1197
Returns:
enabled1iflightingisenabled;otherwise nil(1nil)
omni1ifomnidirectionallightingisenabled;otherwise 0(number)
dirX—Coordinateofthedirectionallightintheaxisperpendiculartothescreen
(negative values place the light in front of the model, positive values behind)
(number)
dirY—Coordinateofthedirectionallightinthehorizontalaxis(negativevalues
place the light to the left of the model, positive values to the right) (number)
dirZ—Coordinateofthedirectionallightintheverticalaxis(negative
values place the light below the model, positive values above (number)
ambIntensity—Intensityoftheambientlight(0.0-1.0)(number)
ambR(optional)—Redcomponentoftheambientlightcolor(0.0-1.0);omittedif
ambIntensityis 0(number)
ambG(optional)—Greencomponentoftheambientlightcolor(0.0-1.0);omitted
ifambIntensity is 0 (number)
ambB(optional)—Bluecomponentoftheambientlightcolor(0.0-1.0);omittedif
ambIntensityis 0(number)
dirIntensity(optional)—Intensityofthedirectionallight(0.0-1.0)(number)
dirR(optional)—Redcomponentofthedirectionallightcolor(0.0-1.0);omitted
ifdirIntensity is 0 (number)
dirG(optional)—Greencomponentofthedirectionallightcolor(0.0-1.0);omit-
ted ifdirIntensity is 0 (number)
dirB(optional)—Bluecomponentofthedirectionallightcolor(0.0-1.0);omit-
ted ifdirIntensity is 0 (number)
GetModel
Returnsthe modelfile currently displayed.
filename= Model:GetModel()
May instead return areference to theModel object itself if a filename isnot
available.
Returns:
filename—Pathtothemodelfilecurrentlydisplayed(string)
GetModelScale
Returnsthe scale factor determining the size at whichthe 3D model appears.
scale= Model:GetModelScale()
Returns:
scale—Scalefactordeterminingthesizeatwhichthe3Dmodelappears
(number)
GetPosition
Returnsthe positionof the 3D model withinthe frame.
x,y, z= Model:GetPosition()
1198 Part IV
Reference
Returns:
x—Positionofthemodelontheaxisperpendiculartotheplaneofthescreen
(positive values make the model appear closer to the viewer; negative values
place it further away) (number)
y—Positionofthemodelonthehorizontalaxis(positivevaluesplacethemodel
to the right of its default position; negative valuesplace it to the left) (number)
z—Positionofthemodelontheverticalaxis(positivevaluesplace
the model above its default position; negative values place it below)
(number)
ReplaceIconTexture
Setsthe icon texture used by the model.
Model:ReplaceIconTexture(“filename“)
Only affects models that use icons (e.g. the model producing the default UI’s
animation which appears whenanitem goes into abag).
Arguments:
filename—Pathtoanicontextureforuseinthemodel(string)
SetCamera
Setsthe viewangle onthe model to apre-defined cameralocation.
Model:SetCamera(index)
Camera viewanglesare definedwithinthe model filesand not otherwise
available to the scripting system. Some cameraindices are standard across
most models:
0-Non-movablecamera,focusedontheunit’sface(ifapplicable);
used by the game engine when rendering portrait textures
1-Movablecamera,showingtheentirebodyoftheunit
2orhigher-Movablecameraindefaultposition
Arguments:
index—Indexofacameraviewdefinedbythemodelfile(number)
SetFacing
Setsthe model’scurrent rotation.
Model:SetFacing(facing)
The 3Dmodel displayed by the model object can be rotated about its vertical
axis. For example, if the model faces towards the viewer whenits facing isset
to 0, setting facing tomath.pi facesit away from the viewer.
Arguments:
facing—Rotationangleforthemodel(inradians)(number)
SetFogColor
Setsthe model’sfog color, enabling fog display if disabled.
Model:SetFogColor(red,green, blue)
Documents you may be interested
Documents you may be interested