Gets a value that indicates how the Ruler, PolyRuler, Cross-Product, and Protractor objects created by the automation object will be displayed.
#include "ltwrappr.h"
virtual L_INT LAnnRuler::GetShowFlags(puShowFlags)
Address of the variable to be updated with the value that indicates how the rulers, cross-products, and protractors will be shown. Possible values contained in puShowFlags are:
Value | Meaning |
---|---|
0 | Do not display the ruler length or the ruler gauge or the tic marks. In this case, the ruler looks like a line. |
ANNSHOW_LENGTH | Display the ruler length. |
ANNSHOW_GAUGE | Display the ruler gauge. |
ANNSHOW_TICMARKS | Display the tic marks. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The default value for puShowFlags is:
Object | Default value |
---|---|
Protractor | 0 |
Ruler, PolyRuler, and Cross-Product | ANNSHOW_LENGTH | ANNSHOW_TICMARKS |
Win32, x64.
For an example, refer to LAnnRuler::GetDistance.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document