摘要 |
An ElementSnapshot control receives an element from windows presentation foundation (WPF) that is used to render a bitmap image. A determination is made by the control whether or not the bitmap image has been previously generated. If the bitmap image has been previously generated, the control retrieves the generated bitmap. If the image has not been previously generated, the control supplies the element to a native WPF class in order to generate the bitmap of the element. The generated bitmap is then rendered into a WPF scene. |