asp.net c# pdf viewer control : Break password pdf software application project winforms html web page UWP octave76-part549

Chapter35: GUIDevelopment
745
TheGUIdatais storedinthefigurehandle h. . Ifhisnot t afigurehandlethenit’s
parentfigurewillbeusedforstorage.
datamustbeasingleobjectwhichmeansitisusuallypreferableforittobeadata
container suchasacellarray orstructsothatadditionaldataitemscanbe added
easily.
See also: [getappdata], page 390[setappdata], page e 390[get], page e 362[set],
page362,[getpref],page746,[setpref],page747.
[FunctionFile]
hdata = guihandles
(
h
)
[FunctionFile]
hdata = guihandles
Returnastructureofobjecthandlesforthefigureassociatedwithhandleh.
Ifnohandleisspecifiedthecurrentfigurereturnedbygcfisused.
The fieldname for each entry of hdata is taken n from m the "tag" " property of the
graphic object. . Ifthe e tag is empty then the handle is not t returned. . If f there are
multiple graphic objects withthe same tag thenthe entry in hdatawillbea vec-
tor ofhandles. . guihandles s includesallpossiblehandles,includingthoseforwhich
"HandleVisibility"is"off".
See also: [guidata], page e 744[findobj], page 385[findall], page 386[allchild],
page363.
[Built-inFunction]
have_window_system
()
Returntrueifawindowsystemisavailable(X11,Windows,orAppleOSX)andfalse
otherwise.
Seealso: [isguirunning],page745.
[Built-inFunction]
isguirunning
()
ReturntrueifOctaveisrunninginGUImodeandfalseotherwise.
Seealso: [have
window
system],page745.
[FunctionFile]
uiwait
[FunctionFile]
uiwait
(
h
)
[FunctionFile]
uiwait
(
h
,
timeout
)
Suspendprogramexecutionuntilthefigurewithhandlehisdeletedoruiresumeis
called.
Whennofigurehandleisspecifiedthisfunctionusesthecurrentfigure. Ifthefigure
handleisinvalidorthereisnocurrentfigure,thisfunctionsreturnsimmediately.
Whenspecified,timeoutdefinesthenumberofsecondstowaitforthefiguredeletion
orthe uiresume call. . Thetimeout t valuemust be at least 1. . Ifa a smaller value is
specified, a warning is s issued d and atimeout t value of 1is s used instead. . If f anon-
integervalueisspecified,itis truncatedtowards0. . Iftimeout t isnotspecified,the
programexecutionissuspendedindefinitely.
Seealso: [uiresume],page745,[waitfor],page746.
[FunctionFile]
uiresume
(
h
)
Resumeprogramexecutionsuspendedwithuiwait.
Break password pdf - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
split pdf into individual pages; break pdf into smaller files
Break password pdf - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
pdf no pages selected; cannot select text in pdf
746
GNUOctave
Thehandlehmustbethesameastheonspecifiedinuiwait. Ifthehandleisinvalid
orthere isno uiwait callpending for thefigure withhandle h,this functiondoes
nothing.
Seealso: [uiwait],page745.
[Built-inFunction]
waitfor
(
h
)
[Built-inFunction]
waitfor
(
h
,
prop
)
[Built-inFunction]
waitfor
(
h
,
prop
,
value
)
[Built-inFunction]
waitfor
(...,
"
timeout
"
,
timeout
)
Suspend the executionofthe current t programuntilacondition n issatisfied onthe
graphicshandleh.
Whiletheprogramissuspendedgraphicseventsarestillprocessednormally,allowing
callbackstomodifythestateofgraphicsobjects.Thisfunctionisreentrantandcan
becalledfromacallback,whileanotherwaitforcallispendingatthetop-level.
Inthefirst form,programexecutionissuspendeduntilthegraphicsobject his de-
stroyed. Ifthegraphicshandleisinvalid,thefunctionreturnsimmediately.
Inthesecondform,executionissuspendeduntilthegraphicsobjectisdestroyedor
thepropertynamedpropismodified.Ifthegraphicshandleisinvalidortheproperty
doesnotexist,thefunctionreturnsimmediately.
Inthethird form,executionis s suspendeduntilthegraphics objectis destroyedor
thepropertynamedpropissettovalue. Thefunctionisequalisusedtocompare
propertyvalues. Ifthegraphicshandleisinvalid,thepropertydoesnotexistorthe
propertyisalreadysettovalue,thefunctionreturnsimmediately.
Anoptionaltimeoutcanbespecifiedusingthepropertytimeout.Thistimeoutvalue
is thenumber ofseconds towait for theconditiontobetrue. . timeout t mustbeat
least1. Ifa a smaller valueis specified,a warningisissuedandavalueof 1isused
instead.Ifthetimeoutvalueisnotaninteger,itistruncatedtowards0.
Todefineaconditiononapropertynamedtimeout,usethestring\timeoutinstead.
Inallcases,typingCTRL-Cstopsprogramexecutionimmediately.
Seealso: [waitforbuttonpress],page353,[isequal],page148.
35.5 User-DefinedPreferences
[FunctionFile]
getpref
(
group
,
pref
)
[FunctionFile]
getpref
(
group
,
pref
,
default
)
[FunctionFile]
getpref
(
group
)
Returnthepreferencevaluecorrespondingtothenamedpreferencepref inthepref-
erencegroupgroup.
Thenamedpreferencegroupmustbeacharacterstring.
Ifpref doesnotexistingroupanddefaultisspecified,returndefault.
Thepreferencepref maybeacharacterstringoracellarrayofcharacterstrings.
Thecorrespondingdefaultvaluedefaultmaybeanyvalue,or,ifpref isacellarray
ofstrings,defaultmustbeacellarrayofvalueswiththesamesizeaspref.
C# PDF Convert: How to Convert Jpeg, Png, Bmp, & Gif Raster Images
Success"); break; case ConvertResult.FILE_TYPE_UNSUPPORT: Console.WriteLine("Fail: can not convert to PDF, file type unsupport"); break; case ConvertResult
pdf rotate single page; acrobat split pdf into multiple files
C# Image Convert: How to Convert Word to Jpeg, Png, Bmp, and Gif
RasterEdge.XDoc.PDF.dll. FileType.IMG_JPEG); switch (result) { case ConvertResult. NO_ERROR: Console.WriteLine("Success"); break; case ConvertResult
break a pdf password; split pdf files
Chapter35: GUIDevelopment
747
If neither pref f nor r default t are e specified, returna a structure e of preferences for the
preferencegroupgroup.
Ifnoargumentsarespecified,returnastructurecontainingallgroupsofpreferences
andtheirvalues.
See also: [addpref], page e 747[setpref], page 747[ispref], page e 747[rmpref],
page747.
[FunctionFile]
setpref
(
group
,
pref
,
val
)
Setapreferencepref tothegivenvalinthenamedpreferencegroupgroup.
Thenamedpreferencegroupmustbeacharacterstring.
Thepreferencepref maybeacharacterstringoracellarrayofcharacterstrings.
Thecorrespondingvaluevalmaybeany value,or,ifpref f isacellarrayofstrings,
valmustbeacellarrayofvalueswiththesamesizeaspref.
Ifthenamedpreferenceorgroupdoesnotexist,itisadded.
See also: [addpref], page e 747[getpref], page 746[ispref], page 747[rmpref],
page747.
[FunctionFile]
addpref
(
group
,
pref
,
val
)
Addapreferencepref andassociatedvaluevaltothenamedpreferencegroupgroup.
Thenamedpreferencegroupmustbeacharacterstring.
Thepreferencepref maybeacharacterstringoracellarrayofcharacterstrings.
Thecorrespondingvaluevalmaybeany value,or,ifpref f isacellarrayofstrings,
valmustbeacellarrayofvalueswiththesamesizeaspref.
See also: [setpref], page 747[getpref], page 746[ispref], page e 747[rmpref],
page747.
[FunctionFile]
rmpref
(
group
,
pref
)
[FunctionFile]
rmpref
(
group
)
Removethenamedpreferencepref fromthepreferencegroupgroup.
Thenamedpreferencegroupmustbeacharacterstring.
Thepreferencepref maybeacharacterstringorcellarrayofstrings.
Ifpref isnotspecified,removethepreferencegroupgroup.
Itisanerrortoremoveanonexistentpreferenceorgroup.
See also: [addpref], page e 747[ispref], page e 747[setpref], page 747[getpref],
page746.
[FunctionFile]
ispref
(
group
,
pref
)
[FunctionFile]
ispref
(
group
)
Returntrueifthenamedpreferencepref existsinthepreferencegroupgroup.
Thenamedpreferencegroupmustbeacharacterstring.
Thepreferencepref maybeacharacterstringoracellarrayofcharacterstrings.
Ifpref isnotspecified,returntrueifthepreferencegroupgroupexists.
See also: [getpref], page 746[addpref], page 747[setpref], page 747[rmpref],
page747.
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Forms. Support adding PDF page number. Offer PDF page break inserting function. Free SDK library for Visual Studio .NET. Independent
break pdf into single pages; can print pdf no pages selected
C# PDF Page Insert Library: insert pages into PDF file in C#.net
Ability to add PDF page number in preview. Offer PDF page break inserting function. Free components and online source codes for .NET framework 2.0+.
split pdf; cannot select text in pdf file
748
GNUOctave
[Command]
prefdir
[Command]
dir = = prefdir
ReturnthedirectorythatcontainsthepreferencesforOctave.
Examples:
Displaythepreferencesdirectory
prefdir
Changetothepreferencesfolder
cd (prefdir)
See also: [getpref], page 746[setpref], page e 747[addpref], page 747[rmpref],
page747,[ispref],page747.
[Command]
preferences
DisplaytheGUIpreferencesdialogwindowforOctave.
C# TWAIN - Query & Set Device Abilities in C#
device.TwainTransferMode = method; break; } if (method == TwainTransferMethod.TWSX_FILE) device.TransferMethod = method; } // If it's not supported tell stop.
break pdf into multiple pages; acrobat separate pdf pages
C# TWAIN - Install, Deploy and Distribute XImage.Twain Control
RasterEdge.XDoc.PDF.dll. device.TwainTransferMode = method; break; } if (method == TwainTransferMethod.TWSX_FILE) device.TransferMethod = method; } // If it's
acrobat split pdf bookmark; c# print pdf to specific printer
Chapter36: SystemUtilities
749
36 SystemUtilities
Thischapterdescribesthefunctionsthatareavailabletoallowyoutogetinformationabout
whatishappeningoutsideofOctave,whileitisstillrunning,andusethisinformationin
your program. . For r example, , you canget t information n about t environment t variables, the
currenttime,andevenstartotherprogramsfromtheOctaveprompt.
36.1 TimingUtilities
Octave’s core set of functions for manipulatingtime values are patternedafter the cor-
respondingfunctions fromthestandardC library. . Severalof f thesefunctions use adata
structurefortimethatincludesthefollowingelements:
usec
Microsecondsafterthesecond(0-999999).
sec
Seconds aftertheminute(0-60). . This s number canbe60toaccountfor leap
seconds.
min
Minutesafterthehour(0-59).
hour
Hourssincemidnight(0-23).
mday
Dayofthemonth(1-31).
mon
MonthssinceJanuary(0-11).
year
Yearssince1900.
wday
DayssinceSunday(0-6).
yday
DayssinceJanuary1(0-365).
isdst
DaylightSavingsTimeflag.
zone
Timezone.
Inthedescriptionsofthefollowingfunctions,thisstructureisreferredtoasatm
struct.
[Built-inFunction]
seconds = time
()
Returnthecurrenttimeasthenumberofsecondssincetheepoch.
Theepochisreferencedto00:00:00CUT(CoordinatedUniversalTime)1Jan1970.
Forexample,onMondayFebruary17,1997at07:15:06CUT,thevaluereturnedby
timewas856163706.
See also: [strftime],page751,[strptime],page753,[localtime],page750,[gmtime],
page 750[mktime],page751[now], page 749,[date],page754[clock], page753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
[FunctionFile]
t = = now
()
Returnthecurrentlocaldate/timeasaserialdaynumber(seedatenum).
The integralpart,floor(now) corresponds tothe number of days between today
andJan1,0000.
Thefractionalpart,rem(now,1)correspondstothecurrenttime.
Seealso: [clock],page753,[date],page754,[datenum],page756.
C# TWAIN - Specify Size and Location to Scan
foreach (TwainStaticFrameSizeType frame in frames) { if (frame == TwainStaticFrameSizeType.LetterUS) { this.device.FrameSize = frame; break; } } }.
split pdf into individual pages; pdf rotate single page
C# TWAIN - Acquire or Save Image to File
RasterEdge.XDoc.PDF.dll. if (device.Compression != TwainCompressionMode.Group4) device.Compression = TwainCompressionMode.Group3; break; } } acq.FileTranfer
break pdf password; pdf split
750
GNUOctave
[FunctionFile]
ctime
(
t
)
Convertavaluereturnedfromtime(oranyothernon-negativeinteger),tothelocal
timeandreturnastringofthesameformasasctime.
Thefunctionctime(time)isequivalenttoasctime(localtime(time)). Forex-
ample:
ctime (time e ())
) "Mon n Feb 17 01:15:06 1997\
n"
Seealso: [asctime],page751,[time],page749,[localtime],page750.
[Built-inFunction]
tm_struct = = gmtime
(
t
)
Givenavaluereturnedfromtime,oranynon-negativeinteger,returnatimestructure
correspondingtoCUT(CoordinatedUniversalTime).
Forexample:
gmtime (time ())
) {
usec = 0
sec = = 6
min = = 15
hour = 7
mday = 17
mon = = 1
year = 97
wday = 1
yday = 47
isdst = = 0
zone = CST
}
See also: [strftime],page751,[strptime],page753,[localtime],page750,[mktime],
page 751[time], page 749[now], page 749[date], page 754[clock], page 753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
[Built-inFunction]
tm_struct = = localtime
(
t
)
Givenavaluereturnedfromtime,oranynon-negativeinteger,returnatimestructure
correspondingtothelocaltimezone.
Chapter36: SystemUtilities
751
localtime (time ())
) {
usec = 0
sec = = 6
min = = 15
hour = 1
mday = 17
mon = = 1
year = 97
wday = 1
yday = 47
isdst = = 0
zone = CST
}
See also: [strftime], page 751[strptime], page 753,[gmtime], page 750[mktime],
page 751[time], page 749[now], page 749[date], page 754[clock], page 753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
[Built-inFunction]
seconds = mktime
(
tm_struct
)
Convert atimestructure correspondingtothelocaltimetothe numberofseconds
sincetheepoch.
Forexample:
mktime (localtime (time ()))
) 856163706
See also: [strftime],page751,[strptime],page753,[localtime],page750,[gmtime],
page 750[time], page 749[now], page 749[date], page 754[clock], page 753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
[FunctionFile]
asctime
(
tm_struct
)
Convert a a time structure to a string using the following format: : "dddmmmmm
HH:MM:SSyyyy\n".
Forexample:
asctime (localtime (time e ()))
) "Mon n Feb b 17 01:15:06 6 1997\
n"
Thisisequivalenttoctime(time()).
Seealso: [ctime],page750,[localtime],page750,[time],page749.
[Built-inFunction]
strftime
(
fmt
,
tm_struct
)
Format thetime structuretm
struct in n aflexible way y usingtheformat string fmt
thatcontains‘%’substitutionssimilartothoseinprintf.
Exceptwherenoted,substitutedfieldshaveafixedsize;numericfieldsarepaddedif
necessary. Paddingiswithzeros s bydefault;forfieldsthatdisplayasinglenumber,
752
GNUOctave
paddingcanbechangedorinhibitedby followingthe‘%’withone ofthemodifiers
describedbelow.Unknownfieldspecifiersarecopiedasnormalcharacters. Allother
charactersarecopiedtotheoutputwithoutchange.Forexample:
strftime ("%r (%Z) ) %A %e e %B %Y", , localtime (time ()))
) "01:15:06 6 AM (CST) ) Monday y 17 February y 1997"
Octave’sstrftimefunctionsupportsasupersetoftheANSICfieldspecifiers.
Literalcharacterfields:
%%
%character.
%n
Newlinecharacter.
%t
Tabcharacter.
Numericmodifiers(anonstandardextension):
-(dash)
Donotpadthefield.
_(underscore)
Padthefieldwithspaces.
Timefields:
%H
Hour(00-23).
%I
Hour(01-12).
%k
Hour(0-23).
%l
Hour(1-12).
%M
Minute(00-59).
%p
Locale’sAMorPM.
%r
Time,12-hour(hh:mm:ss[AP]M).
%R
Time,24-hour(hh:mm).
%s
Timeinsecondssince00:00:00,Jan1,1970(anonstandardextension).
%S
Second(00-61).
%T
Time,24-hour(hh:mm:ss).
%X
Locale’stimerepresentation(%H:%M:%S).
%Z
Timezone(EDT),ornothingifnotimezoneisdeterminable.
Datefields:
%a
Locale’sabbreviatedweekdayname(Sun-Sat).
%A
Locale’sfullweekdayname,variablelength(Sunday-Saturday).
%b
Locale’sabbreviatedmonthname(Jan-Dec).
%B
Locale’sfullmonthname,variablelength(January-December).
%c
Locale’sdateandtime(SatNov0412:02:33EST1989).
Chapter36: SystemUtilities
753
%C
Century(00-99).
%d
Dayofmonth(01-31).
%e
Dayofmonth(1-31).
%D
Date(mm/dd/yy).
%h
Sameas%b.
%j
Dayofyear(001-366).
%m
Month(01-12).
%U
WeeknumberofyearwithSundayasfirstdayofweek(00-53).
%w
Dayofweek(0-6).
%W
WeeknumberofyearwithMondayasfirstdayofweek(00-53).
%x
Locale’sdaterepresentation(mm/dd/yy).
%y
Lasttwodigitsofyear(00-99).
%Y
Year(1970-).
See also: [strptime],page753,[localtime],page 750[gmtime],page750,[mktime],
page 751[time], page 749[now], page 749[date], page 754[clock], page 753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
[Built-inFunction]
[tm_struct, nchars] = = strptime
(
str
,
fmt
)
Convertthestringstrtothetimestructuretm
structunderthecontroloftheformat
stringfmt.
Iffmt failstomatch,nchars is0;otherwise,itissettothepositionoflastmatched
characterplus1. Alwayscheckforthisunlessyou’reabsolutelysurethedatestring
willbeparsedcorrectly.
See also: [strftime],page 751,[localtime],page750[gmtime],page750[mktime],
page 751[time], page 749[now], page 749[date], page 754[clock], page 753,
[datenum],page756,[datestr],page 757[datevec], page 758,[calendar],page759,
[weekday],page759.
Most of theremaining functions describedin n this s sectionare not patterned d after r the
standard C C library. . Some e are e available for compatibility with h matlab b and d others are
providedbecausetheyareuseful.
[FunctionFile]
clock
()
Returnthecurrentlocaldateandtimeasadatevector.
Thedatevectorcontainsthefollowingfields: currentyear,month(1-12),day(1-31),
hour(0-23),minute(0-59),andsecond(0-61).Thesecondsfieldhasafractionalpart
afterthedecimalpointforextendedaccuracy.
Forexample:
754
GNUOctave
fix (clock ())
) [ [ 1993, 8, 20, 4, 56, 1 ]
clockismoreaccurateonsystemsthathavethegettimeofdayfunction.
Seealso: [now],page749,[date],page754,[datevec],page758.
[FunctionFile]
date
()
ReturnthecurrentdateasacharacterstringintheformDD-MMM-YYYY.
Forexample:
date ()
) "20-Aug-1993"
Seealso:[now],page749,[clock],page753,[datestr],page757,[localtime],page750.
[FunctionFile]
etime
(
t2
,
t1
)
Returnthedifferenceinsecondsbetweentwotimevaluesreturnedfromclock(t2 
t1).
Forexample:
t0 = = clock ();
# many computations s later...
elapsed_time = etime (clock k (), , t0);
willset thevariable elapsed_time to the number of seconds sincethe variable t0
wasset.
See also: [tic], page e 755[toc], page 755[clock], page e 753[cputime], page 754,
[addtodate],page759.
[Built-inFunction]
[total, user, system] = cputime
();
ReturntheCPUtimeusedbyyourOctavesession.
Thefirstoutputisthetotaltimespentexecutingyourprocessandisequaltothesum
ofsecondandthirdoutputs,whicharethenumberofCPUsecondsspentexecuting
in user r mode and the number of CPU U seconds s spent executing g in n system m mode,
respectively.
IfyoursystemdoesnothaveawaytoreportCPUtimeusage,cputimereturns0for
eachofitsoutputvalues.
NotethatbecauseOctaveusedsomeCPUtimetostart,itisreasonabletocheckto
seeifcputimeworksbycheckingtoseeifthetotalCPUtimeusedisnonzero.
Seealso: [tic],page755,[toc],page755.
[FunctionFile]
is_leap_year
()
[FunctionFile]
is_leap_year
(
year
)
Returntrueifyear isaleapyearandfalseotherwise.
Ifnoyearisspecified,is_leap_yearusesthecurrentyear.
Forexample:
is_leap_year (2000)
) 1
Seealso: [weekday],page759,[eomday],page760,[calendar],page759.
Documents you may be interested
Documents you may be interested