www.cst.com | Oct-07
1
CST STUDIO SUITE™
Introduction in VBA
Macro usage and programming
M. Balk
ExistingMacros
Different MacroTypes
Templates
Structureof a Macro
Example
Rotate pdf pages - rotate PDF page permanently in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Empower Users to Change the Rotation Angle of PDF File Page Using C#
saving rotated pdf pages; rotate pages in pdf
Rotate pdf pages - VB.NET PDF Page Rotate Library: rotate PDF page permanently in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
PDF Document Page Rotation in Visual Basic .NET Class Application
rotate single page in pdf file; how to rotate all pages in pdf at once
www.cst.com | Oct-07
2
Outline
!Whymacroprogramming?
!Existingmacros
!Different typesof macros
!Creating and testingnewmacros
!Gettingmoreinformation
VB.NET PDF Page Delete Library: remove PDF pages in vb.net, ASP.
Page: Delete Existing PDF Pages. |. Home ›› XDoc.PDF ›› VB.NET PDF: Delete PDF Page. How to VB.NET: Delete Consecutive Pages from PDF.
how to rotate a page in pdf and save it; rotate pdf pages and save
C# PDF Page Delete Library: remove PDF pages in C#.net, ASP.NET
Page: Delete Existing PDF Pages. Provide C# Users with Mature .NET PDF Document Manipulating Library for Deleting PDF Pages in C#.
rotate one page in pdf; rotate pages in pdf and save
www.cst.com | Oct-07
3
Outline
!Whymacroprogramming?
!Existingmacros
!Different typesof macros
!Creating and testingnewmacros
!Gettingmoreinformation
VB.NET PDF Page Insert Library: insert pages into PDF file in vb.
Page: Insert PDF Pages. |. Home ›› XDoc.PDF ›› VB.NET PDF: Insert PDF Page. Add and Insert Multiple PDF Pages to PDF Document Using VB.
rotate pdf page by page; how to save a pdf after rotating pages
C# PDF Page Insert Library: insert pages into PDF file in C#.net
how to merge PDF document files by C# code, how to rotate PDF document page, how to delete PDF page using C# .NET, how to reorganize PDF document pages and how
how to change page orientation in pdf document; pdf reverse page order
www.cst.com | Oct-07
4
Why Macro Programming?
!
Automate commontasks, save time, increaseproductivity
!
Extendtheprogram‘scapabilities, e.g. post processing, optimization
!
Customizetheprogramforparticularapplications
!
Makeadvancedfunctionalityavailableto lessexperiencedusers
CST STUDIO SUITE‘smacrolanguage:
!
Compatibleto thewidelyusedVBA (Visual Basic forApplications)
!
COM based
" CST STUDIO SUITE canbecontrolledbyotherapplications
" CST STUDIO SUITE cancontrolotherapplications
C# PDF Page Extract Library: copy, paste, cut PDF pages in C#.net
C#.NET PDF Library - Copy and Paste PDF Pages in C#.NET. Easy to C#.NET Sample Code: Copy and Paste PDF Pages Using C#.NET. C# programming
reverse page order pdf online; how to rotate all pages in pdf
VB.NET PDF Page Replace Library: replace PDF pages in C#.net, ASP.
C#.NET convert PDF to text, C#.NET convert PDF to images, C#.NET PDF file & pages edit, C#.NET PDF pages extract, copy, paste, C#.NET rotate PDF pages, C#.NET
save pdf rotate pages; rotate pages in pdf expert
www.cst.com | Oct-07
5
Integration Into Workflow
CST Studios can be both: OLE client and
server
MS Windows
Scripting 
Host
Excel, Word,
Matlab, AutoCad,
etc...
CST Software
(MWS, DS)
e.g. bidirectional Excel link
COM
DCOM
reports
e.g. ppt-Reports
OLE: CommunicationStandardfor Data Exchange
C# PDF Page Replace Library: replace PDF pages in C#.net, ASP.NET
Page: Replace PDF Pages. |. Home ›› XDoc.PDF ›› C# PDF: Replace PDF Pages. C#.NET PDF Library - Replace PDF Pages in C#.NET.
how to rotate one pdf page; rotate pdf page permanently
VB.NET PDF - WPF PDF Viewer for VB.NET Program
C#.NET convert PDF to text, C#.NET convert PDF to images, C#.NET PDF file & pages edit, C#.NET PDF pages extract, copy, paste, C#.NET rotate PDF pages, C#.NET
rotate individual pdf pages reader; rotate all pages in pdf preview
www.cst.com | Oct-07
6
Integration Into Workflow
! "C:\ProgramFiles\CSTSTUDIO SUITE 2006B\CST DESIGN ENVIRONMENT.exe" –m D:\MBK\Start_CST_5.bas
Matlab
CST Software
(CST MWS,
CST DS)
Callvia commandlineoption
Call:
Executecommandin Matlab
CST MWS iscalled
withinthe
CST DESIGN 
ENVIRONMENT 
Pathof theVBA script
Sub Main
OpenFile("D:\MBK\test1\test1.mod")
Solver.Start
Save
End Sub
Opensan existingCST MWS file
Start of TransientSolver
Savesresultsand givescontrolback to Matlab
www.cst.com | Oct-07
7
Project Templates
File -> New...
File -> SelectTemplate...
orlater:
At thebeginning:
Customizethedefaultsettingsforparticulartypesof applications.
Thetemplatelibrarycanbeeasilyextended
www.cst.com | Oct-07
9
"Input somecommandsyouoftenuseforyourMWS structures, e.g.:
"Frequencyrange, units, Background-mat+  boundaries
"Definition of materials(parameters, favoritecolours...)
"Workingplane settings(especiallysnapping!)
"Monitors at favoritefrequencies, ...
"Open thehistorylist
"Mark thecommands, press „Macro“
"Givea nameto yourmacro, e.g. „File / My defaults“
"Click„Makegloballyavailable“, then„OK“
Project Templates
www.cst.com | Oct-07
10
Postprocessing
Import and comparewithmeasureddata
Special postprocessing(e.g. TDR)
Store Viewsand Animationsin different formats
Userdefinedgoal-functions(e.g. antennagoal)
Creating a Powerpoint Presentation
Customize CST MWS 
exactly to your needs
www.cst.com | Oct-07
11
Outline
!Whymacroprogramming?
!Existingmacros
!Different typesof macros
!Creating and testingnewmacros
!Gettingmoreinformation
Documents you may be interested
Documents you may be interested