ComponentOne List 8.0 for ActiveX
AnnotatePicture Property

 

True DBList Reference> TDBList Properties> AnnotatePicture Property

AnnotatePicture Property

Syntax

valueitems.AnnotatePicture= boolean

Remarks

Read/Write at run time and design time.

Property applies to ValueItems collection.

This property determines whether the column associated with a ValueItems collection can display both text and graphics in a single cell.

If True, both text and graphics are displayed in a cell when all of the following conditions are met:

·      The Presentation property of the ValueItems collection is set to any value except 1 - Radio Button.

·      The Translate property of the ValueItems collection is set to True.

·      The underlying data value for a cell matches the Value property of a ValueItem member.

·      The corresponding DisplayValue contains a bitmap, not text.

If False (the default), matching cells are rendered as the Value or DisplayValue setting, depending upon the value of the Translate property.

When both text and graphics are displayed, the horizontal placement of the bitmap with respect to the cell text is determined by the Alignment and ForegroundPicturePosition properties of the column's Style object. For example, if Alignment is set to 2 - Center, and ForegroundPicturePosition is set to 0 - Left, the bitmap is placed at the left edge of the cell, and the cell text is centered in the remaining space. For more information, see Displaying foreground pictures.

When editing, the editor uses all space available in the text portion of the cell. If the Presentation property is set to one of the combo box options, the bitmap will not change until editing is completed.

Use the ValueItems property to access the ValueItems collection for a Column object.

See Also

ValueItem Object, ValueItems Collection

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback