L_AnnGetLineFixedWidth

Summary

Gets a value that indicates whether the line width changes with scaling.

Syntax

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnGetLineFixedWidth (hObject, pbLineFixedWidth)

Parameters

HANNOBJECT hObject

Handle to the annotation object

L_BOOL *pbLineFixedWidth

Pointer to a variable to be updated with a value that indicates whether the line width changes with scaling. Possible values are:

Value Meaning
TRUE The line width does not change with scaling.
FALSE The line width changes with scaling. This is the default value.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

The line width of an object is relative to its container object, and the value is interpreted using the container's scaling factors. As a result, when zooming in the line width increases, and when zooming out the line width decreases. This is the default behavior.

In some cases it might be preferable to have the line width of an annotation object remain constant, regardless of the amount of scaling (zooming). To do this, call L_AnnSetLineFixedWidth function with the bLineFixedWidth parameter set to TRUE.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

For an example, refer to L_AnnSetLineFixedWidth.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.