Creates an image representing the entire Organization Chart control.
// Saves the image of Organization Chart control
OrgSaveImage(ORG_Executive, "OrganizationChartImage.png")
// Print the image in a report (image passed as parameter)
iPrintReport(RPT_Org, "OrganizationChartImage.png")
Syntax
<Result> = OrgSaveImage(<Organization Chart control> , <Image name>)
<Result>: Boolean
- True if the image was created,
- False otherwise. ErrorInfo is used to identify the error.
<Organization Chart control>: Control name
Name of Organization Chart control whose image will be saved.
<Image name>: Character string
Name of the image file to create. The format of the image is deduced from the extension (".gif", ".BMP", ".png", ".jpg").
Remarks
The image created on disk is a representation of the entire organization chart. If scrollbars are found, the hidden areas are also included in the image. Therefore, this image can be large.