<GetStart>
CSPro User's Guide
The CSPro System
Data Dictionary Module
The CSPro Language
Data Entry Module
Batch Editing Applications
Tabulation Applications
Data Sources
CSPro Statements and Functions
Statement Format Symbols
Alphabetical List of Functions and Statements
List of Reserved Words
Deprecated Features
Declaration Statements
Symbol Functions
Item Functions
Array Object
Audio Object
Barcode and QR Codes
Case Object
Document Object
File Object
Freq Object
Geometry Object
HashMap Object
Image Object
Image Statement
Image.load Function
Image.save Function
Image.width Function
Image.height Function
Image.resample Function
Image.createQRCode Function
Image.takePhoto Function
Image.captureSignature Function
Image.view Function
Image.clear Function
List Object
Map Object
Path
Pff Object
SystemApp Object
ValueSet Object
Program Control Statements
Assignment Statements
Data Entry Statements and Functions
Batch Edit Statements
Numeric Functions
String Functions
Multiple Occurrence Functions
General Functions
Date and Time Functions
External File Functions
Synchronization Functions
Templated Reporting System
HTML and JavaScript Integration
Action Invoker
Appendix
<CSEntry>
<CSBatch>
<CSTab>
<DataViewer>
<TextView>
<TblView>
<CSFreq>
<CSDeploy>
<CSPack>
<CSDiff>
<CSConcat>
<Excel2CSPro>
<CSExport>
<CSIndex>
<CSReFmt>
<CSSort>
<ParadataConcat>
<ParadataViewer>
<CSCode>
<CSDocument>
<CSView>
<CSWeb>
Image.clear Function
Format
b = image_name.
clear
();
Description
The
Image
.
clear
function clears the contents of the
Image
object, resulting in the object not holding any image.
Return Value
The function returns a logical value of
1
(
true
) on success, or
0
(
false
) if called on an occurrence of a
binary dictionary item
that does not exist.
Example
Image
tree_photo;
// ... load or take photo
tree_photo.
view
();
when
accept
(
"Are you satisfied with the photo of the tree?"
,
"Yes"
,
"No"
);
1
-> tree_photo.
save
(
"Tree Photo.jpg"
);
2
-> tree_photo.
clear
();
endwhen
;
See also
:
Image Object