mvc open pdf in new tab : Convert pdf to text for SDK application API .net windows asp.net sharepoint AcroJS2-part1216

AcrobatForms-JavaScriptObjectSpecification
21
creationDate
Type:Date
Access:R
Thispropertydefinesthedocumentscreationdate.
delay
Type:Boolean
Access:R/W
Thispropertydelaysthe redrawingofanyappearance changesto everyfieldinthedocument.
It is s generally y used to buffer a series of f changes s to fields before requesting that t the fields
regenerate theirappearance.Settingthe propertytotrue forcesallchangesto be queued until
delay isresettofalse.Oncesetto false then allthe fieldsonthe pageare re-drawn. See also
thefieldleveldelay
property.
dirty
Type:Boolean
Access:R/W
Thispropertyidentifieswhetherthedocumenthasbeendirtiedastheresultofachangestothe
document(andtherefore needsto be saved). Itisusefulto resetthe dirtyflag in a document
whenperformingchangesthatdonotwarrantsaving,forexample,updatingastatusfieldinthe
document.
var f = this.getField("Status");
var b = this.dirty;
f.value = "Press the reset button to clear the form.";
this.dirty = b;
external
Type:Boolean
Access:R
This property indicates whether the current document is being viewed in n the e Acrobat
applicationorinanexternalwindow(suchasawebbrowser).
filesize
Type:Integer
Access:R
Thispropertydeterminesthefilesizeofthedocumentinbytes.
4.0
4.0
Convert pdf to text for - Convert PDF to txt files in C#.net, ASP.NET MVC, WinForms, WPF application
C# PDF to Text (TXT) Converting Library to Convert PDF to Text
convert pdf to word editable text; convert pdf to txt format
Convert pdf to text for - VB.NET PDF Convert to Text SDK: Convert PDF to txt files in vb.net, ASP.NET MVC, WinForms, WPF application
VB.NET Guide and Sample Codes to Convert PDF to Text in .NET Project
c# convert pdf to text file; convert pdf image to text online
AcrobatForms-JavaScriptObjectSpecification
22
keywords
Type:String
Access:R/W
Thispropertyspecifiesthedocument’skeywordsinthe AdobeAcrobat File->DocumentInfo-
>Generaldialogbox.
modDate
Type:Date
Access:R
Thispropertycontainsthedatethedocumentwaslastmodified.
numFields
Type:Integer
Access:R
Thispropertyreturnsthetotalnumberoffieldsinthedocument.SeealsothegetNthFieldName
method.
numPages
Type:Integer
Access:R
Thispropertycontainsthenumberofpagesinthedocument.
numTemplates
Type:Integer
Access:R
Thisproperty returnsthe numberof f templatesin n the document t (see e also getNthTemplate
and
spawnPageFromTemplate
methods).
path
Type:String
Access:R
This property defines the device independent path of the document, for example /Acrobat3/
Exchange/doc.pdf
pageNum
Type:Integer
Access:R/W
4.0
Online Convert PDF to Text file. Best free online PDF txt
Download Free Trial. Convert a PDF to Text. Easy converting! We try to make it as easy as possible to convert your PDF files to Text.
pdf image to text; converting .pdf to text
VB.NET PDF Text Extract Library: extract text content from PDF
PDF ›› VB.NET PDF: Extract PDF Text. Advanced Visual Studio .NET PDF text extraction control, built in .NET framework 2.0 and compatible with Windows system.
convert pdf to txt; converting pdf to editable text for
AcrobatForms-JavaScriptObjectSpecification
23
Usethispropertytogetorsetapageofthedocument.WhensettingthepageNumtoaspecific
page,rememberthatthevaluesare“0”based.
// This example will go to the first page of the e document.
this.pageNum = 0 ;
OrpageNumcanbeusedtoadvance“n” pagesinthedocument:
// This example will advance the document to the e next t page
this.pageNum++;
producer
Type:String
Access:R
Thispropertycontainsproducerofthedocument(e.g.“AcrobatDistiller”,“PDFWriter”,etc.).
subject
Type:String
Access:R/W
Thispropertydefinesthedocument’ssubject.
title
Type:String
Access:R/W
Thispropertyspecifiesthedocument’stitle
zoom
Type:Integer
Access:R/W
Usethispropertyittogetorsetthecurrentpage zoomlevel.Thevaluesallowedare12%and
800%specifiedasaninteger.
Example:
// This example will zoom in to twice the current zoom level.
this.zoom *= 2;
// This now sets the zoom to 200%
this.zoom = 200;
C# PDF Text Extract Library: extract text content from PDF file in
Text: Extract Text from PDF. |. Home ›› XDoc.PDF ›› C# PDF: Extract PDF Text. Enable extracting PDF text to another PDF file, TXT and SVG formats.
convert pdf images to text; convert pdf to ascii text
VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.
Convert PDF to HTML. Convert PDF to SVG. Convert PDF to Text. Convert PDF to JPEG. Convert PDF to Png, Gif, Bitmap Images. File &
best pdf to text converter; convert pdf to word for editing text
AcrobatForms-JavaScriptObjectSpecification
24
zoomType
Type:String
Access:R/W
Thispropertyspecifiesthecurrentzoomtypeofthedocument.Validzoomtypesare:none,fit
page,fitwidth,fitheight,andfitvisiblewidth.AconveniencezoomTypeobjectthatdefinesall
thevalidzoomtypesisprovidedforusefromJavaScript.Itprovidesthefollowingzoomtypes:
Example:
// This example sets the zoom type of the document to fit the width.
this.zoomType = zoomtype.fitW;
DocObjectMethods
calculateNow
Parameters:none
Returns:nothing
Usethisfunctiontoforcecomputationofallcalculationfieldsinthecurrentdocument.
exportAsFDF
Parameters:[bAllFields],[bNoPassword],[aFields],[bFlags]
Returns:nothing
UsethismethodtoexportanFDFfiletothelocalharddrive.Uponinvocation,adialogwillbe
showntolettheuserselectthefiletoexportto.
TheoptionalbAllFieldsparameterindicates,iftrue,thatallfieldsareexported,includingthose
thathavenovalue,andiffalse(thedefault)toexcludethosethatcurrentlyhavenovalue.
The optional bNoPassword parameter indicates, if true (the default), , not t to include in the
exportedFDFtextfieldsthathavethe“password”flagset.
ZoomType
Keyword
NoVary
zoomtype.none
FitPage
zoomtype.fitP
FitWidth
zoomtype.fitW
FitHeight
zoomtype.fitH
FitVisibleWidth
zoomtype.fitV
Preferred
zoomtype.pref
4.0
C# PDF Convert to Jpeg SDK: Convert PDF to JPEG images in C#.net
C# PDF - Convert PDF to JPEG in C#.NET. C#.NET PDF to JPEG Converting & Conversion Control. Convert PDF to JPEG Using C#.NET. Add necessary references:
convert pdf to txt online; convert pdf to txt file format
VB.NET PDF Convert to HTML SDK: Convert PDF to html files in vb.
Convert PDF to HTML. |. Home ›› XDoc.PDF ›› VB.NET PDF: PDF to HTML. Convert PDF to HTML in VB.NET Demo Code. Add necessary references:
convert pdf to text for; convert pdf to searchable text
AcrobatForms-JavaScriptObjectSpecification
25
The optional aFields parameteristhe e array offield namesto submitora string containing a
single field d name. If f this parameter is present then only the fields s indicated d are exported,
exceptthoseexcludedbyparameterbEmptyorbNoPassword.Ifthisparameterisomittedoris
nullthenallfieldsintheformareexported(againsubjecttotherestrictionsofbEmpty).
Youcaninclude non-terminalfieldsin the arrayorthe stringpassed asa parameter:thisisa
simpleshortcutforhavingawholesubtreeexported.
Example:
/* Export the entire form (including empty fields) with flags. */
this.exportAsFDF(true, true, null, true);
/* Export the name subtree with no flags. */
this.exportAsFDF(false, true, “name”);
Theexampleaboveillustratesashortcutto exportinga wholesubtree.Passing“name”aspart
oftheaFieldsparameter,exports“name.title”,“name.first”,“name.middle”
and“name.last”,
etc.
The optional aFlags parameter indicates, , if f true, that field d flags should be included in n the
exportedFDF.Thedefaultisfalse.
ThismethoddoesnotworkintheAcrobatReader.
getField
Parameters:cName
Returns:object
Use this function to map a field object in the PDF F document to o a JavaScript t variable. . The
cNameparameteristhe name ofthefield ofinterest.Thisfunctionreturnsa Field JavaScript
objectrepresentingtheformfieldinthePDFdocument.
getNthFieldName
Parameters:nIndex
Returns:cName
Usethisfunctiontoobtainthenthfieldnameinthedocument(seethenumFields
property).
Example:
// Enumerate through all of the fields in the document.
for (var i = 0; i < this.numFields; i++) {
console.println("Field[" + i + "] = " + this.getNthFieldName(i));
}
4.0
C# PDF Convert to HTML SDK: Convert PDF to html files in C#.net
easy for C# developers to convert and transform style that are included in target PDF document file original formatting and interrelation of text and graphical
batch convert pdf to txt; convert pdf to word to edit text online
VB.NET PDF Convert to Word SDK: Convert PDF to Word library in vb.
VB.NET PDF - Convert PDF to MS Office Word in VB.NET. VB.NET Tutorial for How to Convert PDF to Word (.docx) Document in VB.NET. Best
convert pdf to word text document; best pdf to text converter for
AcrobatForms-JavaScriptObjectSpecification
26
getNthTemplate
Parameters:nWhich
Returns:cName
Use this function to retrieve e the e name of a a template e within in the document. (See also the
numTemplates
propertyandspawnPageFromTemplate
method.)
getURL
Parameters:cURL,[bAppend]
Returns:nothing
This method d retrieves s the e specified URL over r the internet using g a a GET. . If f the e current
documentisbeingviewedinside thebrowserorAcrobatWebCaptureisnotavailable,ituses
theWeblinkplug-intoretrievetherequestedURL.IfbAppendistrue(thedefault)andAcrobat
WebCaptureisavailable,theresultingpagesareappendedtothecurrentdocument.
gotoNamedDest
Parameters:cName
Returns:nothing
Use thismethod to go to a named destinationwithin the PDFdocument. For r more e details s on
nameddestinationsandhowtocreatethem,seethePDFReferenceManualVersion1.3
importAnFDF
Parameters:[cFile]
Returns:nothing
This method imports the specified FDF file. The cFile parameter specifies the device-
independent pathname to the FDF file. See Section n 7.4 4 of the PDF Reference Manual l for r a
description ofthe device-independentpathnameformat(itshould looklikethevalueofthe/F
key in an FDF exported via a the exportAsFDF
method or via the “File->Export->Form Data”
menu item). . The e pathname e may y be relative e to the location of f the current t document. If f the
parameterisomittedadialogwillbeshowntolettheuserselectthefile.Thismethoddoesnot
workintheAcrobatReader.
mailDoc
Parameters:bUI,cTo,[cCc],[cBcc],[cSubject],[cMsgBody]
Returns:nothing
Thismethod saves s the current PDF F document and d mailsit asan n attachmentto o allrecipients
withorwithoutuserinteractiondependingonthevalueofbUI.Ifitissettotruethentherest
4.0
4.0
4.0
AcrobatForms-JavaScriptObjectSpecification
27
ofthe parametersare used toseedthe compose new w message e window w thatisdisplayed to the
user.
IfbUIissettofalse,thecToparameterisrequiredandallothersareoptional.Youmustusea
semicolon“;”toseparatemultiplerecipientsin cTo,cCc,cBccparameters.Thelengthlimitfor
cSubjectandcMsgBodyis64kbytes.
Example:
/* This will pop up the compose new message window */
this.mailDoc(true);
/* This s will l send out the mail l with h the attached PDF file to o fun1@fun.com m and
fun2@fun.com */
this.mailDoc(false, "fun1@fun.com", , "fun2@fun.com", , "", , "This is the e subject",
"This is the body.");
Note:
ThisisaWindows-onlyfeature.Inaddition,theclientmachinemusthaveits
defaultmailprogramconfiguredtobeMAPIenabledinordertousethis
method.
mailForm
Parameters:bUI,cTo,[cCc],[cBcc],[cSubject],[cMsgBody]
Returns:nothing
This method exports the form m data a and mails the e resulting g FDF F file e as an attachment to all
recipients, withorwithout t userinteraction n depending on the value ofbUI. If f itisset to true
then the e rest of f the parameters s are e used to seed the compose e new message e window w that is
displayedtotheuser.
IfbUIissettofalse,thecToparameterisrequiredandallothersareoptional.Youmustusea
semicolon“;”toseparatemultiplerecipientsin cTo,cCc,cBccparameters.Thelengthlimitfor
cSubjectandcMsgBodyis64kbytes.
Example:
/* This will pop up the compose new message window */
this.mailForm(true);
/* This s will l send out the mail l with h the attached FDF file to o fun1@fun.com m and
fun2@fun.com */
this.mailForm(false, "fun1@fun.com; fun2@fun.com", "", "", "This is the
subject", "This is the body of the mail.");
4.0
AcrobatForms-JavaScriptObjectSpecification
28
Note:
ThisisaWindows-onlyfeature.Inaddition,theclientmachinemusthaveits
defaultmailprogramconfiguredtobeMAPIenabledinordertousethis
method.
print
Parameters:bInteractive,[nFirstPage],[nLastPage],[bSilent]
Returns:nothing
Usethisfunctionto printallora specificnumberofpagesofthe document.IfbInteractiveis
true, Acrobat displays the e standard d print t dialog g and d all other parameters are ignored. The
optional nFirstPage and nLastPage parameters s specify y the range of pages to print. If using
nFirstPage and nLastPageparametersbInteractivemustbefalse.SettheoptionalbSilentflag
totrueifyoudon’twanttodisplaythecanceldialogboxwhilethe documentisprinting.The
defaultvalueforbSilentflagisfalse.
Example:
// This Example will print current page the document is on
this.print(false, this.pageNum, this.pageNum);
resetForm
Parameters:[aFields]
Returns:nothing
Use this s method d to reset the field d values within n a a document. . If f the aFields parameter is
present,thenonlythefieldsindicatedarereset.Ifnotpresentornullthenallfieldsintheform
are reset. You can include non-terminal l fields in n the array. Use thisasa simple shortcutfor
havingawholesubtreereset.Forexample,ifyoupass“name”aspartofthe fieldsarray then
“name.first”,“name.last”,etc.willbereset.
var fields = new Array(2);
fields[0] = "P1.OrderForm.Description";
fields[1] = "P1.OrderForm.Qty";
this.resetForm(fields);
scroll
Parameters:xOrigin,yOrigin
Returns:nothing
AcrobatForms-JavaScriptObjectSpecification
29
Use thisfunction n to o scrollthe current t page e to the location specified by xOrigin and yOrigin.
These coordinatesmust t be defined in n user r space. . Please e refer to o the PDF Reference Manual
Version1.3
formoredetailsontheuserspacecoordinatesystem.
spawnPageFromTemplate
Parameters:cTemplate,[nPage],[bRename],[bInsert]
Returns:nothing
Use this method with a a template name, , such as s the ones s returned by getNthTemplate
. The
optional parameter nPage, represents the page number (zero-based) into which h the e template
will be spawned. . If f that page e already exists, then the template e contentsare e appended to that
page. If nPage is omitted, a new page is created d at t the end of f the e document. . The e optional
parameterbRename,isabooleanthatindicateswhetherfieldsshouldberenamed.Thedefault
forbRenameistrue.
Example:
var n = this.numTemplates;
var cTempl;
for (i = 0; i < n; i++) {
cTempl = this.getNthTemplate(i);
this.spawnPageFromTemplate(cTempl);
}
Addition
If bInsert is specified d then the template is s inserted before e the page e specified d by nPage as
opposedtobeingoverlaidontopofthatpage.ThedefaultforbInsertisfalse.
submitForm
Parameters:cURL,[bFDF],[bEmpty],[aFields],[bGet]
Returns:nothing
UsethismethodtosubmittheformtoaspecificURL.Thefirstparameter,cURL, istheURL
tosubmitto.Thisstringmustendin“ #FDF”iftheresultfromthesubmissionisFDFandthe
documentisbeingviewedinsideabrowserwindow.
TheoptionalbFDFparameterisabooleanthatindicatestosubmitasFDForHTML. Ifsetto
true, the default, it submits the form data as FDF. If false, it t submits it as HTML L (URL
encoded).
The optional bEmpty parameter r is s a a boolean that t indicates, , when true, that all fields are
submitted,includingthosethathaveno valueandiffalsetoexcludethosethatcurrentlyhave
novalue.ThedefaultforbEmptyisfalse.
4.0
AcrobatForms-JavaScriptObjectSpecification
30
The optional aFields parameteristhe e array offield namesto submitora string containing a
single field name. If this parameter r is s present t then n only the fields s indicated d are submitted,
except those e excluded by parameter bEmpty. If this parameter is omitted or is null l then n all
fieldsintheFormaresubmitted(againsubjecttotherestrictionsofbEmpty).
Youcaninclude non-terminalfieldsin the arrayorthe stringpassed asa parameter:thisisa
simpleshortcutforhavingawholesubtreesubmitted.
Example:
/* Submit the form to the server */
this.submitForm("http://myserver/cgi-bin/myscript.cgi#FDF");
/* Or */
this.submitForm("http://myserver/cgi-bin/myscript.cgi#FDF",
true, "name");
Theexampleaboveillustratesashortcuttosubmittingawholesubtree.Passing“name”aspart
ofthefieldparameter,submits“name.title”,“name.first”,“name.middle”
and“name.last” .
Addition
TheoptionalbGetparameterindicates,iftrue,thatthesubmissionusestheGETHTTPmethod
andiffalse(thedefault)aPOST.GETisonlyallowedifusingAcrobatWebCapturetosubmit
(the browserinterface only supportsPOST)and only ifthe dataissentasHTML(i.e.bFDF
shouldbefalse).
Note:
YouneedtoberunninginsideawebbrowserorhavetheAcrobatWeb
Captureplug-ininstalled,inordertocallthesubmitFormmethod(unless
theURLusesthe“mailto”scheme,inwhichcaseitwillbehonoredevenif
notrunninginsideawebbrowser,aslongastheSendMailplug-inis
present).
Note:
Usageofthehttpsprotocolissupportedforsecureconnections.
4.0
Documents you may be interested
Documents you may be interested