ActiveReports.PdfExport Request technical support
HideWindowUI Property
See Also  Example


Gets or sets a value indicating whether to hide user interface elements in the documentas window (such as scroll bars and navigation controls), leaving only the documentas contents displayed.

Syntax

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

Return Value

Boolean.  The default value is False.

Example

C#Copy Code
privateAvoidAbtnExport_Click(objectAsender,ASystem.EventArgsAe)
{
AAAArptDataDynamicsArptA=AnewArptDataDynamics();
AAAADataDynamics.ActiveReports.Export.Pdf.PdfExportApA=AnewADataDynamics.ActiveReports.Export.Pdf.PdfExport();
AAAAp.Options.CenterWindowA=Atrue;
AAAAp.Options.DisplayTitleA=Atrue;
AAAAp.Options.HideMenubarA=Atrue;
AAAAp.Options.HideToolbarA=Atrue;
AAAAp.Options.HideWindowUIA=Atrue;
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.CenterWindowA=ATrue
AAAAAAAA.DisplayTitleA=ATrue
AAAAAAAA.HideMenubarA=ATrue
AAAAAAAA.HideToolbarA=ATrue
AAAAAAAA.HideWindowUIA=ATrue
AAAAEndAWith
AAAArpt.Run()
AAAAMe.Viewer1.DocumentA=Arpt.Document
AAAAp.Export(rpt.Document,AApplication.StartupPathA&A"\p.pdf")
EndASub

See Also