The Single Feature Attachment control is used to include a particular image attachment in a report, such as the feature's first image attachment.
The control displays only image attachments.
For more information about the properties listed below, see Properties Common to Most Controls.
▪Actions: Align to Grid, Size to Grid, Center Horizontally, Center Vertically, Bring to Front, Send to Back, Fit Bounds to Container
▪Styles: Even Style, Odd Style, Style
▪Appearance: Background Color, Border Color, Border Dash Style, Border Width, Borders, Font Name, Font Size, Font Unit, Font Effects, Foreground Color, Padding
▪Behavior: Can Publish, Keep Together, Visible
▪Data: Tag
▪Design: Name
▪Layout: Location, Size
▪Navigation: Bookmark, Parent Bookmark, Navigation URL
For more information regarding each of the property groups, see the Control Reference.
Image Number |
Type: Int32 Specifies which image to use. The first image attachment is 1, the second is 2, and so on. The control does not count attachments that are not images. |
Image Quality |
Scales the quality of the image published in the control. The larger the image, the longer it will take to produce the report, and the larger the size of the report file will be. The Image Quality property provides options to scale down the quality of the image so that the report will generate more quickly and the size of the report file will be smaller. The options for this control include: ▪Original: If the image is larger than the control, the image is resized to fit the bounds of the control using the maximum resolution possible. If the image is smaller than the bounds of the control, the image is displayed using the resolution from the file. ▪High: The image is scaled to 300 dpi. ▪Medium: The image is scaled to 150 dpi. ▪Low: The image is scaled to 96 dpi. ▪Very Low: The image is scaled to 72 dpi. If the scale of the image is smaller than what is allowed by the bounds of the control, the image will not be scaled down any more. Image scale cannot be increased to make the image larger than the original file. |
Filter |
Filters the attachments based on the name and keywords of the attachments. The Filter supports a comma-separated list of case-sensitive terms to match, and the wildcard character (*). For example, to select all JPEG attachments with names that start with "signature", you could use the filter signature*.jpg, where the * represents zero or more characters. |
Can Grow |
Type: Boolean Sets whether the control's height can grow to display the contents at runtime. Enabled by default. If there are other controls below the selected control, they will be moved down to prevent overlapping. |
Can Shrink |
Type: Boolean Sets whether the control's height can decrease if the contents do not completely fill the control at runtime. If there are other controls below the current control, they will be moved up to remove the unused space. |
Right to Left |
Specifies the layout of the content within a report item. The options include: ▪Inherit: The item inherits the printing configuration set at the parent level. This is the default. ▪Yes: The content is aligned to the right. ▪No: The content is aligned to the left. |
Refer to the following resources for additional help on implementing this control:
▪Configure Feature Attachment Controls
▪Tech Tip: How to include feature attachments in VertiGIS Studio Reporting