ReportViewer.InteractiveDeviceInfos 속성
ReportViewer 컨트롤이 보고서 영역의 보고서를 HTML로 렌더링하는 데 사용하는 DeviceInfoCollection 개체를 가져옵니다.
네임스페이스: Microsoft.Reporting.WebForms
어셈블리: Microsoft.ReportViewer.WebForms(Microsoft.ReportViewer.WebForms.dll)
구문
‘선언
<BrowsableAttribute(False)> _
Public Property InteractiveDeviceInfos As DeviceInfoCollection
Get
Private Set
‘사용 방법
Dim instance As ReportViewer
Dim value As DeviceInfoCollection
value = instance.InteractiveDeviceInfos
[BrowsableAttribute(false)]
public DeviceInfoCollection InteractiveDeviceInfos { get; private set; }
[BrowsableAttribute(false)]
public:
property DeviceInfoCollection^ InteractiveDeviceInfos {
DeviceInfoCollection^ get ();
private: void set (DeviceInfoCollection^ value);
}
[<BrowsableAttribute(false)>]
member InteractiveDeviceInfos : DeviceInfoCollection with get, private set
function get InteractiveDeviceInfos () : DeviceInfoCollection
private function set InteractiveDeviceInfos (value : DeviceInfoCollection)
속성 값
유형: Microsoft.Reporting.WebForms.DeviceInfoCollection
DeviceInfoCollection 개체
주의
InteractiveDeviceInfos 속성에서 장치 정보 설정을 추가하거나 제거하여 보고서 영역에서 보고서를 렌더링하는 방법을 지정할 수 있습니다. 이 속성의 장치 정보 설정은 보고서 영역에서 렌더링되는 보고서에만 적용되고, ReportViewer 사용자 인터페이스의 내보내기 기능에는 적용되지 않습니다. 예를 들어 내보내기 사용자 인터페이스를 사용하여 MHTML 형식으로 내보내는 서버 보고서에는 적용되지 않습니다.
PrefixId 및 HTMLFragment와 같은 특정 장치 정보 설정은 ReportViewer 컨트롤이 설정하며 재정의할 수 없습니다. 특정 설정은 ReportViewer 컨트롤의 멤버 속성이나 메서드를 통해 직접 설정할 수 있습니다. 예를 들어 Section 설정은 CurrentPage 속성을 사용하여 설정할 수 있으며, LinkTarget 설정은 HyperlinkTarget을 사용하여 설정할 수 있습니다. 이러한 설정을 컬렉션에 추가하려고 하면 ReportViewer 컨트롤이 ArgumentException을 throw합니다. 자세한 내용은 HTML Device Information Settings을 참조하십시오.
예
다음 예제에서는 렌더링된 보고서에서 테이블릭스에 대한 추가 HTML 태그를 생성하기 위해 AccessibleTablix 장치 정보를 InteractiveDeviceInfos 컬렉션에 추가합니다.
this.ReportViewer1.InteractiveDeviceInfos.Add("AccessibleTablix", "true");
Me.ReportViewer1.InteractiveDeviceInfos.Add("AccessibleTablix", "true")