GUI Tools
I
Command Button (VBA) Push Button (MATLAB):
clicking on this will cause a procedure or function to execute.
I
TextBox (VBA) Edit Text (MATLAB): used to enter
parameter values or show values to the user { used for both
input and output.
I
Label (VBA) Static Text (MATLAB): Used to \explain"
the other tools to the user. These cannot be used to provide
any information to the code.
I
ScrollBar (VBA) Slider (MATLAB): Can select values in a
continum between a min and max value.
I
Image (VBA) Axes (MATLAB): Display a graphic.
11
Pdf thumbnail - software application project:C# PDF Thumbnail Create SDK: Draw thumbnail images for PDF in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Thumbnail Generation with Various Options for Quick PDF Navigation
www.rasteredge.com
Pdf thumbnail - software application project:VB.NET PDF Thumbnail Create SDK: Draw thumbnail images for PDF in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
Support Thumbnail Generation with Various Options for Quick PDF Navigation
www.rasteredge.com
GUI Tools
I
ListBox (VBA) Pop-Up Menu (MATLAB): select from a
nite set of options.
I
CheckBox (VBA) Check Box (MATLAB): select an option
if desired.
I
OptionButton (VBA) Radio Button (MATLAB): select
among several options
I
Frame (VBA) Panel (MATLAB) organize a related set of
tools or options
12
software application project:How to C#: Generate Thumbnail for Word
As you see, you are allowed to define and control the size of thumbnail. DOCXDocument pdf = new DOCXDocument(@"C:\1.docx"); BasePage page = pdf.GetPage(0
www.rasteredge.com
software application project:How to C#: Set Image Thumbnail in C#.NET
VB.NET How-to, VB.NET PDF, VB.NET Word, VB.NET Excel, VB.NET PowerPoint, VB.NET Tiff, VB.NET Imaging, VB.NET OCR, VB How to C#: Set Image Thumbnail in C#.NET.
www.rasteredge.com
GUI Tools
Each of the GUI tools has a Properties Window (Inspector).
Here is one for VBA. Click on the icon in the User Form to bring it
up.
13
software application project:How to C#: Generate Thumbnail for PowerPoint
VB.NET How-to, VB.NET PDF, VB.NET Word, VB.NET Excel, VB.NET PowerPoint, VB.NET Tiff, VB.NET Imaging, VB.NET OCR, VB How to C#: Generate Thumbnail for PowerPoint
www.rasteredge.com
software application project:VB.NET Image: Program for Creating Thumbnail from Documents and
language. It empowers VB developers to create thumbnail from multiple document and image formats, such as PDF, TIFF, GIF, BMP, etc. It
www.rasteredge.com
GUI Tools
Here is one for MATLAB. Click on the icon in the User Form to
bring it up.
14
software application project:How to C#: Generate Thumbnail for Raster
VB.NET How-to, VB.NET PDF, VB.NET Word, VB.NET Excel, VB.NET PowerPoint, VB.NET Tiff, VB.NET Imaging, VB.NET OCR, VB How to C#: Generate Thumbnail for Raster.
www.rasteredge.com
software application project:Create Thumbnail in Web Image Viewer | Online Tutorials
or Images; Create Thumbnail; Generate Barcodes on Your Documents; Read Barcodes from Your Documents. Multi-page Tiff Processing; RasterEdge OCR Engine; PDF Reading
www.rasteredge.com
Generating the Code
KEY IDEA ONE:
For each tool there is an empty stub or callback Sub or function.
VBA
Private Sub CommandButton1_Click()
End Sub
MATLAB
% --- Executes on button press in pushbutton1.
function pushbutton1_Callback(hObject, eventdata, handles)
% hObject
handle to pushbutton1
% eventdata reserved - to be defined in a
%future version of MATLAB
% handles structure with handles and
%user data (see GUIDATA)
15
software application project:Create Thumbnail Winforms | Online Tutorials
Create Thumbnail; Generate Barcodes on Your Documents; Read Barcodes from Your Documents. Multi-page Tiff Processing; RasterEdge OCR Engine; PDF Reading; Encode
www.rasteredge.com
software application project:How to C#: Overview of Using XImage.Raster
Empower to navigate image(s) content quickly via thumbnail. Able to support text extract with OCR. You may edit the tiff document easily. Create Thumbnail.
www.rasteredge.com
Generating the Code
KEY IDEA TWO: You ll in the stub or callback with your own
code! VBA code for clicking on the Generate Histogram button.
numTrials = num_trials_scrollBar.Value
numBins = ListBox1.Value
ReDim values(numTrials)
Dim i As Long
For i = 1 To numTrials
values(i) = RandNorm(0, 1)
Next i
Dim chartName As String, fname As String
Call CreateHistogram("Histogram", numBins, values)
fname = ThisWorkbook.Path & "\temp.gif"
Worksheets("Histogram").ChartObjects(1).Chart.Export _
Filename:=fname, FilterName:="GIF"
Image1.Picture = LoadPicture(fname)
16
Generating the Code
KEY IDEA TWO: You ll in the stub or callback with your own
code! MATLAB code for clicking on the Generate Histogram
button.
function gen_Histogram_Callback(hObject, ...
eventdata, handles)
hist (randn(1, handles.num_trials),
...
handles.number_bins);
17
Generating the Code
KEY IDEA THREE: The code is executed when you \click" or
\change" a tool. This generates an event or callback.
VBA ScrollBar: the following code is generated when you move
the scroll bar.
Private Sub num_trials_scrollBar_Change()
slider_value.Text = num_trials_scrollBar.Value
End Sub
18
Generating the Code
KEY IDEA THREE: The code is executed when you \click" or
\change" a tool. This generates an event or callback.
MATLAB Slider: The following code is generated when you move
the slider.
function num_trials_slider_Callback(hObject, ...
eventdata, handles)
slider_value = get(hObject,’Value’)
handles.num_trials = floor( slider_value)
slider_value_Callback(hObject, eventdata, handles);
guidata(hObject,handles)
19
Generating the Code
KEY IDEA FOUR: You must get \data" from the tools.
Here is how to get the value of the VBA ScrollBar
(num
trials
scrollBar
Change is the name of the VBA
procedure called on the event)
num_trials_scrollBar.Value
Here is how to get the value of the MATLAB Slider
(num
trials
slider
Callback is the name of the MATLAB
function called on the event)
slider_value = get(hObject,’Value’)
20
Documents you may be interested
Documents you may be interested