Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnAutomation::GetShowFlags

Show in webframe

#include "ltwrappr.h"

virtual L_INT LAnnAutomation::GetShowFlags(puShowFlags)

L_UINT * puShowFlags;

/* address of the variable to be updated */

Gets a value that indicates how the Ruler, PolyRuler, Cross-Product, and Protractor objects created by the automation object will be displayed.

Parameter

Description

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.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

For Protractor objects, the default value for uShowFlags is 0. For the Ruler, PolyRuler, and Cross-Product objects the default value for uShowFlags is ANNSHOW_LENGTH | ANNSHOW_TICMARKS.

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.

Platforms

Win32, x64.

See Also

Functions:

LAnnAutomation::SetShowFlags, LAnnotation::CalibrateRuler

Topics:

Annotation Functions: Object Properties

 

Annotation Objects - Default Values

 

Annotation Objects - Automated Features

 

Using Rulers in Annotation Objects

 

Key Annotation Features

 

Calibrating Annotation Ruler Objects

Example

For an example, refer to LAnnAutomation::SetNodes.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.