LEADTOOLS Raster Imaging C++ Class Library Help > Classes and Member Functions > LAnnStamp > LAnnStamp Member Functions > LAnnStamp::GetShowStampBorder |
#include "l_bitmap.h"
virtual L_INT LAnnStamp::GetShowStampBorder(pbShowStampBorder)
L_BOOL * pbShowStampBorder; |
/* address of the variable to be updated */ |
Gets a value indicating whether the bitmap stamp is displayed with a border.
NOTE: THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.
Parameter |
Description |
|
pbShowStampBorder |
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. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Gets a value indicating whether the annotation stamp object (ANNOBJECT_STAMP) is displayed with a border. The LAnnStamp::GetShowStampBorder function is valid only for the following object types when they are using a bitmap or a metafile:
In addition, the Automation object stores this setting along with the other object default settings.
Call the LAnnStamp::GetForeColor function to get the border color. Call the LAnnStamp::GetLineWidth function to get the border width. By default the border width is .075 points.
Call the LAnnStamp::SetShowStampBorder function to set such objects to display a border. By default the border color is red (0x00FF0000).
Note that the ANNOBJECT_STAMP enumeration can display text, a bitmap, or a metafile. If the stamp contains a bitmap or a metafile, use LAnnStamp::SetShowStampBorder to show or hide the border. If the stamp contains text, use LAnnStamp::SetText to show or hide the border.
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
LAnnStamp::SetShowStampBorder, LAnnStamp::GetText, LAnnStamp::SetText, LAnnStamp::SetBitmap, LAnnStamp::SetMetafile, LAnnStamp::GetForeColor, LAnnStamp::GetLineWidth |
Topics: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
For an example, refer to LAnnStamp::SetShowStampBorder.