embed pdf in mvc view : Convert pdf to website Library software class asp.net winforms .net ajax epslatex7-part1218

26.2 BoxAroundFigureandCaption
Toincludeboththegure'sgraphicanditscaption,onemaybetemptedtomovethe
\captioncommandinsidethe\fboxcommand. However,thisdoesnotworkbecause
\captioncanonlybeusedinparagraphmode,whilethecontentsofan\fboxcommand
areprocessedinLRmode
23
.
Sincethecontentsofminipageenvironmentsand\parboxcommandsareprocessed
inparagraphmode,the\captioncommandcanbeincludedinthe\fboxbyenclosing
the\fboxcontentsinsideaminipageenvironmentora\parboxcommand. Sinceboth
minipagesandparboxesrequire awidthspecication,there isnodirect waytomake
the\fboxexactlyaswidethegraphicandcaption.
Forexample,thecommands
\begin{figure}
\centering
\fbox{ \begin{minipage}{4in}
\centering
\includegraphics[totalheight=2in]{pend.eps}
\caption{Box Around Figure Graphic and Caption}
\label{fig:boxed_figure}
\end{minipage}}
\end{figure}
placeaboxaroundthegure'sgraphicandcaption,asshowninFigure38
P2
L1
N
P1
q1
q2
L2
Figure38:BoxAroundFigureGraphicandCaption
Itisusuallyatrial-and-errorprocesstodetermineaminipagewidthwhichcausesthe
box to have asnug t around d the e caption n andgraphic. . This s trial-and-error r canbe
avoidedbythefollowingapproaches.
1. Chooseanarbitraryminipagewidthandforcethegraphictobeas s wideasthe
minipage
\includegraphics[width=\textwidth]{pend.eps}
2. Whenitisdesiredtospecifythegraphicheight,theproper r minipagewidthcan
becalculatedbyplacingthegraphicinaboxandmeasuringtheheightofthebox.
\newsavebox{\mybox}
\newlength{\mylength}
\sbox{\mybox}{\includegraphics[height=3in]{file.eps}}
\settowidth{\mylength}{\usebox{\mybox}}
\begin{figure}
23
LAT
E
Xusesthreemodes: LRmode,paragraphmode,andmathmode. See[1,pages36,103-5].
71
Convert pdf to website - Convert PDF to html files in C#.net, ASP.NET MVC, WinForms, WPF application
How to Convert PDF to HTML Webpage with C# PDF Conversion SDK
online convert pdf to html; convert pdf to web page
Convert pdf to website - VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.net, ASP.NET MVC, WinForms, WPF application
PDF to HTML Webpage Converter SDK for VB.NET PDF to HTML Conversion
changing pdf to html; convert pdf to html email
\centering
\fbox{ \begin{minipage}{\mylength}
\centering
\usebox{\mybox}
\caption{BoxAround Figure Graphic and Caption}
\label{fig:boxed_figure}
\end{minipage}}
\end{figure}
3. Toensureaone-linecaption,theminipagecanbemadeaswideasthecaptionby
estimatingthecaptionwidthwitha\settowidthcommand
\newlength{\mylength}
\settowidth{\mylength}{Figure XX: : Box x Around Figure Graphicand d Caption}
\fbox{ \begin{minipage}{\mylength}
...
26.3 CustomizingfboxParameters
InFigures 37and38, the e box isconstructed d of f 0.4 pt thicklines witha3 pt space
betweentheboxandthegraphic. Thesetwodimensionscanbecustomizedbysetting
theL
A
T
E
Xlengthvariables\fboxruleand\fboxsep,respectively,withthe\setlength
command. Forexample,thecommands
\begin{figure}
\centering
\setlength{\fboxrule}{3pt}
\setlength{\fboxsep}{1cm}
\fbox{\includegraphics[totalheight=2in]{pend.eps}}
\caption{Graphic with Customized Box}
\label{fig:boxed_custom}
\end{figure}
placeaboxwith3ptthicklineswhichisseparatedfromthegraphicby1centimeter,
asshowninFigure39
P2
L1
N
P1
q1
q2
L2
Figure39:GraphicwithCustomizedBox
26.4 TheFancyboxPackage
InFigures37,38,and39,the\fboxcommandwasusedtoplacestandardrectangular
boxesaroundthegures. Thefancyboxpackageprovidesfourcommands\shadowbox,
72
C# HTML5 Viewer: Deployment on DotNetNuke Site
RasterEdge.XDoc.PDF.dll. RasterEdge.XDoc.PDF.HTML5Editor.dll. Set Website: Click Site->Settings, set website running port and .NET Framework Version.
convert pdf to html with; batch convert pdf to html
C# PDF: C# Code to Create Mobile PDF Viewer; C#.NET Mobile PDF
compatible with most mobile browsers; Convert mobile device package, activated C#.NET mobile PDF document viewer Start a Website project in Visual Studio 2005
convert pdf to web link; convert pdf to webpage
\doublebox,\ovalbox,and\Ovalboxwhichproduceothertypesofboxes.
Table 13:FancyBoxCommands
Command
Parameters
\shadowbox{Example}
Example
Theframethicknessis\fboxrule.
Theshadowthicknessis\shadowsize(whichdefaultsto4pt).
\doublebox{Example}
Example
Theinnerframethicknessis.75\fboxrule
Theouterframethicknessis1.5\fboxrule
Thespacingbetweentheframesis1.5\fboxrule+0.5pt.
\ovalbox{Example}
Example
Theframethicknessis\thinlines
Entering\cornersize{x}thediameterofthecornersxtimesthe
minimumofthewidthandtheheight.Thedefaultis0.5.
The\cornersize*commanddirectlysetsthecornerdiameter.For
example,\cornersize*{1cm}makesthecornerdiameters1cm.
\Ovalbox{Example}
Example
\Ovalboxisthesameas\ovalboxexceptthatthelinethickness is
controlledby\thicklines.
Like \fbox, the separationbetween n these boxes andtheir contents s is s controlled
bytheL
A
T
E
X length\fboxsep. . Thelength\shadowsizeisset t withthe\setlength
command, as s was done for \fboxruleand\fboxsepinSection26.3. . The e lines for
\ovalboxand\Ovalboxhavethicknessescorresponding tothepicture environment's
\thicklinesand\thinlines,whicharenotlengthsandthuscannotbechangedwith
the\setlengthcommand.Thevaluesof\thicklinesand\thinlinesdependonthe
sizeandstyleofthecurrentfont.Typicalvaluesare0.8ptfor\thicklinesand0.4pt
for\thinlines.Forexample,thecommands
\begin{figure}
\centering
\shadowbox{\begin{minipage}{3.5in}
\centering
\includegraphics[totalheight=2in]{pend.eps}
\caption{Shadowbox Around Entire Figure}
\label{fig:boxed_fancy}
\end{minipage}}
\end{figure}
placeashadowboxaroundthegure'sgraphicandcaption,asshowninFigure40.
27 Side-by-Side e Graphics
Thecommandsnecessary forside-by-sidegraphicsdependonhowtheuser wantsthe
graphicsorganized.Thissectioncoversthreecommongroupingsofside-by-sidegraphics
1. Theside-by-sidegraphicsarecombinedintoasinglegure.
2. The side-by-side graphics s each h form m their owngure (e.g., Figure 43and d Fig-
ure44).
73
C# Image: How to Integrate Web Document and Image Viewer
RasterEdgeImagingDeveloperGuide8.0.pdf: from this user manual, you can find the detailed instructions and explanations for why & how Setup Your ASP.NET Website.
convert pdf to html code; convert pdf to website html
C# Image: Tutorial for Document Viewing & Displaying in ASP.NET
deploying the ImageCache.Following are detailed steps for website configuration dedicated to provide powerful & profession imaging controls, PDF document, tiff
converting pdf to html format; convert pdf table to html
P2
L1
N
P1
q1
q2
L2
Figure40:ShadowboxAroundEntireFigure
3. Theside-by-sidegraphicseachformasubgure(e.g.,Subgure49(a)andSubg-
ure49(b))whicharepartofasinglegure(Figure49).
This sectiondescribes thefollowingtwomethods for constructingthethree types of
groupings
a) Successive\includegraphicscommands.
b) Side-by-sideminipages,eachofwhichcontainsan\includegraphicscommand.
ItisveryimportanttounderstandthematerialinSection2whenconstructingside-by-
sidegures. Side-by-sideguresarecreatedbyplacingboxes(either\includegraphics
orminipages)besideeachotheronaline.
27.1 Side-by-SideGraphicsinaSingleFigure
The easiest t method for r creating g side-by-side graphics s ina a singlegure is s successive
\includegraphicscommands,althoughusingside-by-side minipagesmakes iteasier
toverticallyalignthegraphics.
27.1.1 UsingSide-by-SideincludegraphicsCommands
Thefollowingcode
\begin{figure}
\centering
\includegraphics[width=1in]{graphic.eps}%
\hspace{1in}%
\includegraphics[width=2in]{graphic.eps}
\caption{TwoGraphics in One e Figure}
\end{figure}
producesFigure41whichis4incheswide(1inchforfile1.eps,1inchforthe\hspace,
and2inches forfile2.eps) whichiscenteredonthe page. . The e \hspacecommand
canbeomittedorreplacedwith\hfill,whichpushesthegraphicstothemargins(see
Section10.2).
Graphic
Graphic
Figure41:TwoGraphicsinOneFigure
74
VB.NET Word: VB Code to Create Word Mobile Viewer with .NET Doc
Directly convert your Android, iOS or Windows mobile device prorgam, please link to see: PDF Document Mobile Begin a website project with Visual Basic language
pdf to web converter; convert fillable pdf to html form
C# TIFF: C#.NET Mobile TIFF Viewer, TIFF Reader for Mobile
most mobile browsers like iOS and Android; Convert your mobile Viewer in C#.NET. As creating PDF and Word Create a website project in Visual Studio 2005 and name
pdf to html conversion; convert pdf to url link
27.1.2 UsingSide-by-SideMinipages
Placingthe\includegraphicscommandsinsideminipageenvironmentsprovidesthe
usermorecontroloverthegraphics'verticalplacement. Forexample
\begin{figure}
\centering
\begin{minipage}[c]{0.5\textwidth}
\centering \includegraphics[width=1in]{graphic.eps}
\end{minipage}%
\begin{minipage}[c]{0.5\textwidth}
\centering \includegraphics[width=2in]{graphic.eps}
\end{minipage}
\caption{Centers AlignedVertically}
\end{figure}
producesFigure42,whichhasvertically-centeredgraphics.
Graphic
Graphic
Figure42:CentersAlignedVertically
Notesonthisexample:
 Likeanyother r L
A
T
E
Xobject, minipagesare positionedsuchthattheirreference
pointis alignedwiththe e current t baseline. . By y default, , minipages s use e the e [c]
optionwhichplacesthereferencepointattheverticalcenteroftheminipage,the
[t] optionplacesthereference point atthebaseline of the minipage's topline
andthe[b]optionplaces thereference point atthebaseline of the minipage's
bottomline(seeSection11.4).
 The%aftertherst\end{minipage}commandpreventsaninterwordspacefrom
beinginsertedbetweentheminipageboxes(seeSection10.2).
 Whenthewidthsoftheminipagesdonotaddto1.0\textwidth,the\hspaceor
\hfillcommandscanbeusedtospecifyhorizontalspacing(seeSection10.2).
27.2 Side-by-SideFigures
Inthe previous section, multiple minipage environments were used d inside e afigure
environmenttoproduceasinglegureconsistingofmultiplegraphics.Placing\caption
statements insidetheminipagesmakesthe minipagesthemselves becomegures. . For
example
\begin{figure}
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Small Box} } \label{fig:side:a}
\end{minipage}%
\begin{minipage}[t]{0.5\linewidth}
\centering
\includegraphics[width=1.5in]{graphic.eps}
\caption{Big Box} } \label{fig:side:b}
\end{minipage}
\end{figure}
producesFigures43and44.
Althoughtheabovecommandsincludeonegureenvironment,thecommandspro-
ducetwoguresbecausetwo\captioncommandsareused.
75
C# Image: C# Code to Upload TIFF File to Remote Database by Using
to RasterEdge DocImage; Start an upload folder in the website's root to We are dedicated to provide powerful & profession imaging controls, PDF document, image
convert pdf link to html; attach pdf to html
VB.NET PDF Convert to Images SDK: Convert PDF to png, gif images
Our website offers PDF to Raster Images Conversion Control developers are able to load target PDF document from local file or stream and convert it into
convert pdf into web page; convert pdf to website
Graphic
Figure43:SmallBox
Graphic
Figure44:BigBox
27.2.1 SeparateMinipagesforCaptions
The[t]optionsfortheside-by-sideminipagesinFigures43and44causethegraphic
baselinestobealigned(seeSection11.4). Thisworkswellfornon-rotatedgraphicsas
itcausesthetopsofthecaptionstobealigned.However,thisdoesnotworkwellwhen
thegraphicsbottomsarenotaligned.Forexample,
\begin{figure}
\centering
\begin{minipage}[t]{.33\textwidth}
\centering
\includegraphics[width=2cm]{graphic.eps}
\caption{Box with a a Long g Caption}
\end{minipage}%
\begin{minipage}[t]{.33\textwidth}
\centering
\includegraphics[width=2cm,angle=-30]{graphic.eps}
\caption{Rotated Box}
\end{minipage}%
\end{figure}
producesFigures45and46whichdonothavetheircaptionsaligned.The[b]minipage
optionswouldnothelp,asitalignsthebottomlinesofthecaption.
Graphic
Figure 45:Box with h aLong
Caption
Graphic
Figure46:RotatedBox
Thealignmentofthegraphicsandthecaptionscanbedoneseparatelybycreating
tworowsofminipages:therstrowcontainingtheguresandthesecondrowcontaining
thecaptions. Forexample
\begin{figure}
\centering
\begin{minipage}[b]{.33\textwidth}
\centering
\includegraphics[width=2cm]{graphic.eps}
\end{minipage}%
\begin{minipage}[b]{.33\textwidth}
\centering
\includegraphics[width=2cm,angle=-30]{graphic.eps}
\end{minipage}\\[-10pt]
\begin{minipage}[t]{.33\textwidth}
\caption{Box with a a Long g Caption}
\end{minipage}%
\begin{minipage}[t]{.33\textwidth}
\caption{Rotated Box}
\end{minipage}%
\end{figure}
producesFigures47and48,whichhavethegraphicbaselines alignedandthecaption
toplinesaligned.
76
C# Word: How to Create Word Mobile Viewer in with Imaging SDK
component DLLs for image manipulation (jpeg, png, gif, bmp and tiff); PDF, Microsoft Word Create a Visual C# Website project in Visual Studio 2005 and name it
convert pdf to html online for; convert url pdf to word
VB.NET PDF Library SDK to view, edit, convert, process PDF file
Able to render and convert PDF document to/from supported offers robust APIs for editing PDF document hyperlink provide quick access to the website or other
online pdf to html converter; convert pdf to html5 open source
Graphic
Graphic
Figure 47:Box with h aLong
Caption
Figure48:RotatedBox
Notesonthisexample
 The\\breaksthelineafterthelastgure. . The\\optionalargument[-10pt]
movesthecaptionsclosertothegraphicsbyremoving10pointsofverticalspace
atthelinebreak. Thislengthshouldbechangedastheuserseet.
 Thegraphicminipageshavea[b]optiontomaketheirreference pointsbethe
baselineoftheminipage'sbottomline.
 Thecaptionminipages s havea[t]optiontomaketheirreference pointsbethe
baselineoftheminipage'stopline.
 Any\labelcommandsmustbeissuedinthesameminipageasthecorresponding
\captioncommand.
27.3 Side-by-SideSubgures
Itmaybedesirabletorefertoside-by-sidegraphicsbothindividuallyandasagroup.
The\subfigurecommand(fromthe subgure package)denes thegroupofside-by-
sidegraphics as asinglegure anddenes eachgraphicsasasubgure. . Forexample
\begin{figure}
\centering
\subfigure[SmallBox with h a Long Caption]{
\label{fig:subfig:a}
%% label l for first subfigure
\includegraphics[width=1.0in]{graphic.eps}}
\hspace{1in}
\subfigure[Big Box]{
\label{fig:subfig:b}
%% label l for second subfigure
\includegraphics[width=1.5in]{graphic.eps}}
\caption{Two Subfigures}
\label{fig:subfig}
%% label l for entire figure
\end{figure}
producesFigure49.Typing\ref{fig:subfig:a}produces49(a),typing\ref{fig:subfig:b}
produces49(b),andtyping\ref{fig:subfig}produces49.
Graphic
(a) Small Box
with a a Long
Caption
Graphic
(b)BigBox
Figure49:TwoSubgures
77
27.3.1 MinipageEnvironmentsInsideSubgures
Likeother side-by-sidegraphics,subgures canbeusedwithminipageenvironments.
Dependingonthesituation,thismaymakeiteasiertoachievethedesiredspacing. For
example
\begin{figure}
\subfigure[SmallBox with h a Long Caption]{
\label{fig:mini:subfig:a}
%% label for first subfigure
\begin{minipage}[b]{0.5\textwidth}
\centering\includegraphics[width=1in]{graphic.eps}
\end{minipage}}%
\subfigure[Big Box]{
\label{fig:mini:subfig:b}
%% label for second subfigure
\begin{minipage}[b]{0.5\textwidth}
\centering\includegraphics[width=1.5in]{graphic.eps}
\end{minipage}}
\caption{Minipages Inside Subfigures}
\label{fig:mini:subfig}
%% label for entire figure
\end{figure}
producesFigure50,whichcontainssubgures50(a)and50(b).
Graphic
(a)SmallBoxwithaLongCaption
Graphic
(b)BigBox
Figure50:MinipagesInsideSubgures
Sincesubgurecaptionsareaswideasthesubgure,thesubgurecaptionsinFig-
ure50 are e wider r than n those e inFigure49. . This s isbecause the e Figure e 49subgures
containonly the graphics while the Figure50subgures containminipages of width
0.5\textwidth.
27.3.2 ChangingSubgureNumbering
Thesubgurelabelshavetwoforms
1. Onewhichappearsunder r thesubgureaspartofthecaption. . Thisisproduced
bythe\@thesubfigurecommand.
2. Onewhichappears s whenthe\refcommandisused. . Thisis s producedby con-
catenatingtheoutputof\p@subfiguretotheoutput\thesubfigure.
Thesecommandsusethe subfigurecounterandthe\thefigurecommand,making
thesubgurelabelformatingbecontrolledbythefollowingcommands
 Thecommand\thefigureprintsthecurrentgurenumber.
 Thecountersubfigurecountsthesubgures. Thecommand\alph{subfigure}
printsthevalueofthesubfigurecounterinlowercaseletters,while\roman{subfigure}
printsthevalueofthesubfigurecounterinlowercaseRomannumerals.(see[1,
page98]or[3,page446]foralistofcounteroutputcommands).
 Thecommand\thesubfigurebydefaultis(\alph{subfigure})whichproduces
(a),(b),etc.
 Thecommand\@thesubfigurebydefaultis\thesubfigure\spacewhichadds
aspacebetweenthecaptionlabelandthecaption.
78
 Thecommand\p@subfigurebydefaultis\thefigure
Thesecommandsmakethedefaultcaptionlabels(a),(b), etc. . andthedefault\ref
labels12(a),12(b),etc.See[10]forcontrollingthesizeandfontofthesubgurelabels.
1. Tomakethecaptionlabels(i),(ii),etc. . andmakethe\reflabels12i,12ii,etc.
Subgure
Examples
enterthefollowingcommands(preferablyintheL
A
T
E
Xle'spreamble)
\renewcommand{\thesubfigure}{\roman{subfigure}}
\makeatletter
\renewcommand{\@thesubfigure}{(\thesubfigure)\space}
\renewcommand{\p@subfigure}{\thefigure}
\makeatother
The \makeatlettercommandtells L
A
T
E
Xto treat t the@ @ character r as s aletter,
thus allowingthe re-denitions s of f the internal commands. . The e \makeatother
commandtellsL
A
T
E
Xreturntothenormalbehavioroftreatingthe@characteras
anon-letter.
2. Tomakethecaptionlabels12.1:,12.2:,etc. andmakethe\reflabels12.1,12.2,
etc. enterthefollowingcommands
\renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}}
\makeatletter
\renewcommand{\@thesubfigure}{\thesubfigure:\space}
\renewcommand{\p@subfigure}{}
\makeatother
27.3.3 AddingSubgurestoListofFigures
By default, theListofFigures generatedby the \listoffigurescommandincludes
onlygures,not subgures. ToaddthesubgurestheListofFigures,type
\setcounter{lofdepth}{2}
beforethe\listoffigurescommand.
NotethatachangeinL
A
T
E
Xhascausedthecurrent3/95 subgurepackagetoadd
\numberline1"atthebeginningofanysubgureentry inthe ListofFigures. . Tox
this,includethefollowingcodeinthepreambleofyourdocument.
\makeatletter
\renewcommand{\@subcaption}[2]{%
\begingroup
\let\label\@gobble
\def\protect{\string\string\string}%
\xdef\@subfigcaptionlist{%
\@subfigcaptionlist,%
{\numberline {\@currentlabel}%
\noexpand{\ignorespaces#2}}}%
\endgroup
\@nameuse{@make#1caption}{\@nameuse{@the#1}}{#2}}
\makeatother
28 StackedGraphics
InSection27,side-by-sideguresarearrangedbyplacingblocks(either\includegraphics
orminipages)besideeachotheronaline.Stackedgraphicsarebuiltinexactlythesame
manner.Forexample,
\begin{figure}
\centering
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Caption 1}
79
\end{minipage}%
\hspace{0.04\textwidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Caption 2}
\end{minipage}\\[20pt]
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Caption 3}
\end{minipage}%
\hspace{0.04\linewidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Caption 4}
\end{minipage}%
\hspace{0.04\linewidth}%
\begin{minipage}[b]{0.3\textwidth}
\centering
\includegraphics[width=1in]{graphic.eps}
\caption{Caption 5}
\end{minipage}
\end{figure}
producesFigures51-55. The\\[20pt]afterthe\Caption2"minipagecreates s aline-
breakwith20pointsofadditionalverticalspacing.
Graphic
Figure51:Caption1
Graphic
Figure52:Caption2
Graphic
Figure53:Caption3
Graphic
Figure54:Caption4
Graphic
Figure55:Caption5
29 PlacingaTableBesideaFigure
InSection27,side-by-sideguresareconstructedbyusingmultiple\captioncommands
inasinglegureenvironment.Likewise,side-by-sidetablesarecreatedbyusingmultiple
\captioncommandsinasingletableenvironment.
The\figcaptionand\tabcaptioncommandsdenedinSection20makeitpossible
toputatablebesideagure.Forexample,thefollowingcommands
\begin{figure}[htb]
\begin{minipage}[b]{0.5\textwidth}
\centering
\includegraphics[width=0.8\textwidth]{graphic.eps}
\caption{This is a a Figureby y a a Table}
\label{fig:by:table}
\end{minipage}%
\begin{minipage}[b]{0.5\textwidth}
\centering
80
Documents you may be interested
Documents you may be interested