asp net core 2.0 mvc pdf : Reader create pdf multiple files control SDK system web page wpf .net console MATLAB_Excel12-part1102

C
UtilityLibrary
ReferencingUtilityClasses(p.C-2)
Howtoreferencetheclassesinyour
programmingenvironment.
UtilityLibraryClasses(p.C-3)
Describestheclassesprovidedinthe
Utilitylibrary.
Enumerations(p.C-32)
Describesthesetsofconstants
providedwiththelibrary.
Reader create pdf multiple files - Merge, append PDF files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Provide C# Demo Codes for Merging and Appending PDF Document
.net merge pdf files; build pdf from multiple files
Reader create pdf multiple files - VB.NET PDF File Merge Library: Merge, append PDF files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET Guide and Sample Codes to Merge PDF Documents in .NET Project
pdf merge documents; pdf merger
C
Utility Library
ReferencingUtilityClasses
Thissectiondescribesthe
MWComUtil
libraryprovidedwithMATLABBuilder
forExcel. Thislibraryisfreelydistributableandincludesseveralfunctions
usedinarrayprocessing,aswellastypedefinitionsusedindataconversion.
Thislibraryiscontainedinthefile
mwcomutil.dll
.Itmustberegisteredonce
oneachmachinethatusesExcelBuildercomponents.
Registerthe
MWComUtil
libraryattheDOScommandpromptwiththe
followingcommand:
mwregsvr mwcomutil.dll
The
MWComUtil
libraryincludessevenclasses(see“UtilityLibraryClasses”on
pageC-3)andthreeenumeratedtypes(see“Enumerations”onpageC-32).
Beforeusingthesetypes,youmustmakeexplicitreferencestothe
MWComUtil
typelibrariesintheVisualBasicIDE.Todothis,clickTools>References
fromthemainmenuoftheVBeditor. TheReferencesdialogboxappears
withascrollablelistofavailabletypelibraries. Fromthislist,select
MWComUtil7.5TypeLibraryandclickOK.
C-2
C# PDF File Split Library: Split, seperate PDF into multiple files
pages. Divide PDF file into multiple files by outputting PDF file size. Split outputFiles); Split PDF Document into Multiple PDF Files in C#. You
append pdf files reader; merge pdf
VB.NET PDF File Split Library: Split, seperate PDF into multiple
Split PDF Document into Multiple PDF Files Demo Code in String = Program.RootPath + "\\" 1.pdf" Dim outputFileName to (Page Count - 1). ' Create output PDF
combine pdf files; acrobat split pdf into multiple files
UtilityLibraryClasses
UtilityLibraryClasses
TheMATLABBuilderforExcelUtilitylibraryprovidestheseclasses:
• “ClassMWUtil”onpageC-3
• “ClassMWFlags”onpageC-10
• “ClassMWStruct”onpageC-16
• “ClassMWField”onpageC-24
• “ClassMWComplex”onpageC-25
• “ClassMWSparse”onpageC-27
• “ClassMWArg”onpageC-30
ClassMWUtil
The
MWUtil
classcontainsasetofstaticutilitymethodsusedinarray
processingandapplicationinitialization.Thisclassisimplementedinternally
asasingleton(onlyoneglobalinstanceofthisclassperinstanceofExcel).It
ismostefficienttodeclareonevariableofthistypeinglobalscopewithineach
modulethatusesit. Themethodsof
MWUtil
are
• “SubMWInitApplication(pAppAsObject)”onpageC-3
• “SubMWPack(pVarArg,[Var0],[Var1],...,[Var31])”onpageC-5
• “SubMWUnpack(VarArg,[nStartAtAsLong],[bAutoResizeAsBoolean=
False],[pVar0],[pVar1],...,[pVar31])”onpageC-6
• “SubMWDate2VariantDate(pVar)”onpageC-8
ThefunctionprototypesuseVisualBasicsyntax.
SubMWInitApplication(pAppAsObject)
InitializesthelibrarywiththecurrentinstanceofExcel.
C-3
C# Create PDF Library SDK to convert PDF from other file formats
Tell Users How to Create New PDF File and Load PDF from Other Files. Free PDF creator SDK for Visual Studio .NET. Batch create adobe PDF from multiple forms.
batch pdf merger; reader combine pdf
VB.NET Create PDF from CSV to convert csv files to PDF in vb.net
XImage.Barcode Reader. XImage.Barcode Generator. Help VB.NET Users to Create PDF Document from CSV File. CSV files are saved to PDF documents by keeping original
add pdf together; add two pdf files together
C
Utility Library
Parameters.
Argument
Type
Description
pApp
Object
Avalidreferenceto
thecurrentExcel
application
Return Value. None.
Remarks. ThisfunctionmustbecalledonceforeachsessionofExcelthat
usesExcelBuildercomponents. Anerrorisgeneratedifamethodcallis
madetoamemberclassofanyExcelBuildercomponent,andthelibraryhas
notbeeninitialized.
Example. ThisVisualBasicsampleinitializesthe
MWComUtil
librarywith
thecurrentinstanceofExcel.Aglobalvariableoftype
Object
named
MCLUtil
holdsaninstanceofthe
MWUtil
class,andanotherglobalvariableoftype
Boolean
named
bModuleInitialized
storesthestatusoftheinitialization
process. Theprivatesubroutine
InitModule()
createsaninstanceofthe
MWComUtil
classandcallsthe
MWInitApplication
methodwithanargument
of
Application
.Oncethisfunctionsucceeds,allsubsequentcallsexitwithout
recreatingtheobject.
Dim MCLUtil As s Object
Dim bModuleInitialized d As s Boolean
Private Sub InitModule()
If Not bModuleInitialized Then
On Error GoTo Handle_Error
If MCLUtil Is Nothing Then
Set MCLUtil = CreateObject("MWComUtil.MWUtil")
End If
Call MCLUtil.MWInitApplication(Application)
bModuleInitialized = True
Exit Sub
Handle_Error:
bModuleInitialized = False
End If
End Sub
C-4
C# Create PDF from CSV to convert csv files to PDF in C#.net, ASP.
Create PDF from CSV in both .NET WinForms and ASP.NET CSV files are saved to PDF documents by keeping Supports converting multiple sheets CSV file to one PDF
acrobat merge pdf; merge pdf online
C# Create PDF from images Library to convert Jpeg, png images to
Create PDF from images in both .NET WinForms and ASP.NET multiple image formats into one or multiple PDF file in example shows how to build a PDF document with
c# merge pdf files; break a pdf into multiple files
UtilityLibraryClasses
SubMWPack(pVarArg,[Var0],[Var1],... ,[Var31])
Packsavariablelengthlistof
Variant
argumentsintoasingle
Variant
array.Thisfunctionistypicallyusedforcreatinga
varargin
cellfromalist
ofseparateinputs. Eachinputinthelistisaddedtothearrayonlyifitis
nonemptyandnonmissing.(InVisualBasic,amissingparameterisdenoted
bya
Variant
typeof
vbError
withavalueof
&H80020004
.)
Parameters.
Argument
Type
Description
pVarArg
Variant
Receivestheresulting
array
[Var0], [Var1], ...
Variant
Optional list of
Variant
s topack
intothearray. 0to
32argumentscanbe
passed.
Return Value. None.
Remarks. Thisfunctionalwaysfreesthecontentsof
pVarArg
before
processingthelist.
Example. Thisexampleuses
MWPack
inaformulafunctiontoproducea
varargin
celltopassasaninputparametertoamethodcompiledfroma
MATLABfunctionwiththesignature:
function y = mysum(varargin)
y = sum([varargin{:}]);
Thefunctionreturnsthesumoftheelementsin
varargin
.Assumethatthis
functionisamethodofaclassnamed
myclass
thatisincludedinacomponent
named
mycomponent
withaversionof1.0.TheVisualBasicfunctionallows
upto10inputs,andreturnstheresult
y
. Ifanerroroccurs,thefunction
returnstheerrorstring. Thisfunctionassumesthat
MWInitApplication
hasbeenpreviouslycalled.
Function mysum(Optional V0 As Variant, , _
Optional V1 As Variant, _
C-5
VB.NET Create PDF from images Library to convert Jpeg, png images
Support create PDF from multiple image formats in VB.NET Turn multiple image formats into one or multiple PDF file. shows how to build a PDF document with three
all jpg to one pdf converter; acrobat combine pdf files
VB.NET PDF Convert to Jpeg SDK: Convert PDF to JPEG images in vb.
XImage.Barcode Reader. XImage.Barcode Generator. C#.NET Annotate PDF in WPF, C#.NET PDF Create, C#.NET Turn multiple pages PDF into multiple jpg files in VB.NET
combine pdf online; how to combine pdf files
C
Utility Library
Optional V2 As Variant, _
Optional V3 As Variant, _
Optional V4 As Variant, _
Optional V5 As Variant, _
Optional V6 As Variant, _
Optional V7 As Variant, _
Optional V8 As Variant, _
Optional V9 As Variant) As Variant
Dim y As Variant
Dim varargin As Variant
Dim aClass As Object
Dim aUtil l As s Object
On Error Goto o Handle_Error
Set aClass s = = CreateObject("mycomponent.myclass.1_0")
Set aUtil = CreateObject("MWComUtil.MWUtil")
Call aUtil.MWPack(varargin,V0,V1,V2,V3,V4,V5,V6,V7,V8,V9)
Call aClass.mysum(1, y, , varargin)
mysum = = y
Exit Function
Handle_Error:
mysum = = Err.Description
End Function
SubMWUnpack(VarArg,[nStartAtAsLong],[bAutoResizeAs
Boolean=False],[pVar0],[pVar1],...,[pVar31])
Unpacksanarrayof
Variant
sintoindividual
Variant
arguments. This
functionprovidesthereversefunctionalityof
MWPack
andistypicallyusedto
processa
varargout
cellintoindividual
Variant
s.
Parameters.
Argument
Type
Description
VarArg
Variant
Inputarrayof
Variant
s
tobeprocessed
C-6
VB.NET PDF Library SDK to view, edit, convert, process PDF file
quality PDF conversions to or from multiple supported images Tell VB.NET users how to: create a new formats; merge, append, and split PDF files; insert, delete
split pdf into multiple files; best pdf merger
UtilityLibraryClasses
Argument
Type
Description
nStartAt
Long
Optional starting
index (zero-based)
inthearraytobegin
processing.Default=
0
.
bAutoResize
Boolean
Optionalauto-resize
flag. Ifthisflagis
True
,anyExcelrange
output arguments
areresizedtofitthe
dimensions of the
Variant
tobecopied.
Theresizingprocessis
appliedrelativetothe
upper-leftcornerofthe
suppliedrange.Default
=
False
.
[pVar0],[pVar1],
...
Variant
Optional list of
Variant
storeceivethe
arrayitemscontained
in
VarArg
. 0to32
argumentscanbe
passed.
Return Value. None.
Remarks. Thisfunctioncanprocessa
Variant
arrayinasinglecallor
throughmultiplecallsusingthe
nStartAt
parameter.
Example. Thisexampleuses
MWUnpack
toprocessa
varargout
cellinto
severalExcelranges,whileauto-resizingeachrange. The
varargout
parameterissuppliedfromamethodthathasbeencompiledfromthe
MATLABfunction.
function varargout = randvectors
for i=1:nargout
varargout{i} = = rand(i,1);
end
C-7
C
Utility Library
Thisfunctionproducesasequenceof
nargout
randomcolumnvectors,with
thelengthofthe
i
thvectorequaltoi.Assumethatthisfunctionisincludedin
aclassnamed
myclass
thatisincludedinacomponentnamed
mycomponent
withaversionof1.0. TheVisualBasicsubroutinetakesnoargumentsand
placestheresultsintoExcelcolumnsstartingatA1,B1,C1,andD1. Ifan
erroroccurs,amessageboxdisplaystheerrortext.Thisfunctionassumes
that
MWInitApplication
hasbeenpreviouslycalled.
Sub GenVectors()
Dim aClass s As Object
Dim aUtil As Object
Dim v v As s Variant
Dim R1 As Range
Dim R2 As Range
Dim R3 As Range
Dim R4 As Range
.
.
.
On Error GoTo o Handle_Error
Set aClass s = = CreateObject("mycomponent.myclass.1_0")
Set aUtil = CreateObject("MWComUtil.MWUtil")
Set R1 = Range("A1")
Set R2 = Range("B1")
Set R3 = Range("C1")
Set R4 = Range("D1")
Call aClass.randvectors(4, , v)
Call aUtil.MWUnpack(v,0,True,R1,R2,R3,R4)
Exit Sub
Handle_Error:
MsgBox (Err.Description)
End Sub
SubMWDate2VariantDate(pVar)
ConvertsoutputdatesfromMATLABto
Variant
dates.
C-8
UtilityLibraryClasses
Parameters.
Argument
Type
Description
pVar
Variant
Variant
tobeconverted
Return Value. None.
Remarks. MATLABhandlesdatesasdouble-precisionfloating-point
numberswith0.0representing0/0/0000:00:00(see“DataConversionRules”
onpageB-2formoreinformationonconversionbetweenMATLABand
COMdatevalues).Bydefault,numericdatesthatareoutputparameters
fromcompiledMATLABfunctionsarepassedas
Double
sthatneedtobe
decrementedbytheCOMdatebiasaswellascoercedtoCOMdates. The
MWDate2VariantDate
methodperformsthistransformationandadditionally
convertsdatesinstringformtoCOMdatetypes.
Example. Thisexampleuses
MWDate2VariantDate
toprocessnumericdates
returnedfromamethodcompiledfromthefollowingMATLABfunction:
function x = getdates(n, inc)
y = now;
for i=1:n
x(i,1) = = y + (i-1)*inc;
end
Thisfunctionproducesan
n
-lengthcolumnvectorofnumericvalues
representingdatesstartingfromthecurrentdateandtimewitheachelement
incrementedby
inc
days. Assumethatthisfunctionisincludedinaclass
named
myclass
thatisincludedinacomponentnamed
mycomponent
with
aversionof1.0. ThesubroutinetakesanExcelrangeanda
Double
as
inputsandplacesthegenerateddatesintothesuppliedrange. Ifanerror
occurs,amessageboxdisplaystheerrortext. Thisfunctionassumesthat
MWInitApplication
hasbeenpreviouslycalled.
Sub GenDates(R R As Range, , inc As Double)
Dim aClass s As Object
Dim aUtil As Object
On Error GoTo o Handle_Error
Set aClass s = = CreateObject("mycomponent.myclass.1_0")
C-9
C
Utility Library
Set aUtil = CreateObject("MWComUtil.MWUtil")
Call aClass.getdates(1, , R, R.Rows.Count, , inc)
Call aUtil.MWDate2VariantDate(R)
Exit Sub
Handle_Error:
MsgBox (Err.Description)
End Sub
ClassMWFlags
The
MWFlags
classcontainsasetofarrayformattinganddataconversion
flags(see“DataConversionRules”onpageB-2formoreinformationon
conversionbetweenMATLABandCOMAutomationtypes).AllExcelBuilder
componentscontainareferencetoan
MWFlags
objectthatcanmodifydata
conversionrulesattheobjectlevel.Thisclasscontainstheseproperties:
• “PropertyArrayFormatFlagsAsMWArrayFormatFlags”onpageC-10
• “PropertyDataConversionFlagsAsMWDataConversionFlags”onpage
C-13
• “SubClone(ppFlagsAsMWFlags)”onpageC-15
PropertyArrayFormatFlagsAsMWArrayFormatFlags
The
ArrayFormatFlags
propertycontrolsarrayformatting(asamatrix
oracellarray)andtheapplicationoftheserulestonestedarrays. The
MWArrayFormatFlags
classisanoncreatableclassaccessedthroughan
MWFlags
classinstance.Thisclasscontainstheseproperties:
• “PropertyInputArrayFormatAsmwArrayFormat”onpageC-11
• “PropertyInputArrayIndFlagAsLong”onpageC-11
• “PropertyOutputArrayFormatAsmwArrayFormat”onpageC-12
• “PropertyOutputArrayIndFlagAsLong”onpageC-12
• “PropertyAutoResizeOutputAsBoolean”onpageC-13
• “PropertyTransposeOutputAsBoolean”onpageC-13
C-10
Documents you may be interested
Documents you may be interested