Reports Information : Parts Reference : Report Image Field : Report Image Field attributes
Report Image Field attributes
The Report Image Field part has the following attributes associated with it:
height
image
width
x
y
 
backgroundColor
The backgroundColor attribute is the name of the RGB color for the background of the part.
Note:
You cannot change the background color of a column. This attribute is ignored for the Container Details Column part. This attribute is also ignored for a report viewer.
fontName
The fontName attribute is the name of the font to use for the text displayed in the part.
foregroundColor
The foregroundColor attribute is the name of the RGB color for the foreground of the part.
graphicsDescriptor
The graphicsDescriptor attribute is an icon, bitmap, or image that is used instead of text for the label. The labelType attribute must be XmPIXMAP or the graphicsDescriptor attribute is ignored.
height
The height attribute specifies the height an element in a Report Free Form Line.
image
The image attribute represents the graphic image to be printed in the report.
includeFrame
The includeFrame attribute specifies whether or not to include a frame around the image field. Set this attribute to true to include the frame or to false to omit it.
justification
The justification attribute determines how the contents of the part are aligned.
The initial values for this part are set on the settings view for the part.
self
The self attribute represents the part itself, and you cannot change the basic definition of a part. In general, the self attribute is a read-only attribute, and is used for passing a value or values to another part. It is not used for receiving any values.
For example, you can connect the self attribute of an Ordered Collection part to the items attribute of a List part. The Ordered Collection part does not change to a different type of part because of the connection. Instead, the Ordered Collection part populates the List part with the items that it contains.
You can use the self attribute in an attribute-to-attribute connection, as a parameter in an event-to-action connection, or wherever an attribute can be used.
sizeEffects
The sizeEffects attribute indicates how to handle text that is longer than the part that contains it. This attribute can be set using the constant values from the CoConstants pool dictionary as follows:
CoImageClip
Clips the image
CoImageResizeProportional
Fits the image proportionally to be fully visible
CoImageResizeIndependent
Fits the image to fully occupy the field
CoSizeToImage
Sizes the field to the size of the image
unitTypeSelected
The unitTypeSelected attribute refers to the unit of measurement for setting margins and field sizes in a report. You can choose from the following:
Points
Inches
Centimeters
Pixels
verticalJustification
The verticalJustification attribute indicates how to align an image within the Report Image Field.
width
The width attribute refers to the width (in units set by the unitTypeSelected attribute) of the part.
x
The x attribute represents the number of units from the left margin to indent the part.
y
The y attribute indicates the y coordinates for the element in a Report Free Form Line.
Last modified date: 01/29/2015