L_INT LAnnotation::GetShowStampBorder(pbShowStampBorder)
Gets a value indicating whether the bitmap stamp is displayed with a border.
Address of the variable to be updated with a value indicating whether the stamp object is displayed with a border. Possible values are:
Value | Meaning |
---|---|
TRUE | Show the border. |
FALSE | Do not show the border. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
Gets a value indicating whether the annotation stamp object (ANNOBJECT_STAMP) is displayed with a border. The LAnnotation::GetShowStampBorder function is valid only for the following object types when they are using a bitmap or a metafile:
Stamp (including the Rubber Stamp tools)
In addition, the Automation object stores this setting along with the other object default settings.
Call the LAnnotation::GetForeColor function to get the border color. Call the LAnnotation::GetLineWidth function to get the border width. By default the border width is .075 points.
Call the LAnnotation::SetShowStampBorder function to set such objects to display a border. By default the border color is red (0x00FF0000).
Note that the ANNOBJECT_STAMP can display text, a bitmap, or a metafile. If the stamp contains a bitmap or a metafile, use LAnnotation::SetShowStampBorder to show or hide the border. If the stamp contains text, use LAnnotation::SetText to show or hide the border.
Win32, x64.
For an example, refer to LAnnotation::SetShowStampBorder.
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