Report.Render 메서드 (String)
보고서를 처리하고 지정된 형식으로 렌더링합니다.
네임스페이스: Microsoft.Reporting.WebForms
어셈블리: Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)
구문
‘선언
Public Function Render ( _
format As String _
) As Byte()
‘사용 방법
Dim instance As Report
Dim format As String
Dim returnValue As Byte()
returnValue = instance.Render(format)
public byte[] Render(
string format
)
public:
array<unsigned char>^ Render(
String^ format
)
member Render :
format:string -> byte[]
public function Render(
format : String
) : byte[]
매개 변수
- format
유형: System.String
보고서를 렌더링할 형식입니다. 이 매개 변수는 렌더링 확장 프로그램에 매핑됩니다.
로컬 처리 모드에서 지원되는 확장 프로그램은 Excel, PDF, Word 및 Image이며, 원격 처리 모드에서 지원되는 확장 프로그램은 보고서 서버에서 지원하는 확장 프로그램에 따라 다릅니다.
처리 모드(ProcessingMode 참조)에 따라 ServerReport 또는 LocalReport에서 ListRenderingExtensions 메서드를 사용하여 사용 가능한 렌더링 확장 프로그램의 목록에 액세스할 수 있습니다.
반환 값
유형: array<System.Byte[]
지정된 형식으로 된 보고서의 byte 배열