ActiveReports.PdfExport Request technical support
DisplayMode Property
See Also  Example


Get or sets a value that specifies how the document should be displayed when it is opened.

Syntax

Visual Basic (Declaration) 
Public Property DisplayMode As DisplayMode
Visual Basic (Usage)Copy Code
Dim instance As PdfDocumentOptions
Dim value As DisplayMode
 
instance.DisplayMode = value
 
value = instance.DisplayMode
C# 
public DisplayMode DisplayMode {get; set;}

Return Value

DisplayMode enumeration.  The default value is None.

Example

C#Copy Code
privateAvoidAbtnExport_Click(objectAsender,ASystem.EventArgsAe)
{
AAAArptDataDynamicsArptA=AnewArptDataDynamics();
AAAADataDynamics.ActiveReports.Export.Pdf.PdfExportApA=AnewADataDynamics.ActiveReports.Export.Pdf.PdfExport();
AAAAp.Options.DisplayModeA=ADataDynamics.ActiveReports.Export.Pdf.DisplayMode.Thumbs;
AAAArpt.Run();
AAAAthis.arv.DocumentA=Arpt.Document;
AAAAp.Export(rpt.Document,AApplication.StartupPathA+A"\\p.pdf");
}
Visual BasicCopy Code
PrivateASubAbtnExport_Click(ByValAsenderAAsASystem.Object,AByValAeAAsASystem.EventArgs)AHandlesAButton2.Click
AAAADimArptAAsANewArptDD
AAAADimApAAsANewADataDynamics.ActiveReports.Export.Pdf.PdfExport
AAAAWithAp.Options
AAAAAAAA.DisplayModeA=ADataDynamics.ActiveReports.Export.Pdf.DisplayMode.Thumbs
AAAAEndAWith
AAAArpt.Run()
AAAAMe.Viewer1.DocumentA=Arpt.Document
AAAAp.Export(rpt.Document,AApplication.StartupPathA&A"\p.pdf")
EndASub

See Also