Za pomocą klasy RenderedOutputFile dla rozszerzenie usługi dostarczania
The RenderedOutputFile class represents a data stream and information about the data stream's associated properties.The Data właściwość of the RenderedOutputFile class is used to represent a renderowany raport or report zasób as a Stream object.
The Render(String, String) metoda of the Report object returns an array of one or more RenderedOutputFile objects that together constitute a single renderowany raport. Pierwszy RenderedOutputFile obiekt jest renderowany raport. Wszystkie inne RenderedOutputFile obiekty są zasoby, które muszą być dostarczone wraz z danymi raportu (na przykład plik HTML i obrazy związane). Renderowanie rozszerzeń, które są rozszerzeniami jeden strumień renderowania (IMAGE, PDF, MHTML i EXCEL) zwrócić tylko jeden RenderedOutputFile obiekt w tablicy.
Przykład użycia RenderedOutputFile klasy, zobacz Sample Printer Delivery Extension.
See Also